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

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom authored Aug 9, 2023
2 parents 90c35b8 + a270cb9 commit cbf8947
Show file tree
Hide file tree
Showing 35 changed files with 313 additions and 86 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-days-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": minor
---

Updated WalletConnect dependencies.
5 changes: 5 additions & 0 deletions .changeset/perfect-lobsters-chew.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Added Linea chain.
5 changes: 5 additions & 0 deletions .changeset/shiny-files-applaud.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": patch
---

Added Desig Wallet name mapping.
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.
5 changes: 5 additions & 0 deletions .changeset/stale-zebras-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Updated Base RPC URL.
5 changes: 5 additions & 0 deletions .changeset/tame-cobras-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Added Scroll Sepolia testnet
5 changes: 5 additions & 0 deletions .changeset/wet-chairs-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": patch
---

Removed "Testnet" on mantle mainnet explorer name.
5 changes: 5 additions & 0 deletions .changeset/wise-pens-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/connectors": patch
---

Added Fordefi Wallet name mapping.
4 changes: 2 additions & 2 deletions packages/chains/src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export const base = {
nativeCurrency: { name: 'Base', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://developer-access-mainnet.base.org'],
http: ['https://mainnet.base.org'],
},
public: {
http: ['https://developer-access-mainnet.base.org'],
http: ['https://mainnet.base.org'],
},
},
blockExplorers: {
Expand Down
2 changes: 2 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export { harmonyOne } from './harmonyOne'
export { haqqMainnet } from './haqqMainnet'
export { haqqTestedge2 } from './haqqTestedge2'
export { klaytn } from './klaytn'
export { linea } from './linea'
export { lineaTestnet } from './lineaTestnet'
export { localhost } from './localhost'
export { mainnet } from './mainnet'
Expand Down Expand Up @@ -83,6 +84,7 @@ export { pulsechain } from './pulsechain'
export { pulsechainV4 } from './pulsechainV4'
export { ronin } from './ronin'
export { saigon } from './saigon'
export { scrollSepolia } from './scrollSepolia'
export { scrollTestnet } from './scrollTestnet'
export { sepolia } from './sepolia'
export { skaleBlockBrawlers } from './skale/brawl'
Expand Down
43 changes: 43 additions & 0 deletions packages/chains/src/linea.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
import { Chain } from './types'

export const linea = {
id: 59_144,
name: 'Linea Mainnet',
network: 'linea-mainnet',
nativeCurrency: { name: 'Linea Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
infura: {
http: ['https://linea-mainnet.infura.io/v3'],
webSocket: ['wss://linea-mainnet.infura.io/ws/v3'],
},
default: {
http: ['https://rpc.linea.build'],
webSocket: ['wss://rpc.linea.build'],
},
public: {
http: ['https://rpc.linea.build'],
webSocket: ['wss://rpc.linea.build'],
},
},
blockExplorers: {
default: {
name: 'Etherscan',
url: 'https://lineascan.build',
},
etherscan: {
name: 'Etherscan',
url: 'https://lineascan.build',
},
blockscout: {
name: 'Blockscout',
url: 'https://explorer.linea.build',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 42,
},
},
testnet: false,
} as const satisfies Chain
14 changes: 11 additions & 3 deletions packages/chains/src/lineaTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export const lineaTestnet = {
nativeCurrency: { name: 'Linea Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
infura: {
http: ['https://consensys-zkevm-goerli-prealpha.infura.io/v3'],
webSocket: ['wss://consensys-zkevm-goerli-prealpha.infura.io/ws/v3'],
http: ['https://linea-goerli.infura.io/v3'],
webSocket: ['wss://linea-goerli.infura.io/ws/v3'],
},
default: {
http: ['https://rpc.goerli.linea.build'],
Expand All @@ -21,7 +21,15 @@ export const lineaTestnet = {
},
blockExplorers: {
default: {
name: 'BlockScout',
name: 'Etherscan',
url: 'https://goerli.lineascan.build',
},
etherscan: {
name: 'Etherscan',
url: 'https://goerli.lineascan.build',
},
blockscout: {
name: 'Blockscout',
url: 'https://explorer.goerli.linea.build',
},
},
Expand Down
4 changes: 2 additions & 2 deletions packages/chains/src/mantle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export const mantle = {
},
blockExplorers: {
etherscan: {
name: 'Mantle Testnet Explorer',
name: 'Mantle Explorer',
url: 'https://explorer.mantle.xyz',
},
default: {
name: 'Mantle Testnet Explorer',
name: 'Mantle Explorer',
url: 'https://explorer.mantle.xyz',
},
},
Expand Down
25 changes: 25 additions & 0 deletions packages/chains/src/scrollSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import { Chain } from './types'

export const scrollSepolia = {
id: 534_351,
name: 'Scroll Sepolia',
network: 'scroll-sepolia',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://sepolia-rpc.scroll.io'],
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
},
public: {
http: ['https://sepolia-rpc.scroll.io'],
webSocket: ['wss://sepolia-rpc.scroll.io/ws'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://sepolia-blockscout.scroll.io',
},
},
testnet: true,
} as const satisfies Chain
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
Loading

0 comments on commit cbf8947

Please sign in to comment.