Last active
August 6, 2021 11:30
-
-
Save percybolmer/06c771124e49df51ba223e68d4435290 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
// 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