Skip to content

Instantly share code, notes, and snippets.

@owenkellogg
Created December 17, 2022 09:55
Show Gist options
  • Save owenkellogg/36137225e20f5cbde160e0f62263cb93 to your computer and use it in GitHub Desktop.
Save owenkellogg/36137225e20f5cbde160e0f62263cb93 to your computer and use it in GitHub Desktop.
Stag Wallet Relayx Issue Run Token Fungible Coin
import { wrapRelayx } from 'stag-relayx'
async function issueTokens() {
const stag = wrapRelayx(window.relayx)
const { txid, txhex } = await stag.run.ft.issue({
symbol: 'DEV',
name: 'My Personal Developer Token',
decimals: 8,
supply: 21_000_000,
metadata: {}
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment