Created
June 9, 2020 13:40
-
-
Save KardanovIR/e6d6d061975f1fbf0f76b6356b565fb8 to your computer and use it in GitHub Desktop.
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
| const adminSeed = '...'; | |
| const issueTx = issue({ | |
| name: `Thanks`, | |
| description: 'Say thank you to all of your teammates in Slack. By Billy.', | |
| decimals: 0, | |
| quantity: 100000000, | |
| reissuable: false | |
| }, adminSeed); | |
| await broadcast(issueTx); | |
| await waitForTx(issueTx.id); | |
| const sponsorshipTx = sponsorship({ | |
| assetId: issueTx.id, | |
| minSponsoredAssetFee: 1 | |
| }, adminSeed); | |
| await broadcast(sponsorshipTx); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment