This commit is contained in:
owen05
2021-06-01 21:18:35 +08:00
parent e29a88c60f
commit 4facf65919
5 changed files with 124 additions and 4 deletions

View File

@@ -7,6 +7,7 @@ const { MBTESTNET_CONFIG } = require("./config/mbtestnet-config");
const { OKTEST_CONFIG } = require("./config/oktest-config");
const { ARBTEST_CONFIG } = require("./config/arbtest-config");
const { MATIC_CONFIG } = require("./config/matic-config");
const { ARB_CONFIG } = require("./config/arb-config");
exports.GetConfig = function (network, accounts) {
var CONFIG = {}
@@ -24,6 +25,9 @@ exports.GetConfig = function (network, accounts) {
case "matic":
CONFIG = MATIC_CONFIG
break;
case "arb":
CONFIG = ARB_CONFIG
break;
//testnet
case "kovan":
CONFIG = KOVAN_CONFIG