java-tutorials/web3j/dev_truffle/migrations/2_deploy_contracts.js
Thoughtscript 21bd180c1c BAEL-1461
2018-04-19 05:37:34 +01:00

9 lines
239 B
JavaScript

const Example = artifacts.require("./Example.sol"),
ConvertLib = artifacts.require("./ConvertLib.sol");
module.exports = deployer => {
deployer.deploy(ConvertLib);
deployer.link(ConvertLib, Example);
deployer.deploy(Example);
};