relayer-registry/migrations/1_deploy_registry.js

11 lines
314 B
JavaScript

/* global artifacts */
const RelayerRegistry = artifacts.require('RelayerRegistry')
module.exports = function (deployer, network, accounts) {
return deployer.then(async () => {
const registry = await deployer.deploy(RelayerRegistry, accounts[0])
console.log('Registry :', registry.address)
})
}