Last active
March 14, 2018 23:56
-
-
Save devonwesley/2d4da526af3c8818c7ba772dbe76f46f to your computer and use it in GitHub Desktop.
Deployment script for the Wallet and WalletLibrary contracts.
This file contains 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
const WalletLibrary = artifacts.require("./WalletLibrary.sol"); | |
const Wallet = artifacts.require("./Wallet.sol"); | |
module.exports = function(deployer, network, accounts) { | |
deployer | |
.deploy(WalletLibrary) | |
.then(() => | |
deployer.deploy(Wallet, WalletLibrary.address, accounts[0]) | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment