Skip to content

Instantly share code, notes, and snippets.

@yurenju
Created October 15, 2019 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yurenju/aab2590b2aee241423fac70feeaa1624 to your computer and use it in GitHub Desktop.
Save yurenju/aab2590b2aee241423fac70feeaa1624 to your computer and use it in GitHub Desktop.
async function mint() {
const mintValue = 200;
console.log(chalk.green(`Minting ${mintValue} to Bob`));
const tx = await bob.signers.erc20.mint(bob.address, mintValue);
await tx.wait();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment