Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
feat: update SKALE Network Chains (#429)
Browse files Browse the repository at this point in the history
* Add Multicall Contracts to Hub Chains

* Add Websocket Endpoints for SKALE Mainnet Chains

* Add Websocket Endpoints for SKALE Testnet Chains

* Add Block Brawlers Chain Websocket Endpoint (Mainnet)

* Fix Explorer key name from etherscan -> blockscout

* Added Changeset

* Run Linter

* Update spotty-stingrays-count.md

---------

Co-authored-by: jxom <[email protected]>
  • Loading branch information
TheGreatAxios and jxom authored Jul 24, 2023
1 parent 131a337 commit baf3143
Show file tree
Hide file tree
Showing 16 changed files with 132 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/spotty-stingrays-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Updated SKALE Network Chains with WebSocket RPC URLs and Multicall addresses.
4 changes: 3 additions & 1 deletion packages/chains/src/skale/brawl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleBlockBrawlers = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/frayed-decent-antares'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/frayed-decent-antares'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://frayed-decent-antares.explorer.mainnet.skalenodes.com',
},
Expand Down
15 changes: 13 additions & 2 deletions packages/chains/src/skale/calypso.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ export const skaleCalypso = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague',
],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com',
},
Expand All @@ -23,5 +29,10 @@ export const skaleCalypso = {
url: 'https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 3107626,
},
},
} as const satisfies Chain
15 changes: 13 additions & 2 deletions packages/chains/src/skale/calypsoTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ export const skaleCalypsoTestnet = {
http: [
'https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar',
],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-utter-unripe-menkar',
],
},
public: {
http: [
'https://staging-v3.skalenodes.com/v1/staging-utter-unripe-menkar',
],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-utter-unripe-menkar',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com',
},
Expand All @@ -27,6 +33,11 @@ export const skaleCalypsoTestnet = {
url: 'https://staging-utter-unripe-menkar.explorer.staging-v3.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2131424,
},
},
testnet: true,
} as const satisfies Chain
15 changes: 13 additions & 2 deletions packages/chains/src/skale/chaosTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ export const skaleChaosTestnet = {
http: [
'https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix',
],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-fast-active-bellatrix',
],
},
public: {
http: [
'https://staging-v3.skalenodes.com/v1/staging-fast-active-bellatrix',
],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-fast-active-bellatrix',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com',
},
Expand All @@ -27,6 +33,11 @@ export const skaleChaosTestnet = {
url: 'https://staging-fast-active-bellatrix.explorer.staging-v3.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 1192202,
},
},
testnet: true,
} as const satisfies Chain
8 changes: 7 additions & 1 deletion packages/chains/src/skale/cryptoBlades.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ export const skaleCryptoBlades = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux',
],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com',
},
Expand Down
4 changes: 3 additions & 1 deletion packages/chains/src/skale/cryptoColosseum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleCryptoColosseum = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/haunting-devoted-deneb'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/haunting-devoted-deneb'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com',
},
Expand Down
11 changes: 9 additions & 2 deletions packages/chains/src/skale/europa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleEuropa = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/elated-tan-skat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/elated-tan-skat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://elated-tan-skat.explorer.mainnet.skalenodes.com',
},
Expand All @@ -23,5 +25,10 @@ export const skaleEuropa = {
url: 'https://elated-tan-skat.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 3113495,
},
},
} as const satisfies Chain
15 changes: 13 additions & 2 deletions packages/chains/src/skale/europaTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ export const skaleEuropaTestnet = {
rpcUrls: {
default: {
http: ['https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor'],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-legal-crazy-castor',
],
},
public: {
http: ['https://staging-v3.skalenodes.com/v1/staging-legal-crazy-castor'],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-legal-crazy-castor',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com',
},
Expand All @@ -23,6 +29,11 @@ export const skaleEuropaTestnet = {
url: 'https://staging-legal-crazy-castor.explorer.staging-v3.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2071911,
},
},
testnet: true,
} as const satisfies Chain
4 changes: 3 additions & 1 deletion packages/chains/src/skale/exorde.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleExorde = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/light-vast-diphda'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/light-vast-diphda'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://light-vast-diphda.explorer.mainnet.skalenodes.com',
},
Expand Down
4 changes: 3 additions & 1 deletion packages/chains/src/skale/humanProtocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleHumanProtocol = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/wan-red-ain'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/wan-red-ain'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/wan-red-ain'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/wan-red-ain'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://wan-red-ain.explorer.mainnet.skalenodes.com',
},
Expand Down
11 changes: 9 additions & 2 deletions packages/chains/src/skale/nebula.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleNebula = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/green-giddy-denebola'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/green-giddy-denebola'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://green-giddy-denebola.explorer.mainnet.skalenodes.com',
},
Expand All @@ -23,5 +25,10 @@ export const skaleNebula = {
url: 'https://green-giddy-denebola.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2372986,
},
},
} as const satisfies Chain
15 changes: 13 additions & 2 deletions packages/chains/src/skale/nebulaTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ export const skaleNebulaTestnet = {
rpcUrls: {
default: {
http: ['https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird'],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird',
],
},
public: {
http: ['https://staging-v3.skalenodes.com/v1/staging-faint-slimy-achird'],
webSocket: [
'wss://staging-v3.skalenodes.com/v1/ws/staging-faint-slimy-achird',
],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com',
},
Expand All @@ -23,6 +29,11 @@ export const skaleNebulaTestnet = {
url: 'https://staging-faint-slimy-achird.explorer.staging-v3.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2205882,
},
},
testnet: true,
} as const satisfies Chain
4 changes: 3 additions & 1 deletion packages/chains/src/skale/razor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleRazor = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/turbulent-unique-scheat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/turbulent-unique-scheat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com',
},
Expand Down
11 changes: 9 additions & 2 deletions packages/chains/src/skale/titan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ export const skaleTitan = {
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/parallel-stormy-spica'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica'],
},
public: {
http: ['https://mainnet.skalenodes.com/v1/parallel-stormy-spica'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica'],
},
},
blockExplorers: {
etherscan: {
blockscout: {
name: 'SKALE Explorer',
url: 'https://parallel-stormy-spica.explorer.mainnet.skalenodes.com',
},
Expand All @@ -23,5 +25,10 @@ export const skaleTitan = {
url: 'https://parallel-stormy-spica.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2076458,
},
},
} as const satisfies Chain
Loading

0 comments on commit baf3143

Please sign in to comment.