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
judasowelu authored Jul 10, 2023
2 parents 8b088f0 + cf1b48d commit 61767ad
Show file tree
Hide file tree
Showing 14 changed files with 198 additions and 78 deletions.
13 changes: 13 additions & 0 deletions packages/chains/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @wagmi/chains

## 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
Expand Down
3 changes: 3 additions & 0 deletions packages/chains/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ const { chains, provider } = configureChains(
- `iotexTestnet`
- `localhost`
- `mainnet`
- `mantle`
- `mantleTestnet`
- `metis`
- `metisGoerli`
- `moonbaseAlpha`
Expand Down Expand Up @@ -89,6 +91,7 @@ const { chains, provider } = configureChains(
- `skaleTitan`
- `skaleTitanTestnet`
- `sepolia`
- `taikoTestnetSepolia`
- `taraxa`
- `taraxaTestnet`
- `telos`
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.4.0",
"version": "1.5.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
Expand Down
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
4 changes: 4 additions & 0 deletions packages/chains/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ export { klaytn } from './klaytn'
export { lineaTestnet } from './lineaTestnet'
export { localhost } from './localhost'
export { mainnet } from './mainnet'
export { mantle } from './mantle'
export { mantleTestnet } from './mantleTestnet'
export { metis } from './metis'
export { metisGoerli } from './metisGoerli'
export { mev } from './mev'
Expand All @@ -67,6 +69,7 @@ export { moonbeam } from './moonbeam'
export { moonriver } from './moonriver'
export { neonDevnet } from './neonDevnet'
export { nexi } from './nexi'
export { nexilix } from './nexilix'
export { oasys } from './oasys'
export { okc } from './okc'
export { optimism } from './optimism'
Expand Down Expand Up @@ -99,6 +102,7 @@ export { songbirdTestnet } from './songbirdTestnet'
export { shardeumSphinx } from './shardeumSphinx'
export { syscoin } from './syscoin'
export { taraxa } from './taraxa'
export { taikoTestnetSepolia } from './taikoTestnetSepolia'
export { taraxaTestnet } from './taraxaTestnet'
export { telos } from './telos'
export { telosTestnet } from './telosTestnet'
Expand Down
26 changes: 26 additions & 0 deletions packages/chains/src/mantle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Chain } from './types'

export const mantle = {
id: 5000,
name: 'Mantle',
network: 'mantle',
nativeCurrency: {
decimals: 18,
name: 'MNT',
symbol: 'MNT',
},
rpcUrls: {
default: { http: ['https://rpc.mantle.xyz'] },
public: { http: ['https://rpc.mantle.xyz'] },
},
blockExplorers: {
etherscan: {
name: 'Mantle Testnet Explorer',
url: 'https://explorer.mantle.xyz',
},
default: {
name: 'Mantle Testnet Explorer',
url: 'https://explorer.mantle.xyz',
},
},
} as const satisfies Chain
27 changes: 27 additions & 0 deletions packages/chains/src/mantleTestnet.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { Chain } from './types'

export const mantleTestnet = {
id: 5001,
name: 'Mantle Testnet',
network: 'mantle',
nativeCurrency: {
decimals: 18,
name: 'MNT',
symbol: 'MNT',
},
rpcUrls: {
default: { http: ['https://rpc.testnet.mantle.xyz'] },
public: { http: ['https://rpc.testnet.mantle.xyz'] },
},
blockExplorers: {
etherscan: {
name: 'Mantle Testnet Explorer',
url: 'https://explorer.testnet.mantle.xyz',
},
default: {
name: 'Mantle Testnet Explorer',
url: 'https://explorer.testnet.mantle.xyz',
},
},
testnet: true,
} as const satisfies Chain
26 changes: 26 additions & 0 deletions packages/chains/src/nexilix.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Chain } from './types'

export const nexilix = {
id: 240,
name: 'Nexilix Smart Chain',
network: 'nexilix',
nativeCurrency: {
decimals: 18,
name: 'Nexilix',
symbol: 'NEXILIX',
},
rpcUrls: {
default: { http: ['https://rpcurl.pos.nexilix.com'] },
public: { http: ['https://rpcurl.pos.nexilix.com'] },
},
blockExplorers: {
etherscan: { name: 'NexilixScan', url: 'https://scan.nexilix.com' },
default: { name: 'NexilixScan', url: 'https://scan.nexilix.com' },
},
contracts: {
multicall3: {
address: '0x58381c8e2BF9d0C2C4259cA14BdA9Afe02831244',
blockCreated: 74448,
},
},
} as const satisfies Chain
6 changes: 6 additions & 0 deletions packages/chains/src/polygonZkEvm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,10 @@ export const polygonZkEvm = {
url: 'https://zkevm.polygonscan.com',
},
},
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 57746,
},
},
} as const satisfies Chain
12 changes: 11 additions & 1 deletion packages/chains/src/polygonZkEvmTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,20 @@ export const polygonZkEvmTestnet = {
},
},
blockExplorers: {
default: {
blockscout: {
name: 'Blockscout',
url: 'https://explorer.public.zkevm-test.net',
},
default: {
name: 'PolygonScan',
url: 'https://testnet-zkevm.polygonscan.com',
},
},
testnet: true,
contracts: {
multicall3: {
address: '0xca11bde05977b3631167028862be2a173976ca11',
blockCreated: 525686,
},
},
} as const satisfies Chain
22 changes: 22 additions & 0 deletions packages/chains/src/taikoTestnetSepolia.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import { Chain } from './types'

export const taikoTestnetSepolia = {
id: 167005,
name: 'Taiko (Alpha-3 Testnet)',
network: 'taiko-sepolia',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {
default: {
http: ['https://rpc.test.taiko.xyz'],
},
public: {
http: ['https://rpc.test.taiko.xyz'],
},
},
blockExplorers: {
default: {
name: 'blockscout',
url: 'https://explorer.test.taiko.xyz',
},
},
} as const satisfies Chain
12 changes: 12 additions & 0 deletions packages/connectors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @wagmi/connectors

## 2.6.6

### Patch Changes

- 56c127d: Updated WalletConnect dependencies.
- Updated dependencies [4b411d2]
- Updated dependencies [df697ac]
- Updated dependencies [186f5a7]
- Updated dependencies [a96b514]
- Updated dependencies [0a6e6da]
- @wagmi/chains@1.5.0

## 2.6.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wagmi/connectors",
"description": "A collection of connectors for wagmi",
"license": "MIT",
"version": "2.6.5",
"version": "2.6.6",
"scripts": {
"build": "tsup",
"dev": "DEV=true tsup"
Expand All @@ -25,8 +25,8 @@
"@ledgerhq/connect-kit-loader": "^1.1.0",
"@safe-global/safe-apps-provider": "^0.17.1",
"@safe-global/safe-apps-sdk": "^8.0.0",
"@walletconnect/ethereum-provider": "2.8.6",
"@walletconnect/utils": "2.8.6",
"@walletconnect/ethereum-provider": "2.9.0",
"@walletconnect/utils": "2.9.0",
"@walletconnect/legacy-provider": "^2.0.0",
"@walletconnect/modal": "2.5.9",
"abitype": "0.8.7",
Expand Down
Loading

0 comments on commit 61767ad

Please sign in to comment.