Skip to content

Instantly share code, notes, and snippets.

@marciok
Created August 1, 2017 13:22
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 marciok/d1a726e9d103b2365a5fea7feb1b0b47 to your computer and use it in GitHub Desktop.
Save marciok/d1a726e9d103b2365a5fea7feb1b0b47 to your computer and use it in GitHub Desktop.
var ConvertLib = artifacts.require("./ConvertLib.sol");
var MetaCoin = artifacts.require("./MetaCoin.sol");
var Friendship = artifacts.require("./Friendship.sol");
module.exports = function(deployer) {
deployer.deploy(ConvertLib);
deployer.link(ConvertLib, MetaCoin);
deployer.deploy(MetaCoin);
deployer.deploy(Friendship, 10000000000000000000000); // Passing the total amount of coins, since our initializer method requires
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment