Created
October 2, 2025 17:07
-
-
Save janewang/3debad7a2a2bf1bb422e4fe74ca7c923 to your computer and use it in GitHub Desktop.
Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Create an issuer | |
| ➜ ~ stellar env | |
| STELLAR_NETWORK=mainnet # use | |
| ➜ ~ stellar network use testnet | |
| ℹ️ The default network is set to `testnet` | |
| ➜ ~ stellar keys generate issuer | |
| ✅ Key saved with alias issuer in "/Users/janewang/.config/soroban/identity/issuer.toml" | |
| ➜ ~ stellar keys ls | |
| issuer | |
| ➜ ~ stellar keys fund issuer | |
| ✅ Account issuer funded on "Test SDF Network ; September 2015" | |
| ➜ ~ stellar tx new set-options --source-account issuer --set-revocable --set-clawback-enabled | |
| ℹ️ Signing transaction: 0c5a89f71d9b6b06435a86d8a265f9c264ea9deb221c01b1f7f6797eddf65005 | |
| ➜ ~ stellar contract asset deploy --asset GOGO:issuer --source-account issuer --alias gogo-contract | |
| ℹ️ Signing transaction: 101e32742b887b7d027e9f6dd7ba484200528b26316624345bbd10138db95947 | |
| CC5OK3MNEGQJWE5PIDYFUYUMR66ADKHGJ266H5INODQIBVOACNEM3ND6 | |
| // This is a built in contract | |
| ----- now let's create an recipient | |
| ➜ ~ stellar keys generate recipient | |
| ✅ Key saved with alias recipient in "/Users/janewang/.config/soroban/identity/recipient.toml | |
| ➜ ~ stellar keys fund recipient | |
| ✅ Account recipient funded on "Test SDF Network ; September 2015" | |
| ^ Must fund a key before it exists | |
| ➜ stellar tx new change-trust --source-account recipient --line GOGO:issuer | |
| ℹ️ Signing transaction: ec37e2e7b4be2d7025db9dd6ca83e73646c6f9d64d69b82eeee35d4a951ac20e | |
| stellar tx new payment --source issuer --destination recipient --asset GOGO:issuer --amount 1 | |
| ℹ️ Signing transaction: a48376914fcf426a62db8e7502ba5727f7503750a63e6bf0338d25ba4720c35d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment