Last active
August 6, 2021 11:30
-
-
Save percybolmer/18de67880d24830e678a41cebf08d265 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"); | |
const Ownable = artifacts.require('Ownable') | |
// 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() | |
await deployer.deploy(Ownable); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment