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
abretonc7s authored Aug 31, 2023
2 parents 7f023d4 + c86795f commit 3dcd9e8
Show file tree
Hide file tree
Showing 41 changed files with 684 additions and 92 deletions.
5 changes: 0 additions & 5 deletions .changeset/perfect-lobsters-chew.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-files-applaud.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-stingrays-count.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wet-chairs-itch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/wise-pens-brake.md

This file was deleted.

33 changes: 33 additions & 0 deletions packages/chains/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# @wagmi/chains

## 1.8.0

### Minor Changes

- d1ef9b4: Added Emerald, Sapphire & Sapphire Testnet chains.
- 484c846: Added `ewc` & `volta` chains.

## 1.7.0

### Minor Changes

- 8fdacd8: Added Sparknet Chain
- 2e9283a: Added multicall3 for mantle
- 6794a61: Added Horizen EON.
- ebc85ec: Added Ronin and Saigon chains
- 5683df2: Added Mode Testnet chain.
- 414ff36: Added Linea chain.
- 4f514c6: Added Ethereum Classic Chain
- 1cf72bc: Updated syscoin.
Added rollux, rolluxTestnet & syscoinTestnet.
- cd68471: Add zetachainAthens3 testnet
- 7797238: Added Scroll Sepolia testnet
- 3846811: Added Q mainnet and testnet

### Patch Changes

- a432a2b: Updated Cronos Chain RPCs.
- 408740a: Updated Multicall3 for Edgeware EdgeEVM
- 0c5a32b: Added multicall3 for Gnosis
- baf3143: Updated SKALE Network Chains with WebSocket RPC URLs and Multicall addresses.
- 9737f24: Updated Base RPC URL.
- 0ea344c: Removed "Testnet" on mantle mainnet explorer name.

## 1.6.0

### Minor Changes
Expand Down
4 changes: 4 additions & 0 deletions packages/chains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ const { chains, provider } = configureChains(
- `celo`
- `celoAlfajores`
- `celoCannoli`
- `classic`
- `cronos`
- `cronosTestnet`
- `edgeware`
- `edgewareTestnet`
- `eos`
- `eosTestnet`
- `ewc`
- `fantom`
- `fantomTestnet`
- `foundry`
Expand All @@ -65,6 +67,7 @@ const { chains, provider } = configureChains(
- `mantleTestnet`
- `metis`
- `metisGoerli`
- `modeTestnet`
- `moonbaseAlpha`
- `moonbeam`
- `moonriver`
Expand Down Expand Up @@ -97,6 +100,7 @@ const { chains, provider } = configureChains(
- `taraxaTestnet`
- `telos`
- `telosTestnet`
- `volta`
- `zkSync`
- `zkSyncTestnet`
- `zora`
Expand Down
2 changes: 1 addition & 1 deletion packages/chains/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wagmi/chains",
"description": "A collection of chains for wagmi",
"license": "MIT",
"version": "1.6.0",
"version": "1.8.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
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
22 changes: 22 additions & 0 deletions packages/chains/src/classic.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Chain } from './types'

export const classic = {
id: 61,
name: 'Ethereum Classic',
network: 'classic',
nativeCurrency: {
decimals: 18,
name: 'ETC',
symbol: 'ETC',
},
rpcUrls: {
default: { http: ['https://etc.rivet.link'] },
public: { http: ['https://etc.rivet.link'] },
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://blockscout.com/etc/mainnet',
},
},
} as const satisfies Chain
8 changes: 4 additions & 4 deletions packages/chains/src/cronos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ import { Chain } from './types'

export const cronos = {
id: 25,
name: 'Cronos',
name: 'Cronos Mainnet',
network: 'cronos',
nativeCurrency: {
decimals: 18,
name: 'Cronos',
symbol: 'CRO',
},
rpcUrls: {
default: { http: ['https://node.croswap.com/rpc'] },
public: { http: ['https://node.croswap.com/rpc'] },
default: { http: ['https://evm.cronos.org'] },
public: { http: ['https://evm.cronos.org'] },
},
blockExplorers: {
default: { name: 'CronosScan', url: 'https://cronoscan.com' },
default: { name: 'Cronoscan', url: 'https://cronoscan.com' },
},
contracts: {
multicall3: {
Expand Down
4 changes: 2 additions & 2 deletions packages/chains/src/edgeware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export const edgeware = {
},
contracts: {
multicall3: {
address: '0xDDF47eEB4e5FF4AA60e063E0Ec4f7C35B47Ed445',
blockCreated: 17126780,
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 18117872,
},
},
} as const satisfies Chain
34 changes: 34 additions & 0 deletions packages/chains/src/emerald.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import { Chain } from './types'

export const emerald = {
id: 42262,
name: 'Oasis Emerald',
network: 'emerald',
nativeCurrency: {
decimals: 18,
name: 'Oasis ROSE',
symbol: 'ROSE',
},
rpcUrls: {
default: {
http: ['https://emerald.oasis.dev'],
webSocket: ['wss://emerald.oasis.dev/ws'],
},
public: {
http: ['https://emerald.oasis.dev'],
webSocket: ['wss://emerald.oasis.dev/ws'],
},
},
blockExplorers: {
default: {
name: 'Oasis Explorer',
url: 'https://explorer.emerald.oasis.dev',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 1481392,
},
},
} as const satisfies Chain
23 changes: 23 additions & 0 deletions packages/chains/src/eon.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Chain } from './types'

export const eon = {
id: 7_332,
name: 'Horizen EON',
network: 'eon',
nativeCurrency: {
decimals: 18,
name: 'ZEN',
symbol: 'ZEN',
},
rpcUrls: {
public: { http: ['https://eon-rpc.horizenlabs.io/ethv1'] },
default: { http: ['https://eon-rpc.horizenlabs.io/ethv1'] },
},
blockExplorers: {
default: {
name: 'EON Explorer',
url: 'https://eon-explorer.horizenlabs.io',
},
},
contracts: {},
} as const satisfies Chain
27 changes: 27 additions & 0 deletions packages/chains/src/ewc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { Chain } from './types'

export const ewc = {
id: 246,
name: 'Energy Web Chain',
network: 'ewc',
nativeCurrency: { name: 'EWT', symbol: 'EWT', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.energyweb.org'],
},
public: {
http: ['https://rpc.energyweb.org'],
},
},
blockExplorers: {
default: {
name: 'Energy Web Chain Explorer',
url: 'https://explorer.energyweb.org',
},
},
contracts: {
ensRegistry: {
address: '0x0A6d64413c07E10E890220BBE1c49170080C6Ca0',
},
},
} as const satisfies Chain
18 changes: 18 additions & 0 deletions packages/chains/src/fuseSparknet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { Chain } from './types'

export const fuseSparknet = {
id: 123,
name: 'Fuse Sparknet',
network: 'fuse',
nativeCurrency: { name: 'Spark', symbol: 'SPARK', decimals: 18 },
rpcUrls: {
default: { http: ['https://rpc.fusespark.io'] },
public: { http: ['https://rpc.fusespark.io'] },
},
blockExplorers: {
default: {
name: 'Sparkent Explorer',
url: 'https://explorer.fusespark.io',
},
},
} as const satisfies Chain
6 changes: 6 additions & 0 deletions packages/chains/src/gnosis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ export const gnosis = {
url: 'https://blockscout.com/xdai/mainnet',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 21022491,
},
},
} as const satisfies Chain
21 changes: 21 additions & 0 deletions packages/chains/src/gobi.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Chain } from './types'

