Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txnbuild: add helpers for constructing transactions to send payments to contracts #5626

Open
tamirms opened this issue Mar 17, 2025 · 2 comments · May be fixed by #5642
Open

txnbuild: add helpers for constructing transactions to send payments to contracts #5626

tamirms opened this issue Mar 17, 2025 · 2 comments · May be fixed by #5642

Comments

@tamirms
Copy link
Contributor

tamirms commented Mar 17, 2025

Currently it's very easy to use txnbuild to send a payment to another account. However, it's not as straightforward to send payments to recipients which are smart contracts.

We should update txnbuild to support constructing SAC payments. The auth and resource / fee values should be hardcoded so that we can construct the the invoke host operation without requiring RPC's simulateTransaction endpoint.

See lightsail-network/java-stellar-sdk#677 and StellarCN/py-stellar-base#1023 for examples of how this functionality was implemented for the java and python SDKs

@tamirms
Copy link
Contributor Author

tamirms commented Mar 17, 2025

cc @marcelosalloum

@tamirms tamirms added this to the platform sprint 57 milestone Mar 17, 2025
@Shaptic
Copy link
Contributor

Shaptic commented Mar 17, 2025

Opened stellar/js-stellar-base#792 to track JS work for this.

@tamirms tamirms self-assigned this Mar 24, 2025
@tamirms tamirms moved this from To Do to In Progress in Platform Scrum Mar 24, 2025
@mollykarcher mollykarcher moved this from In Progress to Needs Review in Platform Scrum Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Review
Development

Successfully merging a pull request may close this issue.

3 participants