We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83e8647 commit b9dae0bCopy full SHA for b9dae0b
scripts/addNetwork.ts
@@ -1,4 +1,5 @@
1
const networks = require('../src/networks.json');
2
+import { getAddress } from '@ethersproject/address';
3
4
if (process.argv.length < 7) {
5
console.log(
@@ -10,7 +11,7 @@ if (process.argv.length < 7) {
10
11
const args = process.argv.slice(2);
12
const chainId = args[0];
13
const explorer = args[1];
-const multicall = args[2];
14
+const multicall = getAddress(args[2]);
15
const start = args[3];
16
const logo = args[4];
17
const networkName = args[5];
0 commit comments