2022-01-26 08:15:10 -08:00
|
|
|
// run with:
|
|
|
|
// npm run deploy-bridge-implementation-only
|
|
|
|
// e.g. Ethereum Mainnet
|
|
|
|
// INFURA_KEY="" MNEMONIC="" npm run deploy-bridge-implementation-only -- --network mainnet
|
|
|
|
// e.g. BSC
|
|
|
|
// MNEMONIC="" npm run deploy-bridge-implementation-only -- --network binance
|
|
|
|
// e.g. Polygon
|
|
|
|
// MNEMONIC="" npm run deploy-bridge-implementation-only -- --network polygon
|
|
|
|
const BridgeImplementation = artifacts.require("BridgeImplementation");
|
2022-03-30 21:32:27 -07:00
|
|
|
module.exports = async function(deployer, network) {
|
|
|
|
if (network === "test") return;
|
2022-01-26 08:15:10 -08:00
|
|
|
await deployer.deploy(BridgeImplementation);
|
|
|
|
};
|