@instadapp/avocado-base 0.2.9 → 0.3.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/network.ts +21 -21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@instadapp/avocado-base",
3
3
  "type": "module",
4
- "version": "0.2.9",
4
+ "version": "0.3.2",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "global.d.ts",
7
7
  "engines": {
package/utils/network.ts CHANGED
@@ -81,7 +81,7 @@ const sonic = defineChain({
81
81
  blockExplorers: {
82
82
  default: {
83
83
  name: 'Sonic Explorer',
84
- url: 'https://explorer.soniclabs.com',
84
+ url: 'https://sonicscan.org',
85
85
  },
86
86
  },
87
87
  testnet: false,
@@ -115,8 +115,8 @@ export const networks: Network[] = [
115
115
  params: {
116
116
  chainName: 'Matic(Polygon) Mainnet',
117
117
  nativeCurrency: {
118
- name: 'Matic',
119
- symbol: 'MATIC',
118
+ name: 'POL (ex-MATIC)',
119
+ symbol: 'POL',
120
120
  decimals: 18,
121
121
  },
122
122
  rpcUrls: ['https://polygon-rpc.com'],
@@ -534,24 +534,24 @@ export const networks: Network[] = [
534
534
  viemChain: linea,
535
535
  ankrName: 'linea',
536
536
  },
537
- {
538
- name: sonic.name,
539
- chainId: sonic.id,
540
- explorerUrl: sonic.blockExplorers.default.url,
541
- legacySupported: false,
542
- viemChain: sonic,
543
- color: '#78d64b',
544
- apiURL: null,
545
- fakeTransactionHash: '0xc8fe01a980987295c36e898b4681fa8c937eb8dfd48a3ae080956b36a66195ee',
546
- get serverRpcUrl() {
547
- return process.env?.SONIC_RPC_URL || this.params.rpcUrls[0]
548
- },
549
- params: {
550
- rpcUrls: sonic.rpcUrls.default.http as any,
551
- chainName: sonic.name,
552
- nativeCurrency: sonic.nativeCurrency,
553
- },
554
- },
537
+ // {
538
+ // name: sonic.name,
539
+ // chainId: sonic.id,
540
+ // explorerUrl: sonic.blockExplorers.default.url,
541
+ // legacySupported: false,
542
+ // viemChain: sonic,
543
+ // color: '#78d64b',
544
+ // apiURL: null,
545
+ // fakeTransactionHash: '0xc8fe01a980987295c36e898b4681fa8c937eb8dfd48a3ae080956b36a66195ee',
546
+ // get serverRpcUrl() {
547
+ // return process.env?.SONIC_RPC_URL || this.params.rpcUrls[0]
548
+ // },
549
+ // params: {
550
+ // rpcUrls: sonic.rpcUrls.default.http as any,
551
+ // chainName: sonic.name,
552
+ // nativeCurrency: sonic.nativeCurrency,
553
+ // },
554
+ // },
555
555
  // {
556
556
  // name: "Manta Pacific",
557
557
  // chainId: 169,