export const gobi = {
id: 1_663,
name: 'Horizen Gobi Testnet',
network: 'gobi',
nativeCurrency: {
decimals: 18,
name: 'Test ZEN',
symbol: 'tZEN',
},
rpcUrls: {
public: { http: ['https://gobi-testnet.horizenlabs.io/ethv1'] },
default: { http: ['https://gobi-testnet.horizenlabs.io/ethv1'] },
},
blockExplorers: {
default: { name: 'Gobi Explorer', url: 'https://gobi-explorer.horizen.io' },
},
contracts: {},
testnet: true,
} as const satisfies Chain
18 changes: 18 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export { canto } from './canto'
export { celo } from './celo'
export { celoAlfajores } from './celoAlfajores'
export { celoCannoli } from './celoCannoli'
export { classic } from './classic'
export { confluxESpace } from './confluxESpace'
export { cronos } from './cronos'
export { cronosTestnet } from './cronosTestnet'
Expand All @@ -30,12 +31,14 @@ export { dfk } from './dfk'
export { dogechain } from './dogechain'
export { edgeware } from './edgeware'
export { edgewareTestnet } from './edgewareTestnet'
export { emerald } from './emerald'
export { eos } from './eos'
export { eosTestnet } from './eosTestnet'
export { evmos } from './evmos'
export { evmosTestnet } from './evmosTestnet'
export { ekta } from './ekta'
export { ektaTestnet } from './ektaTestnet'
export { ewc } from './ewc'
export { fantom } from './fantom'
export { fantomTestnet } from './fantomTestnet'
export { fibo } from './fibo'
Expand All @@ -46,8 +49,10 @@ export { flare } from './flare'
export { flareTestnet } from './flareTestnet'
export { foundry } from './foundry'
export { fuse } from './fuse'
export { fuseSparknet } from './fuseSparknet'
export { iotex } from './iotex'
export { iotexTestnet } from './iotexTestnet'
export { gobi } from './gobi'
export { goerli } from './goerli'
export { gnosis } from './gnosis'
export { gnosisChiado } from './gnosisChiado'
Expand All @@ -66,6 +71,7 @@ export { metis } from './metis'
export { metisGoerli } from './metisGoerli'
export { mev } from './mev'
export { mevTestnet } from './mevTestnet'
export { modeTestnet } from './modeTestnet'
export { moonbaseAlpha } from './moonbaseAlpha'
export { moonbeam } from './moonbeam'
export { moonriver } from './moonriver'
Expand All @@ -82,7 +88,16 @@ export { polygonZkEvmTestnet } from './polygonZkEvmTestnet'
export { polygonZkEvm } from './polygonZkEvm'
export { pulsechain } from './pulsechain'
export { pulsechainV4 } from './pulsechainV4'
export { qMainnet } from './qMainnet'
export { qTestnet } from './qTestnet'
export { rollux } from './rollux'
export { rolluxTestnet } from './rolluxTestnet'
export { ronin } from './ronin'
export { saigon } from './saigon'
export { scrollSepolia } from './scrollSepolia'
export { scrollTestnet } from './scrollTestnet'
export { sapphire } from './sapphire'
export { sapphireTestnet } from './sapphireTestnet'
export { sepolia } from './sepolia'
export { skaleBlockBrawlers } from './skale/brawl'
export { skaleCalypso } from './skale/calypso'
Expand All @@ -103,18 +118,21 @@ export { songbird } from './songbird'
export { songbirdTestnet } from './songbirdTestnet'
export { shardeumSphinx } from './shardeumSphinx'
export { syscoin } from './syscoin'
export { syscoinTestnet } from './syscoinTestnet'
export { taraxa } from './taraxa'
export { taikoTestnetSepolia } from './taikoTestnetSepolia'
export { taraxaTestnet } from './taraxaTestnet'
export { telos } from './telos'
export { telosTestnet } from './telosTestnet'
export { thunderTestnet } from './thunderTestnet'
export { volta } from './volta'
export { wanchain } from './wanchain'
export { wanchainTestnet } from './wanchainTestnet'
export { xdc } from './xdc'
export { xdcTestnet } from './xdcTestnet'
export { zhejiang } from './zhejiang'
export { zkSync } from './zkSync'
export { zkSyncTestnet } from './zkSyncTestnet'
export { zetachainAthensTestnet } from './zetachainAthensTestnet'
export { zora } from './zora'
export { zoraTestnet } from './zoraTestnet'
Loading

0 comments on commit 3dcd9e8

Please sign in to comment.