Skip to content

Instantly share code, notes, and snippets.

@percybolmer
Last active August 6, 2021 11:30
Show Gist options
  • Save percybolmer/06c771124e49df51ba223e68d4435290 to your computer and use it in GitHub Desktop.
Save percybolmer/06c771124e49df51ba223e68d4435290 to your computer and use it in GitHub Desktop.
// Make sure the DevToken contract is included by requireing it.
const DevToken = artifacts.require("DevToken");
// THis is an async function, it will accept the Deployer account, the network, and eventual accounts.
module.exports = async function (deployer, network, accounts) {
// await while we deploy the DevToken
await deployer.deploy(DevToken, "DevToken", "DVTK", 18, "50000000000000000000000");
const devToken = await DevToken.deployed()
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment