deploy mb testnet

This commit is contained in:
owen05
2021-04-27 14:45:09 +08:00
parent 6b60447165
commit 9832f030af
5 changed files with 149 additions and 21 deletions

View File

@@ -3,6 +3,7 @@ const { BSC_CONFIG } = require("./config/bsc-config");
const { HECO_CONFIG } = require("./config/heco-config");
const { KOVAN_CONFIG } = require("./config/kovan-config");
const { MBTEST_CONFIG } = require("./config/mbtest-config");
const { MBTESTNET_CONFIG } = require("./config/mbtestnet-config");
const { OKTEST_CONFIG } = require("./config/oktest-config");
const { ARBTEST_CONFIG } = require("./config/arbtest-config");
@@ -28,6 +29,11 @@ exports.GetConfig = function (network, accounts) {
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;
case "mbtestnet_offical":
CONFIG = MBTESTNET_CONFIG
CONFIG.multiSigAddress = accounts[0]
CONFIG.defaultMaintainer = accounts[0]
break;
case "oktest":
CONFIG = OKTEST_CONFIG
CONFIG.multiSigAddress = accounts[0]