HomePhabricator

[ecash-agora] Add a helper function to prepare agora listings for ecash-wallet

Description

[ecash-agora] Add a helper function to prepare agora listings for ecash-wallet

Summary:
Add new getAgoraPaymentAction function to ecash-agora, to prepare a payment.Action that ecash-wallet can use to broadcast a valid agora tx.

For now, we only support ALP AgoraPartial 'LIST' actions. But we add and test error handling for other actions, so that we have an easy way to extend functionality.

Looked at adding this kind of support directly into ecash-wallet, but I think this kind of approach is best for preserving the modularity / optionality of agora features while also allowing full agora support in ecash-wallet.

Test Plan: npm test, CI integration tests

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D18673

Details

Provenance
bytesofmanAuthored on Sep 23 2025, 20:54
bytesofmanPushed on Sep 24 2025, 13:38
Reviewer
Restricted Project
Differential Revision
D18673: [ecash-agora] Add a helper function to prepare agora listings for ecash-wallet
Parents
rABCe80628d4be1e: [cashtab, ecash-herald] Patch CI docker builds by removing now-deprecated ecash…
Branches
Unknown
Tags
Unknown