Skip to content

Instantly share code, notes, and snippets.

@devonwesley
Last active March 14, 2018 23:56
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 devonwesley/2d4da526af3c8818c7ba772dbe76f46f to your computer and use it in GitHub Desktop.
Save devonwesley/2d4da526af3c8818c7ba772dbe76f46f to your computer and use it in GitHub Desktop.
Deployment script for the Wallet and WalletLibrary contracts.
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