@instadapp/avocado-base 0.0.99 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/metadata.ts +1 -0
- package/utils/network.ts +20 -20
package/package.json
CHANGED
package/utils/metadata.ts
CHANGED
package/utils/network.ts
CHANGED
|
@@ -419,26 +419,26 @@ export const networks: Network[] = [
|
|
|
419
419
|
},
|
|
420
420
|
},
|
|
421
421
|
},
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
422
|
+
{
|
|
423
|
+
chainId: 34443,
|
|
424
|
+
name: "Mode",
|
|
425
|
+
color: "#d7ff00",
|
|
426
|
+
explorerUrl: 'https://explorer.mode.network',
|
|
427
|
+
fakeTransactionHash: '0xb58002db3481f2c51855a91280ec940d0bebec075c4b362b9f90c21a2b14edbe',
|
|
428
|
+
params: {
|
|
429
|
+
rpcUrls: ["https://1rpc.io/mode"],
|
|
430
|
+
chainName: "Mode",
|
|
431
|
+
nativeCurrency: {
|
|
432
|
+
name: "Ethereum",
|
|
433
|
+
symbol: "ETH",
|
|
434
|
+
decimals: 18,
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
get serverRpcUrl() {
|
|
438
|
+
return process.env?.MODE_RPC_URL || this.params.rpcUrls[0];
|
|
439
|
+
},
|
|
440
|
+
viemChain: mode,
|
|
441
|
+
},
|
|
442
442
|
// {
|
|
443
443
|
// name: "Manta Pacific",
|
|
444
444
|
// chainId: 169,
|