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

feat(example): add gmp example scripts #433

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ahramy
Copy link
Contributor

@ahramy ahramy commented Nov 14, 2024

@ahramy ahramy requested a review from a team as a code owner November 14, 2024 20:57
#### GMP - Send

```bash
node stellar/gmp.js send [destination-chain] [destination-address] [payload] [gas-token-address] [gas-fee-amount]
Copy link
Contributor Author

@ahramy ahramy Nov 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: approve should be done before executing the gmp call
soroban contract invoke --network testnet --id CDLZFC3SYJYDZT7K67VZ75HPJVIEUVNIXF47ZG2FB2RMQQVU2HHGCYSC --source-account wallet -- approve --from $CALLER_ADDRESS --expiration_ledger 3110400 --spender $GAS_SERVICE --amount 100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant