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

Commit

Permalink
Merge branch 'wagmi-dev:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
InfinityWallet authored Aug 25, 2023
2 parents 9f1f992 + 849d7a5 commit e6de6e9
Show file tree
Hide file tree
Showing 85 changed files with 1,732 additions and 812 deletions.
5 changes: 5 additions & 0 deletions .changeset/giant-pandas-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": minor
---

Added Emerald, Sapphire & Sapphire Testnet chains.
5 changes: 5 additions & 0 deletions .changeset/smooth-wolves-ring.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wagmi/chains": minor
---

Added `ewc` & `volta` chains.
81 changes: 81 additions & 0 deletions packages/chains/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
# @wagmi/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

- 3c3143d: Added MEV and MEVTestnet Chain
- d4460ab: Added Base
- 6bf0ab9: Added Multicall to EOS EVM & EOS EVM Testnet

### Patch Changes

- 8504c8b: Updated gnosis explorer url(s)
- dee1782: Renamed Optimism chain

## 1.5.0

### Minor Changes

- 4b411d2: Added Mantle and Mantle Testnet chains
- df697ac: Added Taiko (Alpha-3 Testnet)
- a96b514: Added nexilix chain
- 0a6e6da: Added multicall3 address to Polygon zkEVM

### Patch Changes

- 186f5a7: Fixed Canto RPC and block explorer urls.

## 1.4.0

### Minor Changes

- 97dbd44: Added EOS EVM and EOS EVM Testnet chains

### Patch Changes

- d642e1d: Updated PulseChain Metadata
- 3027d7b: Updated Zora chain URLs and names

## 1.3.0

### Minor Changes

- 62b8209: Added multicall3 contract to Cronos Testnet
- 106ac13: Added `bxn` and `bxnTestnet`.
- 8b3f5e5: Added multicall3 for Base Goerli

## 1.2.0

### Minor Changes

- a7cbd04: Added cronos testnet chain

### Patch Changes

- f6ee133: Added Fibo

## 1.1.1

### Patch Changes
Expand Down
12 changes: 12 additions & 0 deletions packages/chains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const { chains, provider } = configureChains(
- `auroraTestnet`
- `avalanche`
- `avalancheFuji`
- `base`
- `baseGoerli`
- `bronos`
- `bronosTestnet`
Expand All @@ -44,8 +45,14 @@ const { chains, provider } = configureChains(
- `celo`
- `celoAlfajores`
- `celoCannoli`
- `classic`
- `cronos`
- `cronosTestnet`
- `edgeware`
- `edgewareTestnet`
- `eos`
- `eosTestnet`
- `ewc`
- `fantom`
- `fantomTestnet`
- `foundry`
Expand All @@ -56,8 +63,11 @@ const { chains, provider } = configureChains(
- `iotexTestnet`
- `localhost`
- `mainnet`
- `mantle`
- `mantleTestnet`
- `metis`
- `metisGoerli`
- `modeTestnet`
- `moonbaseAlpha`
- `moonbeam`
- `moonriver`
Expand Down Expand Up @@ -85,10 +95,12 @@ const { chains, provider } = configureChains(
- `skaleTitan`
- `skaleTitanTestnet`
- `sepolia`
- `taikoTestnetSepolia`
- `taraxa`
- `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.1.1",
"version": "1.7.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
36 changes: 36 additions & 0 deletions packages/chains/src/base.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { Chain } from './types'

export const base = {
id: 8453,
network: 'base',
name: 'Base',
nativeCurrency: { name: 'Base', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.base.org'],
},
public: {
http: ['https://mainnet.base.org'],
},
},
blockExplorers: {
blockscout: {
name: 'Basescout',
url: 'https://base.blockscout.com',
},
default: {
name: 'Basescan',
url: 'https://basescan.org',
},
etherscan: {
name: 'Basescan',
url: 'https://basescan.org',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 5022,
},
},
} as const satisfies Chain
6 changes: 6 additions & 0 deletions packages/chains/src/baseGoerli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,11 @@ export const baseGoerli = {
url: 'https://goerli.basescan.org',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 1376988,
},
},
testnet: true,
} as const satisfies Chain
22 changes: 22 additions & 0 deletions packages/chains/src/bxn.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Chain } from './types'

export const bxn = {
id: 4999,
name: 'BlackFort Exchange Network',
network: 'bxn',
nativeCurrency: { name: 'BlackFort Token', symbol: 'BXN', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.blackfort.network/rpc'],
},
public: {
http: ['https://mainnet.blackfort.network/rpc'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://explorer.blackfort.network',
},
},
} as const satisfies Chain
26 changes: 26 additions & 0 deletions packages/chains/src/bxnTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Chain } from './types'

export const bxnTestnet = {
id: 4777,
name: 'BlackFort Exchange Network Testnet',
network: 'bxnTestnet',
nativeCurrency: {
name: 'BlackFort Testnet Token',
symbol: 'TBXN',
decimals: 18,
},
rpcUrls: {
default: {
http: ['https://testnet.blackfort.network/rpc'],
},
public: {
http: ['https://testnet.blackfort.network/rpc'],
},
},
blockExplorers: {
default: {
name: 'Blockscout',
url: 'https://testnet-explorer.blackfort.network',
},
},
} as const satisfies Chain
8 changes: 4 additions & 4 deletions packages/chains/src/canto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ export const canto = {
symbol: 'CANTO',
},
rpcUrls: {
default: { http: ['https://canto.slingshot.finance'] },
public: { http: ['https://canto.slingshot.finance'] },
default: { http: ['https://canto.gravitychain.io'] },
public: { http: ['https://canto.gravitychain.io'] },
},
blockExplorers: {
default: {
name: 'Canto EVM Explorer (Blockscout)',
url: 'https://evm.explorer.canto.io',
name: 'Tuber.Build (Blockscout)',
url: 'https://tuber.build',
},
},
contracts: {
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
9 changes: 4 additions & 5 deletions packages/chains/src/cronos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +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: {
etherscan: { name: 'CronosScan', url: 'https://cronoscan.com' },
default: { name: 'CronosScan', url: 'https://cronoscan.com' },
default: { name: 'Cronoscan', url: 'https://cronoscan.com' },
},
contracts: {
multicall3: {
Expand Down
29 changes: 29 additions & 0 deletions packages/chains/src/cronosTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { Chain } from './types'

export const cronosTestnet = {
id: 338,
name: 'Cronos Testnet',
network: 'cronos-testnet',
nativeCurrency: {
decimals: 18,
name: 'CRO',
symbol: 'tCRO',
},
rpcUrls: {
default: { http: ['https://evm-t3.cronos.org'] },
public: { http: ['https://evm-t3.cronos.org'] },
},
blockExplorers: {
default: {
name: 'Cronos Explorer',
url: 'https://cronos.org/explorer/testnet3',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 10191251,
},
},
testnet: true,
} as const satisfies Chain
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
Loading

0 comments on commit e6de6e9

Please sign in to comment.