mirror of
https://github.com/tornadocash/tornado-nova
synced 2024-02-02 14:53:56 +01:00
12 lines
405 B
JavaScript
12 lines
405 B
JavaScript
|
/* global artifacts */
|
||
|
const Verifier = artifacts.require('Verifier')
|
||
|
const TornadoPool = artifacts.require('TornadoPool')
|
||
|
|
||
|
module.exports = function(deployer, network, accounts) {
|
||
|
return deployer.then(async () => {
|
||
|
const verifier = await Verifier.deployed()
|
||
|
const tornado = await deployer.deploy(TornadoPool, verifier.address)
|
||
|
console.log('TornadoPool\'s address ', tornado.address)
|
||
|
})
|
||
|
}
|