lazy-snark/truffle/migrations/2_deploy_lazy.js

13 lines
383 B
JavaScript
Raw Normal View History

2019-06-22 19:29:10 +03:00
var Verifier = artifacts.require('Verifier');
2019-06-22 19:10:54 +03:00
var VerifierProxy = artifacts.require('VerifierProxy');
2019-06-22 17:33:56 +03:00
var Lazy = artifacts.require('Lazy');
2019-06-22 19:10:54 +03:00
module.exports = async function(deployer, network, accounts) {
deployer.then(async() => {
await deployer.deploy(Verifier)
await deployer.deploy(VerifierProxy, Verifier.address)
await deployer.deploy(Lazy, VerifierProxy.address)
})
}