From 7797238b767dee6018a2bfe92ca4e2d334a46f22 Mon Sep 17 00:00:00 2001 From: Daniel Helm Date: Tue, 8 Aug 2023 16:24:16 -0500 Subject: [PATCH 01/30] feat: add Scroll Sepolia testnet (#467) --- .changeset/tame-cobras-worry.md | 5 +++++ packages/chains/src/index.ts | 1 + packages/chains/src/scrollSepolia.ts | 25 +++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 .changeset/tame-cobras-worry.md create mode 100644 packages/chains/src/scrollSepolia.ts diff --git a/.changeset/tame-cobras-worry.md b/.changeset/tame-cobras-worry.md new file mode 100644 index 00000000..f5af7f2c --- /dev/null +++ b/.changeset/tame-cobras-worry.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Scroll Sepolia testnet diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index e14d954f..3d9543e4 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -82,6 +82,7 @@ export { polygonZkEvmTestnet } from './polygonZkEvmTestnet' export { polygonZkEvm } from './polygonZkEvm' export { pulsechain } from './pulsechain' export { pulsechainV4 } from './pulsechainV4' +export { scrollSepolia } from './scrollSepolia' export { scrollTestnet } from './scrollTestnet' export { sepolia } from './sepolia' export { skaleBlockBrawlers } from './skale/brawl' diff --git a/packages/chains/src/scrollSepolia.ts b/packages/chains/src/scrollSepolia.ts new file mode 100644 index 00000000..0db0fe87 --- /dev/null +++ b/packages/chains/src/scrollSepolia.ts @@ -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 From 9737f2415ba0172a766a7412961b961f0be9e1db Mon Sep 17 00:00:00 2001 From: wilsoncusack Date: Tue, 8 Aug 2023 23:50:23 -0400 Subject: [PATCH 02/30] chore: update Base RPC (#460) * Update Base RPC * Create stale-zebras-provide.md --------- Co-authored-by: jxom --- .changeset/stale-zebras-provide.md | 5 +++++ packages/chains/src/base.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/stale-zebras-provide.md diff --git a/.changeset/stale-zebras-provide.md b/.changeset/stale-zebras-provide.md new file mode 100644 index 00000000..5e54107a --- /dev/null +++ b/.changeset/stale-zebras-provide.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Updated Base RPC URL. diff --git a/packages/chains/src/base.ts b/packages/chains/src/base.ts index 0e885829..d7debb68 100644 --- a/packages/chains/src/base.ts +++ b/packages/chains/src/base.ts @@ -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: { From a270cb92c95e8760f09978f4d1d163551b60dddf Mon Sep 17 00:00:00 2001 From: Akash Patel <2557058+imaksp@users.noreply.github.com> Date: Wed, 9 Aug 2023 09:21:02 +0530 Subject: [PATCH 03/30] chore: update walletconect dependencies (#450) * update walletconect deps * update walletconnect provider & util to 2.9.2 --------- Co-authored-by: Akash <2557058+aksdevac@users.noreply.github.com> --- .changeset/curly-days-travel.md | 5 ++ packages/connectors/package.json | 6 +- pnpm-lock.yaml | 101 +++++++++++++++---------------- 3 files changed, 58 insertions(+), 54 deletions(-) create mode 100644 .changeset/curly-days-travel.md diff --git a/.changeset/curly-days-travel.md b/.changeset/curly-days-travel.md new file mode 100644 index 00000000..cbd57182 --- /dev/null +++ b/.changeset/curly-days-travel.md @@ -0,0 +1,5 @@ +--- +"@wagmi/connectors": minor +--- + +Updated WalletConnect dependencies. diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 5a684131..8912c0ae 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -25,10 +25,10 @@ "@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.9.0", - "@walletconnect/utils": "2.9.0", + "@walletconnect/ethereum-provider": "2.9.2", + "@walletconnect/utils": "2.9.2", "@walletconnect/legacy-provider": "^2.0.0", - "@walletconnect/modal": "2.5.9", + "@walletconnect/modal": "2.6.1", "abitype": "0.8.7", "eventemitter3": "^4.0.7" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4003879f..1b0ca557 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,17 +96,17 @@ importers: specifier: ^8.0.0 version: 8.0.0(typescript@5.0.4) '@walletconnect/ethereum-provider': - specifier: 2.9.0 - version: 2.9.0(@walletconnect/modal@2.5.9)(lokijs@1.5.12) + specifier: 2.9.2 + version: 2.9.2(@walletconnect/modal@2.6.1)(lokijs@1.5.12) '@walletconnect/legacy-provider': specifier: ^2.0.0 version: 2.0.0 '@walletconnect/modal': - specifier: 2.5.9 - version: 2.5.9(react@18.2.0) + specifier: 2.6.1 + version: 2.6.1(react@18.2.0) '@walletconnect/utils': - specifier: 2.9.0 - version: 2.9.0(lokijs@1.5.12) + specifier: 2.9.2 + version: 2.9.2(lokijs@1.5.12) abitype: specifier: 0.8.7 version: 0.8.7(typescript@5.0.4) @@ -983,22 +983,22 @@ packages: dependencies: typescript: 5.0.4 - /@walletconnect/core@2.9.0(lokijs@1.5.12): - resolution: {integrity: sha512-MZYJghS9YCvGe32UOgDj0mCasaOoGHQaYXWeQblXE/xb8HuaM6kAWhjIQN9P+MNp5QP134BHP5olQostcCotXQ==} + /@walletconnect/core@2.9.2(lokijs@1.5.12): + resolution: {integrity: sha512-VARMPAx8sIgodeyngDHbealP3B621PQqjqKsByFUTOep8ZI1/R/20zU+cmq6j9RCrL+kLKZcrZqeVzs8Z7OlqQ==} dependencies: '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/jsonrpc-ws-connection': 1.0.12 + '@walletconnect/jsonrpc-ws-connection': 1.0.13 '@walletconnect/keyvaluestorage': 1.0.2(lokijs@1.5.12) '@walletconnect/logger': 2.0.1 '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.0(lokijs@1.5.12) - '@walletconnect/utils': 2.9.0(lokijs@1.5.12) + '@walletconnect/types': 2.9.2(lokijs@1.5.12) + '@walletconnect/utils': 2.9.2(lokijs@1.5.12) events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.0 @@ -1034,8 +1034,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/ethereum-provider@2.9.0(@walletconnect/modal@2.5.9)(lokijs@1.5.12): - resolution: {integrity: sha512-rSXkC0SXMigJRdIi/M2RMuEuATY1AwtlTWQBnqyxoht7xbO2bQNPCXn0XL4s/GRNrSUtoKSY4aPMHXV4W4yLBA==} + /@walletconnect/ethereum-provider@2.9.2(@walletconnect/modal@2.6.1)(lokijs@1.5.12): + resolution: {integrity: sha512-eO1dkhZffV1g7vpG19XUJTw09M/bwGUwwhy1mJ3AOPbOSbMPvwiCuRz2Kbtm1g9B0Jv15Dl+TvJ9vTgYF8zoZg==} peerDependencies: '@walletconnect/modal': '>=2' peerDependenciesMeta: @@ -1046,11 +1046,11 @@ packages: '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.5.9(react@18.2.0) - '@walletconnect/sign-client': 2.9.0(lokijs@1.5.12) - '@walletconnect/types': 2.9.0(lokijs@1.5.12) - '@walletconnect/universal-provider': 2.9.0(lokijs@1.5.12) - '@walletconnect/utils': 2.9.0(lokijs@1.5.12) + '@walletconnect/modal': 2.6.1(react@18.2.0) + '@walletconnect/sign-client': 2.9.2(lokijs@1.5.12) + '@walletconnect/types': 2.9.2(lokijs@1.5.12) + '@walletconnect/universal-provider': 2.9.2(lokijs@1.5.12) + '@walletconnect/utils': 2.9.2(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1128,8 +1128,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/jsonrpc-ws-connection@1.0.12: - resolution: {integrity: sha512-HAcadga3Qjt1Cqy+qXEW6zjaCs8uJGdGQrqltzl3OjiK4epGZRdvSzTe63P+t/3z+D2wG+ffEPn0GVcDozmN1w==} + /@walletconnect/jsonrpc-ws-connection@1.0.13: + resolution: {integrity: sha512-mfOM7uFH4lGtQxG+XklYuFBj6dwVvseTt5/ahOkkmpcAEgz2umuzu7fTR+h5EmjQBdrmYyEBOWADbeaFNxdySg==} dependencies: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 @@ -1221,31 +1221,30 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/modal-core@2.5.9(react@18.2.0): - resolution: {integrity: sha512-isIebwF9hOknGouhS/Ob4YJ9Sa/tqNYG2v6Ua9EkCqIoLimepkG5eC53tslUWW29SLSfQ9qqBNG2+iE7yQXqgw==} + /@walletconnect/modal-core@2.6.1(react@18.2.0): + resolution: {integrity: sha512-f2hYlJ5pwzGvjyaZ6BoGR5uiMgXzWXt6w6ktt1N8lmY6PiYp8whZgqx2hTxVWwVlsGnaIfh6UHp1hGnANx0eTQ==} dependencies: - buffer: 6.0.3 - valtio: 1.10.6(react@18.2.0) + valtio: 1.11.0(react@18.2.0) transitivePeerDependencies: - react dev: false - /@walletconnect/modal-ui@2.5.9(react@18.2.0): - resolution: {integrity: sha512-nfBaAT9Ls7RZTBBgAq+Nt/3AoUcinIJ9bcq5UHXTV3lOPu/qCKmUC/0HY3GvUK8ykabUAsjr0OAGmcqkB91qug==} + /@walletconnect/modal-ui@2.6.1(react@18.2.0): + resolution: {integrity: sha512-RFUOwDAMijSK8B7W3+KoLKaa1l+KEUG0LCrtHqaB0H0cLnhEGdLR+kdTdygw+W8+yYZbkM5tXBm7MlFbcuyitA==} dependencies: - '@walletconnect/modal-core': 2.5.9(react@18.2.0) - lit: 2.7.5 + '@walletconnect/modal-core': 2.6.1(react@18.2.0) + lit: 2.7.6 motion: 10.16.2 qrcode: 1.5.3 transitivePeerDependencies: - react dev: false - /@walletconnect/modal@2.5.9(react@18.2.0): - resolution: {integrity: sha512-Zs2RvPwbBNRdBhb50FuJCxi3FJltt1KSpI7odjU/x9GTpTOcSOkmR66PBCy2JvNA0+ztnS1Xs0LVEr3lu7/Jzw==} + /@walletconnect/modal@2.6.1(react@18.2.0): + resolution: {integrity: sha512-G84tSzdPKAFk1zimgV7JzIUFT5olZUVtI3GcOk77OeLYjlMfnDT23RVRHm5EyCrjkptnvpD0wQScXePOFd2Xcw==} dependencies: - '@walletconnect/modal-core': 2.5.9(react@18.2.0) - '@walletconnect/modal-ui': 2.5.9(react@18.2.0) + '@walletconnect/modal-core': 2.6.1(react@18.2.0) + '@walletconnect/modal-ui': 2.6.1(react@18.2.0) transitivePeerDependencies: - react dev: false @@ -1283,17 +1282,17 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/sign-client@2.9.0(lokijs@1.5.12): - resolution: {integrity: sha512-mEKc4LlLMebCe45qzqh+MX4ilQK4kOEBzLY6YJpG8EhyT45eX4JMNA7qQoYa9MRMaaVb/7USJcc4e3ZrjZvQmA==} + /@walletconnect/sign-client@2.9.2(lokijs@1.5.12): + resolution: {integrity: sha512-anRwnXKlR08lYllFMEarS01hp1gr6Q9XUgvacr749hoaC/AwGVlxYFdM8+MyYr3ozlA+2i599kjbK/mAebqdXg==} dependencies: - '@walletconnect/core': 2.9.0(lokijs@1.5.12) + '@walletconnect/core': 2.9.2(lokijs@1.5.12) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.0(lokijs@1.5.12) - '@walletconnect/utils': 2.9.0(lokijs@1.5.12) + '@walletconnect/types': 2.9.2(lokijs@1.5.12) + '@walletconnect/utils': 2.9.2(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1308,8 +1307,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/types@2.9.0(lokijs@1.5.12): - resolution: {integrity: sha512-ORopsMfSRvUYqtjKKd6scfg8o4/aGebipLxx92AuuUgMTERSU6cGmIrK6rdLu7W6FBJkmngPLEGc9mRqAb9Lug==} + /@walletconnect/types@2.9.2(lokijs@1.5.12): + resolution: {integrity: sha512-7Rdn30amnJEEal4hk83cdwHUuxI1SWQ+K7fFFHBMqkuHLGi3tpMY6kpyfDxnUScYEZXqgRps4Jo5qQgnRqVM7A==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 @@ -1322,17 +1321,17 @@ packages: - lokijs dev: false - /@walletconnect/universal-provider@2.9.0(lokijs@1.5.12): - resolution: {integrity: sha512-k3nkSBkF69sJJVoe17IVoPtnhp/sgaa2t+x7BvA/BKeMxE0DGdtRJdEXotTc8DBmI7o2tkq6l8+HyFBGjQ/CjQ==} + /@walletconnect/universal-provider@2.9.2(lokijs@1.5.12): + resolution: {integrity: sha512-JmaolkO8D31UdRaQCHwlr8uIFUI5BYhBzqYFt54Mc6gbIa1tijGOmdyr6YhhFO70LPmS6gHIjljwOuEllmlrxw==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.7 '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 - '@walletconnect/sign-client': 2.9.0(lokijs@1.5.12) - '@walletconnect/types': 2.9.0(lokijs@1.5.12) - '@walletconnect/utils': 2.9.0(lokijs@1.5.12) + '@walletconnect/sign-client': 2.9.2(lokijs@1.5.12) + '@walletconnect/types': 2.9.2(lokijs@1.5.12) + '@walletconnect/utils': 2.9.2(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1342,8 +1341,8 @@ packages: - utf-8-validate dev: false - /@walletconnect/utils@2.9.0(lokijs@1.5.12): - resolution: {integrity: sha512-7Tu3m6dZL84KofrNBcblsgpSqU2vdo9ImLD7zWimLXERVGNQ8smXG+gmhQYblebIBhsPzjy9N38YMC3nPlfQNw==} + /@walletconnect/utils@2.9.2(lokijs@1.5.12): + resolution: {integrity: sha512-D44hwXET/8JhhIjqljY6qxSu7xXnlPrf63UN/Qfl98vDjWlYVcDl2+JIQRxD9GPastw0S8XZXdRq59XDXLuZBg==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -1353,7 +1352,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.0(lokijs@1.5.12) + '@walletconnect/types': 2.9.2(lokijs@1.5.12) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -3337,8 +3336,8 @@ packages: '@types/trusted-types': 2.0.2 dev: false - /lit@2.7.5: - resolution: {integrity: sha512-i/cH7Ye6nBDUASMnfwcictBnsTN91+aBjXoTHF2xARghXScKxpD4F4WYI+VLXg9lqbMinDfvoI7VnZXjyHgdfQ==} + /lit@2.7.6: + resolution: {integrity: sha512-1amFHA7t4VaaDe+vdQejSVBklwtH9svGoG6/dZi9JhxtJBBlqY5D1RV7iLUYY0trCqQc4NfhYYZilZiVHt7Hxg==} dependencies: '@lit/reactive-element': 1.6.1 lit-element: 3.3.2 @@ -4877,8 +4876,8 @@ packages: spdx-expression-parse: 3.0.1 dev: true - /valtio@1.10.6(react@18.2.0): - resolution: {integrity: sha512-SxN1bHUmdhW6V8qsQTpCgJEwp7uHbntuH0S9cdLQtiohuevwBksbpXjwj5uDMA7bLwg1WKyq9sEpZrx3TIMrkA==} + /valtio@1.11.0(react@18.2.0): + resolution: {integrity: sha512-65Yd0yU5qs86b5lN1eu/nzcTgQ9/6YnD6iO+DDaDbQLn1Zv2w12Gwk43WkPlUBxk5wL/6cD5YMFf7kj6HZ1Kpg==} engines: {node: '>=12.20.0'} peerDependencies: react: '>=16.8' From ebc85ece926896aa3ba9ac705cfe9c9c08d72162 Mon Sep 17 00:00:00 2001 From: Glitch <66949816+glitch-txs@users.noreply.github.com> Date: Wed, 9 Aug 2023 00:52:19 -0300 Subject: [PATCH 04/30] feat: add Ronin and Saigon chains (#434) * add Ronin and Saigon chains * fix ronin chain name * fix ronin and saigon export order * fix ronin and saigon export order * Update saigon.ts * Update ronin.ts --------- Co-authored-by: jxom --- .changeset/odd-avocados-invite.md | 5 +++++ packages/chains/src/index.ts | 2 ++ packages/chains/src/ronin.ts | 25 +++++++++++++++++++++++++ packages/chains/src/saigon.ts | 29 +++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 .changeset/odd-avocados-invite.md create mode 100644 packages/chains/src/ronin.ts create mode 100644 packages/chains/src/saigon.ts diff --git a/.changeset/odd-avocados-invite.md b/.changeset/odd-avocados-invite.md new file mode 100644 index 00000000..14815ca3 --- /dev/null +++ b/.changeset/odd-avocados-invite.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": minor +--- + +Added Ronin and Saigon chains diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 3d9543e4..20434f4e 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -82,6 +82,8 @@ export { polygonZkEvmTestnet } from './polygonZkEvmTestnet' export { polygonZkEvm } from './polygonZkEvm' 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' diff --git a/packages/chains/src/ronin.ts b/packages/chains/src/ronin.ts new file mode 100644 index 00000000..2a3d7d7e --- /dev/null +++ b/packages/chains/src/ronin.ts @@ -0,0 +1,25 @@ +import { Chain } from './types' + +export const ronin = { + id: 2020, + name: 'Ronin', + network: 'ronin', + nativeCurrency: { name: 'RON', symbol: 'RON', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://api.roninchain.com/rpc'], + }, + public: { + http: ['https://api.roninchain.com/rpc'], + }, + }, + blockExplorers: { + default: { name: 'Ronin Explorer', url: 'https://app.roninchain.com' }, + }, + contracts: { + multicall3: { + address: '0xca11bde05977b3631167028862be2a173976ca11', + blockCreated: 26023535, + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/saigon.ts b/packages/chains/src/saigon.ts new file mode 100644 index 00000000..65d55621 --- /dev/null +++ b/packages/chains/src/saigon.ts @@ -0,0 +1,29 @@ +import { Chain } from './types' + +export const saigon = { + id: 2021, + name: 'Saigon Testnet', + network: 'saigon', + nativeCurrency: { name: 'RON', symbol: 'RON', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://saigon-testnet.roninchain.com/rpc'], + }, + public: { + http: ['https://saigon-testnet.roninchain.com/rpc'], + }, + }, + blockExplorers: { + default: { + name: 'Saigon Explorer', + url: 'https://saigon-explorer.roninchain.com', + }, + }, + contracts: { + multicall3: { + address: '0xca11bde05977b3631167028862be2a173976ca11', + blockCreated: 18736871, + }, + }, + testnet: true, +} as const satisfies Chain From 6794a61d290adc5a309efbc25a9bfa85c1bdfe31 Mon Sep 17 00:00:00 2001 From: xgarreau <56249105+xgarreau@users.noreply.github.com> Date: Wed, 9 Aug 2023 05:54:21 +0200 Subject: [PATCH 05/30] feat: add Horizen EON testnet (gobi) and mainnet (eon) (#433) * Added gobi.ts and eon.ts Added Horizen EON testnet (gobi) and mainnet (eon) * Update eon.ts * Update gobi.ts * Create light-toes-relate.md --------- Co-authored-by: jxom --- .changeset/light-toes-relate.md | 5 +++++ packages/chains/src/eon.ts | 21 +++++++++++++++++++++ packages/chains/src/gobi.ts | 22 ++++++++++++++++++++++ 3 files changed, 48 insertions(+) create mode 100644 .changeset/light-toes-relate.md create mode 100644 packages/chains/src/eon.ts create mode 100644 packages/chains/src/gobi.ts diff --git a/.changeset/light-toes-relate.md b/.changeset/light-toes-relate.md new file mode 100644 index 00000000..ccc5a38e --- /dev/null +++ b/.changeset/light-toes-relate.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Horizen EON. diff --git a/packages/chains/src/eon.ts b/packages/chains/src/eon.ts new file mode 100644 index 00000000..3f899a5b --- /dev/null +++ b/packages/chains/src/eon.ts @@ -0,0 +1,21 @@ +import { Chain } from 'wagmi' + +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 diff --git a/packages/chains/src/gobi.ts b/packages/chains/src/gobi.ts new file mode 100644 index 00000000..1bb931a8 --- /dev/null +++ b/packages/chains/src/gobi.ts @@ -0,0 +1,22 @@ +import { Chain } from 'wagmi' + +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 From 6eba41a61d0c264e7eb916fd2ea4802e173d4341 Mon Sep 17 00:00:00 2001 From: jxom Date: Wed, 9 Aug 2023 03:54:53 +0000 Subject: [PATCH 06/30] chore: format --- packages/chains/src/eon.ts | 44 +++++++++++++++++++------------------ packages/chains/src/gobi.ts | 43 ++++++++++++++++++------------------ 2 files changed, 44 insertions(+), 43 deletions(-) diff --git a/packages/chains/src/eon.ts b/packages/chains/src/eon.ts index 3f899a5b..705681a4 100644 --- a/packages/chains/src/eon.ts +++ b/packages/chains/src/eon.ts @@ -1,21 +1,23 @@ -import { Chain } from 'wagmi' - -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 +import { Chain } from 'wagmi' + +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 diff --git a/packages/chains/src/gobi.ts b/packages/chains/src/gobi.ts index 1bb931a8..bf6f4c3a 100644 --- a/packages/chains/src/gobi.ts +++ b/packages/chains/src/gobi.ts @@ -1,22 +1,21 @@ -import { Chain } from 'wagmi' - -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 +import { Chain } from 'wagmi' + +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 From cd6847181f517169b971af6c8adc563af00e16c2 Mon Sep 17 00:00:00 2001 From: Syed Ahkam Date: Wed, 9 Aug 2023 09:25:24 +0530 Subject: [PATCH 07/30] feat: add zetachainAthens3 testnet (#435) * feat: add zetachainAthens3 * chore: add changeset * chore: formatter * fix: rename chain and network name to sync with ethereum-chains * Update smooth-plums-swim.md --------- Co-authored-by: jxom --- .changeset/smooth-plums-swim.md | 5 ++++ packages/chains/src/zetachainAthensTestnet.ts | 27 +++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .changeset/smooth-plums-swim.md create mode 100644 packages/chains/src/zetachainAthensTestnet.ts diff --git a/.changeset/smooth-plums-swim.md b/.changeset/smooth-plums-swim.md new file mode 100644 index 00000000..da9b2443 --- /dev/null +++ b/.changeset/smooth-plums-swim.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Add zetachainAthens3 testnet diff --git a/packages/chains/src/zetachainAthensTestnet.ts b/packages/chains/src/zetachainAthensTestnet.ts new file mode 100644 index 00000000..9381be1d --- /dev/null +++ b/packages/chains/src/zetachainAthensTestnet.ts @@ -0,0 +1,27 @@ +import { Chain } from './types' + +export const zetachainAthensTestnet = { + id: 7001, + name: 'ZetaChain Athens Testnet', + network: 'zetachain-athens-testnet', + nativeCurrency: { + decimals: 18, + name: 'Zeta', + symbol: 'aZETA', + }, + rpcUrls: { + public: { + http: ['https://zetachain-athens-evm.blockpi.network/v1/rpc/public'], + }, + default: { + http: ['https://zetachain-athens-evm.blockpi.network/v1/rpc/public'], + }, + }, + blockExplorers: { + default: { + name: 'ZetaScan', + url: 'https://athens3.explorer.zetachain.com', + }, + }, + testnet: true, +} as const satisfies Chain From 1cf72bca32ec96fb15b36e1c24c4536f6e2ae33b Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 9 Aug 2023 06:58:43 +0300 Subject: [PATCH 08/30] feat: update SYSCOIN chain. add: Rollux, RolluxTestnet, SyscoinTestnet (#436) * Updated: SYSCOIN chain. Added: Rollux, RolluxTestnet, SyscoinTestnet * Add changeset * Add ANKR, public and WSS for Rollux and Syscoin. * Create shiny-apes-kneel.md * Update rollux.ts * Delete shiny-apes-kneel.md * Update selfish-experts-lay.md * Update syscoin.ts * Update syscoin.ts --------- Co-authored-by: Fernando Paredes Garcia Co-authored-by: jxom --- .changeset/selfish-experts-lay.md | 6 ++++++ packages/chains/src/rollux.ts | 28 +++++++++++++++++++++++++++ packages/chains/src/rolluxTestnet.ts | 28 +++++++++++++++++++++++++++ packages/chains/src/syscoin.ts | 16 ++++++++++----- packages/chains/src/syscoinTestnet.ts | 28 +++++++++++++++++++++++++++ 5 files changed, 101 insertions(+), 5 deletions(-) create mode 100644 .changeset/selfish-experts-lay.md create mode 100644 packages/chains/src/rollux.ts create mode 100644 packages/chains/src/rolluxTestnet.ts create mode 100644 packages/chains/src/syscoinTestnet.ts diff --git a/.changeset/selfish-experts-lay.md b/.changeset/selfish-experts-lay.md new file mode 100644 index 00000000..ded92419 --- /dev/null +++ b/.changeset/selfish-experts-lay.md @@ -0,0 +1,6 @@ +--- +"@wagmi/chains": patch +--- + +Updated syscoin. +Added rollux, rolluxTestnet & syscoinTestnet. diff --git a/packages/chains/src/rollux.ts b/packages/chains/src/rollux.ts new file mode 100644 index 00000000..149f6c4f --- /dev/null +++ b/packages/chains/src/rollux.ts @@ -0,0 +1,28 @@ +import { Chain } from './types' + +export const rollux = { + id: 570, + name: 'Rollux Mainnet', + network: 'rollux', + nativeCurrency: { + decimals: 18, + name: 'Syscoin', + symbol: 'SYS', + }, + rpcUrls: { + default: { + http: ['https://rpc.rollux.com'], + websocket: ['wss://rpc.rollux.com/wss'] + }, + public: { http: ['https://rollux.public-rpc.com'] }, + }, + blockExplorers: { + default: { name: 'RolluxExplorer', url: 'https://explorer.rollux.com' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 119222, + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/rolluxTestnet.ts b/packages/chains/src/rolluxTestnet.ts new file mode 100644 index 00000000..536527da --- /dev/null +++ b/packages/chains/src/rolluxTestnet.ts @@ -0,0 +1,28 @@ +import { Chain } from './types' + +export const rolluxTestnet = { + id: 57000, + name: 'Rollux Testnet', + network: 'rollux-testnet', + nativeCurrency: { + decimals: 18, + name: 'Syscoin', + symbol: 'SYS', + }, + rpcUrls: { + default: { + http: ['https://rpc-tanenbaum.rollux.com/'], + websocket: ['wss://rpc-tanenbaum.rollux.com/wss'] + }, + public: { http: ['https://rpc-tanenbaum.rollux.com/'] }, + }, + blockExplorers: { + default: { name: 'RolluxTestnetExplorer', url: 'https://rollux.tanenbaum.io' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 1813675, + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/syscoin.ts b/packages/chains/src/syscoin.ts index 7aaba68b..27e08585 100644 --- a/packages/chains/src/syscoin.ts +++ b/packages/chains/src/syscoin.ts @@ -5,21 +5,27 @@ export const syscoin = { name: 'Syscoin Mainnet', network: 'syscoin', nativeCurrency: { - decimals: 8, + decimals: 18, name: 'Syscoin', symbol: 'SYS', }, rpcUrls: { - default: { http: ['https://rpc.syscoin.org'] }, - public: { http: ['https://rpc.syscoin.org'] }, + default: { + http: ['https://rpc.syscoin.org'], + websocket: ['wss://rpc.syscoin.org/wss'] + }, + public: { + http: ['https://rpc.syscoin.org'], + websocket: ['wss://rpc.syscoin.org/wss'] + }, }, blockExplorers: { default: { name: 'SyscoinExplorer', url: 'https://explorer.syscoin.org' }, }, contracts: { multicall3: { - address: '0x000562033783B1136159E10d976B519C929cdE8e', - blockCreated: 80637, + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 287139, }, }, } as const satisfies Chain diff --git a/packages/chains/src/syscoinTestnet.ts b/packages/chains/src/syscoinTestnet.ts new file mode 100644 index 00000000..106f75cb --- /dev/null +++ b/packages/chains/src/syscoinTestnet.ts @@ -0,0 +1,28 @@ +import { Chain } from './types' + +export const syscoinTestnet = { + id: 5700, + name: 'Syscoin Tanenbaum Testnet', + network: 'syscoin-testnet', + nativeCurrency: { + decimals: 18, + name: 'Syscoin', + symbol: 'SYS', + }, + rpcUrls: { + default: { + http: ['https://rpc.tanenbaum.io'], + websocket: ['wss://rpc.tanenbaum.io/wss'] + }, + public: { http: ['https://rpc.tanenbaum.io'] }, + }, + blockExplorers: { + default: { name: 'SyscoinTestnetExplorer', url: 'https://tanenbaum.io' }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 271288, + }, + }, +} as const satisfies Chain From b55844ad8e43a1a3909b76b4e9b7c205c8058109 Mon Sep 17 00:00:00 2001 From: jxom Date: Wed, 9 Aug 2023 03:59:17 +0000 Subject: [PATCH 09/30] chore: format --- packages/chains/src/rollux.ts | 2 +- packages/chains/src/rolluxTestnet.ts | 7 +++++-- packages/chains/src/syscoin.ts | 4 ++-- packages/chains/src/syscoinTestnet.ts | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/packages/chains/src/rollux.ts b/packages/chains/src/rollux.ts index 149f6c4f..32b9ab30 100644 --- a/packages/chains/src/rollux.ts +++ b/packages/chains/src/rollux.ts @@ -12,7 +12,7 @@ export const rollux = { rpcUrls: { default: { http: ['https://rpc.rollux.com'], - websocket: ['wss://rpc.rollux.com/wss'] + websocket: ['wss://rpc.rollux.com/wss'], }, public: { http: ['https://rollux.public-rpc.com'] }, }, diff --git a/packages/chains/src/rolluxTestnet.ts b/packages/chains/src/rolluxTestnet.ts index 536527da..1c5ad4a9 100644 --- a/packages/chains/src/rolluxTestnet.ts +++ b/packages/chains/src/rolluxTestnet.ts @@ -12,12 +12,15 @@ export const rolluxTestnet = { rpcUrls: { default: { http: ['https://rpc-tanenbaum.rollux.com/'], - websocket: ['wss://rpc-tanenbaum.rollux.com/wss'] + websocket: ['wss://rpc-tanenbaum.rollux.com/wss'], }, public: { http: ['https://rpc-tanenbaum.rollux.com/'] }, }, blockExplorers: { - default: { name: 'RolluxTestnetExplorer', url: 'https://rollux.tanenbaum.io' }, + default: { + name: 'RolluxTestnetExplorer', + url: 'https://rollux.tanenbaum.io', + }, }, contracts: { multicall3: { diff --git a/packages/chains/src/syscoin.ts b/packages/chains/src/syscoin.ts index 27e08585..1c85cdf6 100644 --- a/packages/chains/src/syscoin.ts +++ b/packages/chains/src/syscoin.ts @@ -12,11 +12,11 @@ export const syscoin = { rpcUrls: { default: { http: ['https://rpc.syscoin.org'], - websocket: ['wss://rpc.syscoin.org/wss'] + websocket: ['wss://rpc.syscoin.org/wss'], }, public: { http: ['https://rpc.syscoin.org'], - websocket: ['wss://rpc.syscoin.org/wss'] + websocket: ['wss://rpc.syscoin.org/wss'], }, }, blockExplorers: { diff --git a/packages/chains/src/syscoinTestnet.ts b/packages/chains/src/syscoinTestnet.ts index 106f75cb..9cc74284 100644 --- a/packages/chains/src/syscoinTestnet.ts +++ b/packages/chains/src/syscoinTestnet.ts @@ -12,7 +12,7 @@ export const syscoinTestnet = { rpcUrls: { default: { http: ['https://rpc.tanenbaum.io'], - websocket: ['wss://rpc.tanenbaum.io/wss'] + websocket: ['wss://rpc.tanenbaum.io/wss'], }, public: { http: ['https://rpc.tanenbaum.io'] }, }, From a432a2bb33b658231683bb20af82a3698e6ab07f Mon Sep 17 00:00:00 2001 From: Ricardo Arcifa <47121044+rarcifa@users.noreply.github.com> Date: Wed, 9 Aug 2023 05:59:48 +0200 Subject: [PATCH 10/30] fix: cronos RPCs (#441) * Update cronos.ts * Update cronos.ts * Create fifty-clouds-drive.md --------- Co-authored-by: jxom --- .changeset/fifty-clouds-drive.md | 5 +++++ packages/chains/src/cronos.ts | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/fifty-clouds-drive.md diff --git a/.changeset/fifty-clouds-drive.md b/.changeset/fifty-clouds-drive.md new file mode 100644 index 00000000..6bcb3a97 --- /dev/null +++ b/.changeset/fifty-clouds-drive.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Updated Cronos Chain RPCs. diff --git a/packages/chains/src/cronos.ts b/packages/chains/src/cronos.ts index b84fe7cf..3fce045e 100644 --- a/packages/chains/src/cronos.ts +++ b/packages/chains/src/cronos.ts @@ -2,7 +2,7 @@ import { Chain } from './types' export const cronos = { id: 25, - name: 'Cronos', + name: 'Cronos Mainnet', network: 'cronos', nativeCurrency: { decimals: 18, @@ -10,11 +10,11 @@ export const 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: { From 384681190df6c80a74e82359859106b27ca3ac05 Mon Sep 17 00:00:00 2001 From: Neel S Date: Wed, 9 Aug 2023 05:10:39 +0100 Subject: [PATCH 11/30] feat: added q mainnet and testnet (#451) * added q mainnet and testnet * space in symbol as metamask workaround since they expect 2-6 characters * Update qMainnet.ts * Update qTestnet.ts * Update qMainnet.ts * Update qTestnet.ts * Create twelve-rocks-glow.md --------- Co-authored-by: jxom --- .changeset/twelve-rocks-glow.md | 5 +++++ packages/chains/src/index.ts | 2 ++ packages/chains/src/qMainnet.ts | 22 ++++++++++++++++++++++ packages/chains/src/qTestnet.ts | 23 +++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 .changeset/twelve-rocks-glow.md create mode 100644 packages/chains/src/qMainnet.ts create mode 100644 packages/chains/src/qTestnet.ts diff --git a/.changeset/twelve-rocks-glow.md b/.changeset/twelve-rocks-glow.md new file mode 100644 index 00000000..6b9f7275 --- /dev/null +++ b/.changeset/twelve-rocks-glow.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Q mainnet and testnet diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 20434f4e..14930846 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -82,6 +82,8 @@ 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 { ronin } from './ronin' export { saigon } from './saigon' export { scrollSepolia } from './scrollSepolia' diff --git a/packages/chains/src/qMainnet.ts b/packages/chains/src/qMainnet.ts new file mode 100644 index 00000000..95a6b148 --- /dev/null +++ b/packages/chains/src/qMainnet.ts @@ -0,0 +1,22 @@ +import { Chain } from './types' + +export const qMainnet = { + id: 35441, + name: 'Q Mainnet', + network: 'q-mainnet', + nativeCurrency: { + decimals: 18, + name: 'Q', + symbol: 'Q', + }, + rpcUrls: { + default: { http: ['https://rpc.q.org'] }, + public: { http: ['https://rpc.q.org'] }, + }, + blockExplorers: { + default: { + name: 'Q Mainnet Explorer', + url: 'https://explorer.q.org', + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/qTestnet.ts b/packages/chains/src/qTestnet.ts new file mode 100644 index 00000000..fd75ca52 --- /dev/null +++ b/packages/chains/src/qTestnet.ts @@ -0,0 +1,23 @@ +import { Chain } from './types' + +export const qTestnet = { + id: 35443, + name: 'Q Testnet', + network: 'q-testnet', + nativeCurrency: { + decimals: 18, + name: 'Q', + symbol: 'Q', + }, + rpcUrls: { + default: { http: ['https://rpc.qtestnet.org'] }, + public: { http: ['https://rpc.qtestnet.org'] }, + }, + blockExplorers: { + default: { + name: 'Q Testnet Explorer', + url: 'https://explorer.qtestnet.org', + }, + }, + testnet: true, +} as const satisfies Chain From e1032cba21a0cd8ec97b32115d1cdbf3a7c44dd2 Mon Sep 17 00:00:00 2001 From: jxom Date: Wed, 9 Aug 2023 04:11:10 +0000 Subject: [PATCH 12/30] chore: format --- packages/chains/src/qMainnet.ts | 34 +++++++++++++++---------------- packages/chains/src/qTestnet.ts | 36 ++++++++++++++++----------------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/chains/src/qMainnet.ts b/packages/chains/src/qMainnet.ts index 95a6b148..7b6c113e 100644 --- a/packages/chains/src/qMainnet.ts +++ b/packages/chains/src/qMainnet.ts @@ -1,22 +1,22 @@ import { Chain } from './types' export const qMainnet = { - id: 35441, - name: 'Q Mainnet', - network: 'q-mainnet', - nativeCurrency: { - decimals: 18, - name: 'Q', - symbol: 'Q', - }, - rpcUrls: { - default: { http: ['https://rpc.q.org'] }, - public: { http: ['https://rpc.q.org'] }, - }, - blockExplorers: { - default: { - name: 'Q Mainnet Explorer', - url: 'https://explorer.q.org', - }, + id: 35441, + name: 'Q Mainnet', + network: 'q-mainnet', + nativeCurrency: { + decimals: 18, + name: 'Q', + symbol: 'Q', + }, + rpcUrls: { + default: { http: ['https://rpc.q.org'] }, + public: { http: ['https://rpc.q.org'] }, + }, + blockExplorers: { + default: { + name: 'Q Mainnet Explorer', + url: 'https://explorer.q.org', }, + }, } as const satisfies Chain diff --git a/packages/chains/src/qTestnet.ts b/packages/chains/src/qTestnet.ts index fd75ca52..686543e4 100644 --- a/packages/chains/src/qTestnet.ts +++ b/packages/chains/src/qTestnet.ts @@ -1,23 +1,23 @@ import { Chain } from './types' export const qTestnet = { - id: 35443, - name: 'Q Testnet', - network: 'q-testnet', - nativeCurrency: { - decimals: 18, - name: 'Q', - symbol: 'Q', + id: 35443, + name: 'Q Testnet', + network: 'q-testnet', + nativeCurrency: { + decimals: 18, + name: 'Q', + symbol: 'Q', + }, + rpcUrls: { + default: { http: ['https://rpc.qtestnet.org'] }, + public: { http: ['https://rpc.qtestnet.org'] }, + }, + blockExplorers: { + default: { + name: 'Q Testnet Explorer', + url: 'https://explorer.qtestnet.org', }, - rpcUrls: { - default: { http: ['https://rpc.qtestnet.org'] }, - public: { http: ['https://rpc.qtestnet.org'] }, - }, - blockExplorers: { - default: { - name: 'Q Testnet Explorer', - url: 'https://explorer.qtestnet.org', - }, - }, - testnet: true, + }, + testnet: true, } as const satisfies Chain From 2e9283ae93de9b68b17763a9b753f1f5a5f282e6 Mon Sep 17 00:00:00 2001 From: oxSaturn Date: Wed, 9 Aug 2023 12:11:20 +0800 Subject: [PATCH 13/30] feat: add multicall3 for mantle (#453) * feat: add multicall3 for mantle * add changeset * Update beige-trees-dress.md --------- Co-authored-by: jxom --- .changeset/beige-trees-dress.md | 5 +++++ packages/chains/src/mantle.ts | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 .changeset/beige-trees-dress.md diff --git a/.changeset/beige-trees-dress.md b/.changeset/beige-trees-dress.md new file mode 100644 index 00000000..899a9031 --- /dev/null +++ b/.changeset/beige-trees-dress.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added multicall3 for mantle diff --git a/packages/chains/src/mantle.ts b/packages/chains/src/mantle.ts index 615669e2..7b1714b9 100644 --- a/packages/chains/src/mantle.ts +++ b/packages/chains/src/mantle.ts @@ -23,4 +23,10 @@ export const mantle = { url: 'https://explorer.mantle.xyz', }, }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 304717, + }, + }, } as const satisfies Chain From ce84d0a414058e0bff24a8b75cfb2b24c520d8ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?khi=C3=AAm?= <87562184+khiemsoft@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:11:52 +0700 Subject: [PATCH 14/30] feat: add coin98 wallet detection (#454) * submit coin98 wallet * chore: Added changeset --------- Co-authored-by: chipopo --- .changeset/yellow-icons-carry.md | 5 +++++ packages/connectors/src/metaMask.ts | 1 + packages/connectors/src/types.ts | 1 + packages/connectors/src/utils/getInjectedName.test.ts | 1 + packages/connectors/src/utils/getInjectedName.ts | 1 + 5 files changed, 9 insertions(+) create mode 100644 .changeset/yellow-icons-carry.md diff --git a/.changeset/yellow-icons-carry.md b/.changeset/yellow-icons-carry.md new file mode 100644 index 00000000..0383f29a --- /dev/null +++ b/.changeset/yellow-icons-carry.md @@ -0,0 +1,5 @@ +--- +"@wagmi/connectors": patch +--- + +Added Coin98 Wallet injected flags. diff --git a/packages/connectors/src/metaMask.ts b/packages/connectors/src/metaMask.ts index 48dcf307..a494b47a 100644 --- a/packages/connectors/src/metaMask.ts +++ b/packages/connectors/src/metaMask.ts @@ -51,6 +51,7 @@ export class MetaMaskConnector extends InjectedConnector { if (ethereum.isAvalanche) return if (ethereum.isBitKeep) return if (ethereum.isBlockWallet) return + if (ethereum.isCoin98) return if (ethereum.isFordefi) return if (ethereum.isMathWallet) return if (ethereum.isOkxWallet || ethereum.isOKExWallet) return diff --git a/packages/connectors/src/types.ts b/packages/connectors/src/types.ts index cb59fe48..c890f72e 100644 --- a/packages/connectors/src/types.ts +++ b/packages/connectors/src/types.ts @@ -17,6 +17,7 @@ type InjectedProviderFlags = { isBitski?: true isBlockWallet?: true isBraveWallet?: true + isCoin98?: true isCoinbaseWallet?: true isDawn?: true isDefiant?: true diff --git a/packages/connectors/src/utils/getInjectedName.test.ts b/packages/connectors/src/utils/getInjectedName.test.ts index c27a5679..f34d87fd 100644 --- a/packages/connectors/src/utils/getInjectedName.test.ts +++ b/packages/connectors/src/utils/getInjectedName.test.ts @@ -25,6 +25,7 @@ describe.each([ ethereum: { isBraveWallet: true, isMetaMask: true }, expected: 'Brave Wallet', }, + { ethereum: { isCoin98: true }, expected: 'Coin98 Wallet' }, { ethereum: { isCoinbaseWallet: true }, expected: 'Coinbase Wallet' }, { ethereum: { isDawn: true }, expected: 'Dawn Wallet' }, { ethereum: { isDefiant: true }, expected: 'Defiant' }, diff --git a/packages/connectors/src/utils/getInjectedName.ts b/packages/connectors/src/utils/getInjectedName.ts index c99a9655..310d764e 100644 --- a/packages/connectors/src/utils/getInjectedName.ts +++ b/packages/connectors/src/utils/getInjectedName.ts @@ -12,6 +12,7 @@ export function getInjectedName(ethereum?: WindowProvider) { if (provider.isBitski) return 'Bitski' if (provider.isBlockWallet) return 'BlockWallet' if (provider.isBraveWallet) return 'Brave Wallet' + if (provider.isCoin98) return 'Coin98 Wallet' if (provider.isCoinbaseWallet) return 'Coinbase Wallet' if (provider.isDawn) return 'Dawn Wallet' if (provider.isDefiant) return 'Defiant' From 0c5a32bcc823c679a2b4c04efb6038bedd91e9a5 Mon Sep 17 00:00:00 2001 From: Major <90963895+Majorfi@users.noreply.github.com> Date: Wed, 9 Aug 2023 06:12:26 +0200 Subject: [PATCH 15/30] feat: add multicall3 for gnosis chain (#456) * feat: add multicall3 for gnosis chain * Chores: add changeset * Update lovely-keys-train.md --------- Co-authored-by: jxom --- .changeset/lovely-keys-train.md | 5 +++++ packages/chains/src/gnosis.ts | 6 ++++++ 2 files changed, 11 insertions(+) create mode 100644 .changeset/lovely-keys-train.md diff --git a/.changeset/lovely-keys-train.md b/.changeset/lovely-keys-train.md new file mode 100644 index 00000000..a0969485 --- /dev/null +++ b/.changeset/lovely-keys-train.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added multicall3 for Gnosis diff --git a/packages/chains/src/gnosis.ts b/packages/chains/src/gnosis.ts index a2c7bd73..8ae84e89 100644 --- a/packages/chains/src/gnosis.ts +++ b/packages/chains/src/gnosis.ts @@ -23,4 +23,10 @@ export const gnosis = { url: 'https://blockscout.com/xdai/mainnet', }, }, + contracts: { + multicall3: { + address: '0xca11bde05977b3631167028862be2a173976ca11', + blockCreated: 21022491, + }, + }, } as const satisfies Chain From 06cc1b4e5f504a774859c144e4e8149bce87918a Mon Sep 17 00:00:00 2001 From: S2kael <41369298+S2kael@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:12:55 +0700 Subject: [PATCH 16/30] feat: add SubWallet wallet (#459) --- .changeset/calm-swans-worry.md | 5 +++++ packages/connectors/src/types.ts | 1 + packages/connectors/src/utils/getInjectedName.test.ts | 1 + packages/connectors/src/utils/getInjectedName.ts | 1 + 4 files changed, 8 insertions(+) create mode 100644 .changeset/calm-swans-worry.md diff --git a/.changeset/calm-swans-worry.md b/.changeset/calm-swans-worry.md new file mode 100644 index 00000000..04cde68e --- /dev/null +++ b/.changeset/calm-swans-worry.md @@ -0,0 +1,5 @@ +--- +"@wagmi/connectors": patch +--- + +Add SubWallet wallet diff --git a/packages/connectors/src/types.ts b/packages/connectors/src/types.ts index c890f72e..e8e16973 100644 --- a/packages/connectors/src/types.ts +++ b/packages/connectors/src/types.ts @@ -46,6 +46,7 @@ type InjectedProviderFlags = { isRabby?: true isRainbow?: true isStatus?: true + isSubWallet?: true isTalisman?: true isTally?: true isTokenPocket?: true diff --git a/packages/connectors/src/utils/getInjectedName.test.ts b/packages/connectors/src/utils/getInjectedName.test.ts index f34d87fd..a2588b4d 100644 --- a/packages/connectors/src/utils/getInjectedName.test.ts +++ b/packages/connectors/src/utils/getInjectedName.test.ts @@ -58,6 +58,7 @@ describe.each([ { ethereum: { isRainbow: true }, expected: 'Rainbow' }, { ethereum: { isStatus: true }, expected: 'Status' }, { ethereum: { isTalisman: true }, expected: 'Talisman' }, + { ethereum: { isSubWallet: true }, expected: 'SubWallet' }, { ethereum: { isTally: true }, expected: 'Taho' }, { ethereum: { isTokenPocket: true, isMetaMask: true }, diff --git a/packages/connectors/src/utils/getInjectedName.ts b/packages/connectors/src/utils/getInjectedName.ts index 310d764e..eea7a4d8 100644 --- a/packages/connectors/src/utils/getInjectedName.ts +++ b/packages/connectors/src/utils/getInjectedName.ts @@ -39,6 +39,7 @@ export function getInjectedName(ethereum?: WindowProvider) { if (provider.isRabby) return 'Rabby Wallet' if (provider.isRainbow) return 'Rainbow' if (provider.isStatus) return 'Status' + if (provider.isSubWallet) return 'SubWallet' if (provider.isTalisman) return 'Talisman' if (provider.isTally) return 'Taho' if (provider.isTokenPocket) return 'TokenPocket' From 408740a4b891d37702435fa13360e737a4921af9 Mon Sep 17 00:00:00 2001 From: "Shankar D. Warang" Date: Wed, 9 Aug 2023 09:43:34 +0530 Subject: [PATCH 17/30] feat: update Multicall3 for Edgeware EdgeEVM (#461) * Update Multicall3 for Edgeware EdgeEVM * Create lazy-lamps-switch.md --------- Co-authored-by: jxom --- .changeset/lazy-lamps-switch.md | 5 +++++ packages/chains/src/edgeware.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/lazy-lamps-switch.md diff --git a/.changeset/lazy-lamps-switch.md b/.changeset/lazy-lamps-switch.md new file mode 100644 index 00000000..e2d05c92 --- /dev/null +++ b/.changeset/lazy-lamps-switch.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Updated Multicall3 for Edgeware EdgeEVM diff --git a/packages/chains/src/edgeware.ts b/packages/chains/src/edgeware.ts index 5188190d..f82b6d3f 100644 --- a/packages/chains/src/edgeware.ts +++ b/packages/chains/src/edgeware.ts @@ -19,8 +19,8 @@ export const edgeware = { }, contracts: { multicall3: { - address: '0xDDF47eEB4e5FF4AA60e063E0Ec4f7C35B47Ed445', - blockCreated: 17126780, + address: '0xca11bde05977b3631167028862be2a173976ca11', + blockCreated: 18117872, }, }, } as const satisfies Chain From 8fdacd8c24e5ee7a66e77f426ba53ca4a2950d56 Mon Sep 17 00:00:00 2001 From: Mithras <120666231+Mithreum@users.noreply.github.com> Date: Wed, 9 Aug 2023 07:15:06 +0300 Subject: [PATCH 18/30] feat: add fuseSparkent Chain (#464) * Add fuseSparkent Chain * Update fuseSparknet.ts * Update fuseSparknet.ts * Update fuseSparknet.ts * Create angry-cougars-know.md --------- Co-authored-by: jxom --- .changeset/angry-cougars-know.md | 5 +++++ packages/chains/src/fuseSparknet.ts | 18 ++++++++++++++++++ packages/chains/src/index.ts | 1 + 3 files changed, 24 insertions(+) create mode 100644 .changeset/angry-cougars-know.md create mode 100644 packages/chains/src/fuseSparknet.ts diff --git a/.changeset/angry-cougars-know.md b/.changeset/angry-cougars-know.md new file mode 100644 index 00000000..31ff49c1 --- /dev/null +++ b/.changeset/angry-cougars-know.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Sparknet Chain diff --git a/packages/chains/src/fuseSparknet.ts b/packages/chains/src/fuseSparknet.ts new file mode 100644 index 00000000..87addb7b --- /dev/null +++ b/packages/chains/src/fuseSparknet.ts @@ -0,0 +1,18 @@ +import { Chain } from './types' + +export const sparknet = { + id: 123, + name: '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 diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 14930846..81534b3d 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -46,6 +46,7 @@ export { flare } from './flare' export { flareTestnet } from './flareTestnet' export { foundry } from './foundry' export { fuse } from './fuse' +export { sparknet } from './fuseSparknet' export { iotex } from './iotex' export { iotexTestnet } from './iotexTestnet' export { goerli } from './goerli' From d8b2fd5869b1b1c8d4d060dc69b11a63accfcdb0 Mon Sep 17 00:00:00 2001 From: jxom Date: Wed, 9 Aug 2023 04:15:37 +0000 Subject: [PATCH 19/30] chore: format --- packages/chains/src/fuseSparknet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/chains/src/fuseSparknet.ts b/packages/chains/src/fuseSparknet.ts index 87addb7b..7d8e9e48 100644 --- a/packages/chains/src/fuseSparknet.ts +++ b/packages/chains/src/fuseSparknet.ts @@ -14,5 +14,5 @@ export const sparknet = { name: 'Sparkent Explorer', url: 'https://explorer.fusespark.io', }, - } + }, } as const satisfies Chain From 5683df2adc4d23ed858182eab49d0f2cf614ec8d Mon Sep 17 00:00:00 2001 From: d0wnlore <81343175+d0wnlore@users.noreply.github.com> Date: Wed, 9 Aug 2023 12:15:56 +0800 Subject: [PATCH 20/30] feat: add Mode Testnet chain (#465) * Add Mode Testnet chain * Update modeTestnet.ts --------- Co-authored-by: jxom --- .changeset/odd-bulldogs-exist.md | 5 +++++ packages/chains/README.md | 1 + packages/chains/src/index.ts | 1 + packages/chains/src/modeTestnet.ts | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 .changeset/odd-bulldogs-exist.md create mode 100644 packages/chains/src/modeTestnet.ts diff --git a/.changeset/odd-bulldogs-exist.md b/.changeset/odd-bulldogs-exist.md new file mode 100644 index 00000000..8a2629bf --- /dev/null +++ b/.changeset/odd-bulldogs-exist.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Mode Testnet chain. diff --git a/packages/chains/README.md b/packages/chains/README.md index 8ae3eb02..8586e64a 100644 --- a/packages/chains/README.md +++ b/packages/chains/README.md @@ -65,6 +65,7 @@ const { chains, provider } = configureChains( - `mantleTestnet` - `metis` - `metisGoerli` +- `modeTestnet` - `moonbaseAlpha` - `moonbeam` - `moonriver` diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 81534b3d..1969645c 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -67,6 +67,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' diff --git a/packages/chains/src/modeTestnet.ts b/packages/chains/src/modeTestnet.ts new file mode 100644 index 00000000..5567e7ed --- /dev/null +++ b/packages/chains/src/modeTestnet.ts @@ -0,0 +1,23 @@ +import { Chain } from './types' + +export const modeTestnet = { + id: 919, + name: 'Mode Testnet', + network: 'mode-testnet', + nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://sepolia.mode.network'], + }, + public: { + http: ['https://sepolia.mode.network'], + }, + }, + blockExplorers: { + default: { + name: 'Blockscout', + url: 'https://sepolia.explorer.mode.network', + }, + }, + testnet: true, +} as const satisfies Chain From 4f514c652381c4f09d22037bc34d61663e08dc77 Mon Sep 17 00:00:00 2001 From: Istora Mandiri <1696942+IstoraMandiri@users.noreply.github.com> Date: Wed, 9 Aug 2023 11:16:41 +0700 Subject: [PATCH 21/30] feat: add Ethereum Classic chain (#466) * Added Ethereum Classic chain * Add Classic to readme * Fix classic blockscout explorer name * Update classic.ts --------- Co-authored-by: jxom --- .changeset/quick-queens-protect.md | 5 +++++ packages/chains/README.md | 1 + packages/chains/src/classic.ts | 22 ++++++++++++++++++++++ packages/chains/src/index.ts | 1 + 4 files changed, 29 insertions(+) create mode 100644 .changeset/quick-queens-protect.md create mode 100644 packages/chains/src/classic.ts diff --git a/.changeset/quick-queens-protect.md b/.changeset/quick-queens-protect.md new file mode 100644 index 00000000..608e5684 --- /dev/null +++ b/.changeset/quick-queens-protect.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": minor +--- + +Added Ethereum Classic Chain diff --git a/packages/chains/README.md b/packages/chains/README.md index 8586e64a..4baaa12e 100644 --- a/packages/chains/README.md +++ b/packages/chains/README.md @@ -45,6 +45,7 @@ const { chains, provider } = configureChains( - `celo` - `celoAlfajores` - `celoCannoli` +- `classic` - `cronos` - `cronosTestnet` - `edgeware` diff --git a/packages/chains/src/classic.ts b/packages/chains/src/classic.ts new file mode 100644 index 00000000..0677a059 --- /dev/null +++ b/packages/chains/src/classic.ts @@ -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 diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 1969645c..ff92204b 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -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' From 84bf0037424fcc0558a954cebddfe70144ada64c Mon Sep 17 00:00:00 2001 From: "moxey.eth" Date: Wed, 9 Aug 2023 06:19:51 +0200 Subject: [PATCH 22/30] chore: update changesets --- .changeset/angry-cougars-know.md | 2 +- .changeset/beige-trees-dress.md | 2 +- .changeset/calm-swans-worry.md | 2 +- .changeset/smooth-plums-swim.md | 2 +- .changeset/tame-cobras-worry.md | 2 +- .changeset/twelve-rocks-glow.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.changeset/angry-cougars-know.md b/.changeset/angry-cougars-know.md index 31ff49c1..f4985a83 100644 --- a/.changeset/angry-cougars-know.md +++ b/.changeset/angry-cougars-know.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Sparknet Chain diff --git a/.changeset/beige-trees-dress.md b/.changeset/beige-trees-dress.md index 899a9031..bb26f799 100644 --- a/.changeset/beige-trees-dress.md +++ b/.changeset/beige-trees-dress.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added multicall3 for mantle diff --git a/.changeset/calm-swans-worry.md b/.changeset/calm-swans-worry.md index 04cde68e..29e9628c 100644 --- a/.changeset/calm-swans-worry.md +++ b/.changeset/calm-swans-worry.md @@ -2,4 +2,4 @@ "@wagmi/connectors": patch --- -Add SubWallet wallet +Add SubWallet injected flags diff --git a/.changeset/smooth-plums-swim.md b/.changeset/smooth-plums-swim.md index da9b2443..eac91e93 100644 --- a/.changeset/smooth-plums-swim.md +++ b/.changeset/smooth-plums-swim.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Add zetachainAthens3 testnet diff --git a/.changeset/tame-cobras-worry.md b/.changeset/tame-cobras-worry.md index f5af7f2c..d9318e9d 100644 --- a/.changeset/tame-cobras-worry.md +++ b/.changeset/tame-cobras-worry.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Scroll Sepolia testnet diff --git a/.changeset/twelve-rocks-glow.md b/.changeset/twelve-rocks-glow.md index 6b9f7275..807c1aeb 100644 --- a/.changeset/twelve-rocks-glow.md +++ b/.changeset/twelve-rocks-glow.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Q mainnet and testnet From c07bf403c00f5f1a1129d6eb1ebd2d994f34dcfb Mon Sep 17 00:00:00 2001 From: "moxey.eth" Date: Wed, 9 Aug 2023 06:25:45 +0200 Subject: [PATCH 23/30] chore: update --- .changeset/light-toes-relate.md | 2 +- .changeset/odd-bulldogs-exist.md | 2 +- .changeset/perfect-lobsters-chew.md | 2 +- .changeset/selfish-experts-lay.md | 2 +- packages/chains/src/eon.ts | 2 +- packages/chains/src/fuseSparknet.ts | 4 ++-- packages/chains/src/gobi.ts | 2 +- packages/chains/src/index.ts | 7 ++++++- packages/chains/src/rollux.ts | 2 +- packages/chains/src/rolluxTestnet.ts | 2 +- packages/chains/src/syscoin.ts | 4 ++-- packages/chains/src/syscoinTestnet.ts | 7 +++++-- 12 files changed, 23 insertions(+), 15 deletions(-) diff --git a/.changeset/light-toes-relate.md b/.changeset/light-toes-relate.md index ccc5a38e..2fb1a798 100644 --- a/.changeset/light-toes-relate.md +++ b/.changeset/light-toes-relate.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Horizen EON. diff --git a/.changeset/odd-bulldogs-exist.md b/.changeset/odd-bulldogs-exist.md index 8a2629bf..9a940e8c 100644 --- a/.changeset/odd-bulldogs-exist.md +++ b/.changeset/odd-bulldogs-exist.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Mode Testnet chain. diff --git a/.changeset/perfect-lobsters-chew.md b/.changeset/perfect-lobsters-chew.md index 7f68e839..d71b5034 100644 --- a/.changeset/perfect-lobsters-chew.md +++ b/.changeset/perfect-lobsters-chew.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Linea chain. diff --git a/.changeset/selfish-experts-lay.md b/.changeset/selfish-experts-lay.md index ded92419..1fb82f1c 100644 --- a/.changeset/selfish-experts-lay.md +++ b/.changeset/selfish-experts-lay.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Updated syscoin. diff --git a/packages/chains/src/eon.ts b/packages/chains/src/eon.ts index 705681a4..4628b04a 100644 --- a/packages/chains/src/eon.ts +++ b/packages/chains/src/eon.ts @@ -1,4 +1,4 @@ -import { Chain } from 'wagmi' +import { Chain } from './types' export const eon = { id: 7_332, diff --git a/packages/chains/src/fuseSparknet.ts b/packages/chains/src/fuseSparknet.ts index 7d8e9e48..d4594f7b 100644 --- a/packages/chains/src/fuseSparknet.ts +++ b/packages/chains/src/fuseSparknet.ts @@ -1,8 +1,8 @@ import { Chain } from './types' -export const sparknet = { +export const fuseSparknet = { id: 123, - name: 'Sparknet', + name: 'Fuse Sparknet', network: 'fuse', nativeCurrency: { name: 'Spark', symbol: 'SPARK', decimals: 18 }, rpcUrls: { diff --git a/packages/chains/src/gobi.ts b/packages/chains/src/gobi.ts index bf6f4c3a..efb47c4e 100644 --- a/packages/chains/src/gobi.ts +++ b/packages/chains/src/gobi.ts @@ -1,4 +1,4 @@ -import { Chain } from 'wagmi' +import { Chain } from './types' export const gobi = { id: 1_663, diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index ff92204b..7176d56a 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -47,9 +47,10 @@ export { flare } from './flare' export { flareTestnet } from './flareTestnet' export { foundry } from './foundry' export { fuse } from './fuse' -export { sparknet } from './fuseSparknet' +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' @@ -87,6 +88,8 @@ 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' @@ -111,6 +114,7 @@ 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' @@ -124,5 +128,6 @@ 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' diff --git a/packages/chains/src/rollux.ts b/packages/chains/src/rollux.ts index 32b9ab30..621fd504 100644 --- a/packages/chains/src/rollux.ts +++ b/packages/chains/src/rollux.ts @@ -12,7 +12,7 @@ export const rollux = { rpcUrls: { default: { http: ['https://rpc.rollux.com'], - websocket: ['wss://rpc.rollux.com/wss'], + webSocket: ['wss://rpc.rollux.com/wss'], }, public: { http: ['https://rollux.public-rpc.com'] }, }, diff --git a/packages/chains/src/rolluxTestnet.ts b/packages/chains/src/rolluxTestnet.ts index 1c5ad4a9..12e637e6 100644 --- a/packages/chains/src/rolluxTestnet.ts +++ b/packages/chains/src/rolluxTestnet.ts @@ -12,7 +12,7 @@ export const rolluxTestnet = { rpcUrls: { default: { http: ['https://rpc-tanenbaum.rollux.com/'], - websocket: ['wss://rpc-tanenbaum.rollux.com/wss'], + webSocket: ['wss://rpc-tanenbaum.rollux.com/wss'], }, public: { http: ['https://rpc-tanenbaum.rollux.com/'] }, }, diff --git a/packages/chains/src/syscoin.ts b/packages/chains/src/syscoin.ts index 1c85cdf6..eb23f5ba 100644 --- a/packages/chains/src/syscoin.ts +++ b/packages/chains/src/syscoin.ts @@ -12,11 +12,11 @@ export const syscoin = { rpcUrls: { default: { http: ['https://rpc.syscoin.org'], - websocket: ['wss://rpc.syscoin.org/wss'], + webSocket: ['wss://rpc.syscoin.org/wss'], }, public: { http: ['https://rpc.syscoin.org'], - websocket: ['wss://rpc.syscoin.org/wss'], + webSocket: ['wss://rpc.syscoin.org/wss'], }, }, blockExplorers: { diff --git a/packages/chains/src/syscoinTestnet.ts b/packages/chains/src/syscoinTestnet.ts index 9cc74284..a3f534d2 100644 --- a/packages/chains/src/syscoinTestnet.ts +++ b/packages/chains/src/syscoinTestnet.ts @@ -12,9 +12,12 @@ export const syscoinTestnet = { rpcUrls: { default: { http: ['https://rpc.tanenbaum.io'], - websocket: ['wss://rpc.tanenbaum.io/wss'], + webSocket: ['wss://rpc.tanenbaum.io/wss'], + }, + public: { + http: ['https://rpc.tanenbaum.io'], + webSocket: ['wss://rpc.tanenbaum.io/wss'], }, - public: { http: ['https://rpc.tanenbaum.io'] }, }, blockExplorers: { default: { name: 'SyscoinTestnetExplorer', url: 'https://tanenbaum.io' }, From 9a092c8218b284ec206d3eaae8f873fc3e80225f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 9 Aug 2023 06:30:17 +0200 Subject: [PATCH 24/30] chore: version packages (#438) * chore: version packages * Update package.json * Update CHANGELOG.md --------- Co-authored-by: github-actions[bot] Co-authored-by: jxom --- .changeset/angry-cougars-know.md | 5 ----- .changeset/beige-trees-dress.md | 5 ----- .changeset/calm-swans-worry.md | 5 ----- .changeset/curly-days-travel.md | 5 ----- .changeset/fifty-clouds-drive.md | 5 ----- .changeset/lazy-lamps-switch.md | 5 ----- .changeset/light-toes-relate.md | 5 ----- .changeset/lovely-keys-train.md | 5 ----- .changeset/odd-avocados-invite.md | 5 ----- .changeset/odd-bulldogs-exist.md | 5 ----- .changeset/perfect-lobsters-chew.md | 5 ----- .changeset/quick-queens-protect.md | 5 ----- .changeset/selfish-experts-lay.md | 6 ------ .changeset/shiny-files-applaud.md | 5 ----- .changeset/smooth-plums-swim.md | 5 ----- .changeset/spotty-stingrays-count.md | 5 ----- .changeset/stale-zebras-provide.md | 5 ----- .changeset/tame-cobras-worry.md | 5 ----- .changeset/twelve-rocks-glow.md | 5 ----- .changeset/wet-chairs-itch.md | 5 ----- .changeset/wise-pens-brake.md | 5 ----- .changeset/yellow-icons-carry.md | 5 ----- packages/chains/CHANGELOG.md | 26 +++++++++++++++++++++++ packages/chains/package.json | 2 +- packages/connectors/CHANGELOG.md | 31 ++++++++++++++++++++++++++++ packages/connectors/package.json | 4 ++-- 26 files changed, 60 insertions(+), 114 deletions(-) delete mode 100644 .changeset/angry-cougars-know.md delete mode 100644 .changeset/beige-trees-dress.md delete mode 100644 .changeset/calm-swans-worry.md delete mode 100644 .changeset/curly-days-travel.md delete mode 100644 .changeset/fifty-clouds-drive.md delete mode 100644 .changeset/lazy-lamps-switch.md delete mode 100644 .changeset/light-toes-relate.md delete mode 100644 .changeset/lovely-keys-train.md delete mode 100644 .changeset/odd-avocados-invite.md delete mode 100644 .changeset/odd-bulldogs-exist.md delete mode 100644 .changeset/perfect-lobsters-chew.md delete mode 100644 .changeset/quick-queens-protect.md delete mode 100644 .changeset/selfish-experts-lay.md delete mode 100644 .changeset/shiny-files-applaud.md delete mode 100644 .changeset/smooth-plums-swim.md delete mode 100644 .changeset/spotty-stingrays-count.md delete mode 100644 .changeset/stale-zebras-provide.md delete mode 100644 .changeset/tame-cobras-worry.md delete mode 100644 .changeset/twelve-rocks-glow.md delete mode 100644 .changeset/wet-chairs-itch.md delete mode 100644 .changeset/wise-pens-brake.md delete mode 100644 .changeset/yellow-icons-carry.md diff --git a/.changeset/angry-cougars-know.md b/.changeset/angry-cougars-know.md deleted file mode 100644 index f4985a83..00000000 --- a/.changeset/angry-cougars-know.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Sparknet Chain diff --git a/.changeset/beige-trees-dress.md b/.changeset/beige-trees-dress.md deleted file mode 100644 index bb26f799..00000000 --- a/.changeset/beige-trees-dress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added multicall3 for mantle diff --git a/.changeset/calm-swans-worry.md b/.changeset/calm-swans-worry.md deleted file mode 100644 index 29e9628c..00000000 --- a/.changeset/calm-swans-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": patch ---- - -Add SubWallet injected flags diff --git a/.changeset/curly-days-travel.md b/.changeset/curly-days-travel.md deleted file mode 100644 index cbd57182..00000000 --- a/.changeset/curly-days-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": minor ---- - -Updated WalletConnect dependencies. diff --git a/.changeset/fifty-clouds-drive.md b/.changeset/fifty-clouds-drive.md deleted file mode 100644 index 6bcb3a97..00000000 --- a/.changeset/fifty-clouds-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Updated Cronos Chain RPCs. diff --git a/.changeset/lazy-lamps-switch.md b/.changeset/lazy-lamps-switch.md deleted file mode 100644 index e2d05c92..00000000 --- a/.changeset/lazy-lamps-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Updated Multicall3 for Edgeware EdgeEVM diff --git a/.changeset/light-toes-relate.md b/.changeset/light-toes-relate.md deleted file mode 100644 index 2fb1a798..00000000 --- a/.changeset/light-toes-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Horizen EON. diff --git a/.changeset/lovely-keys-train.md b/.changeset/lovely-keys-train.md deleted file mode 100644 index a0969485..00000000 --- a/.changeset/lovely-keys-train.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Added multicall3 for Gnosis diff --git a/.changeset/odd-avocados-invite.md b/.changeset/odd-avocados-invite.md deleted file mode 100644 index 14815ca3..00000000 --- a/.changeset/odd-avocados-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Ronin and Saigon chains diff --git a/.changeset/odd-bulldogs-exist.md b/.changeset/odd-bulldogs-exist.md deleted file mode 100644 index 9a940e8c..00000000 --- a/.changeset/odd-bulldogs-exist.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Mode Testnet chain. diff --git a/.changeset/perfect-lobsters-chew.md b/.changeset/perfect-lobsters-chew.md deleted file mode 100644 index d71b5034..00000000 --- a/.changeset/perfect-lobsters-chew.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Linea chain. diff --git a/.changeset/quick-queens-protect.md b/.changeset/quick-queens-protect.md deleted file mode 100644 index 608e5684..00000000 --- a/.changeset/quick-queens-protect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Ethereum Classic Chain diff --git a/.changeset/selfish-experts-lay.md b/.changeset/selfish-experts-lay.md deleted file mode 100644 index 1fb82f1c..00000000 --- a/.changeset/selfish-experts-lay.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Updated syscoin. -Added rollux, rolluxTestnet & syscoinTestnet. diff --git a/.changeset/shiny-files-applaud.md b/.changeset/shiny-files-applaud.md deleted file mode 100644 index f7ee225e..00000000 --- a/.changeset/shiny-files-applaud.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": patch ---- - -Added Desig Wallet name mapping. diff --git a/.changeset/smooth-plums-swim.md b/.changeset/smooth-plums-swim.md deleted file mode 100644 index eac91e93..00000000 --- a/.changeset/smooth-plums-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Add zetachainAthens3 testnet diff --git a/.changeset/spotty-stingrays-count.md b/.changeset/spotty-stingrays-count.md deleted file mode 100644 index 357fe0fa..00000000 --- a/.changeset/spotty-stingrays-count.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Updated SKALE Network Chains with WebSocket RPC URLs and Multicall addresses. diff --git a/.changeset/stale-zebras-provide.md b/.changeset/stale-zebras-provide.md deleted file mode 100644 index 5e54107a..00000000 --- a/.changeset/stale-zebras-provide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Updated Base RPC URL. diff --git a/.changeset/tame-cobras-worry.md b/.changeset/tame-cobras-worry.md deleted file mode 100644 index d9318e9d..00000000 --- a/.changeset/tame-cobras-worry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Scroll Sepolia testnet diff --git a/.changeset/twelve-rocks-glow.md b/.changeset/twelve-rocks-glow.md deleted file mode 100644 index 807c1aeb..00000000 --- a/.changeset/twelve-rocks-glow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Q mainnet and testnet diff --git a/.changeset/wet-chairs-itch.md b/.changeset/wet-chairs-itch.md deleted file mode 100644 index 3a961ed2..00000000 --- a/.changeset/wet-chairs-itch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": patch ---- - -Removed "Testnet" on mantle mainnet explorer name. diff --git a/.changeset/wise-pens-brake.md b/.changeset/wise-pens-brake.md deleted file mode 100644 index a2c0103c..00000000 --- a/.changeset/wise-pens-brake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": patch ---- - -Added Fordefi Wallet name mapping. diff --git a/.changeset/yellow-icons-carry.md b/.changeset/yellow-icons-carry.md deleted file mode 100644 index 0383f29a..00000000 --- a/.changeset/yellow-icons-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": patch ---- - -Added Coin98 Wallet injected flags. diff --git a/packages/chains/CHANGELOG.md b/packages/chains/CHANGELOG.md index 0588bad2..0a7bd6a0 100644 --- a/packages/chains/CHANGELOG.md +++ b/packages/chains/CHANGELOG.md @@ -1,5 +1,31 @@ # @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 diff --git a/packages/chains/package.json b/packages/chains/package.json index 9b101553..8142ffe2 100644 --- a/packages/chains/package.json +++ b/packages/chains/package.json @@ -2,7 +2,7 @@ "name": "@wagmi/chains", "description": "A collection of chains for wagmi", "license": "MIT", - "version": "1.6.0", + "version": "1.7.0", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", diff --git a/packages/connectors/CHANGELOG.md b/packages/connectors/CHANGELOG.md index 8d541a80..cb7becd9 100644 --- a/packages/connectors/CHANGELOG.md +++ b/packages/connectors/CHANGELOG.md @@ -1,5 +1,36 @@ # @wagmi/connectors +## 2.7.0 + +### Minor Changes + +- a270cb9: Updated WalletConnect dependencies. + +### Patch Changes + +- 06cc1b4: Add SubWallet injected flags +- 131a337: Added Desig Wallet name mapping. +- e089d7d: Added Fordefi Wallet name mapping. +- ce84d0a: Added Coin98 Wallet injected flags. +- Updated dependencies [8fdacd8] +- Updated dependencies [2e9283a] +- Updated dependencies [a432a2b] +- Updated dependencies [408740a] +- Updated dependencies [6794a61] +- Updated dependencies [0c5a32b] +- Updated dependencies [ebc85ec] +- Updated dependencies [5683df2] +- Updated dependencies [414ff36] +- Updated dependencies [4f514c6] +- Updated dependencies [1cf72bc] +- Updated dependencies [cd68471] +- Updated dependencies [baf3143] +- Updated dependencies [9737f24] +- Updated dependencies [7797238] +- Updated dependencies [3846811] +- Updated dependencies [0ea344c] + - @wagmi/chains@1.7.0 + ## 2.6.6 ### Patch Changes diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 8912c0ae..8b754cec 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -2,13 +2,13 @@ "name": "@wagmi/connectors", "description": "A collection of connectors for wagmi", "license": "MIT", - "version": "2.6.6", + "version": "2.7.0", "scripts": { "build": "tsup", "dev": "DEV=true tsup" }, "peerDependencies": { - "@wagmi/chains": ">=1.3.0", + "@wagmi/chains": ">=1.7.0", "typescript": ">=5.0.4", "viem": ">=0.3.35" }, From 484c8462d5aeeb86a2b687852f64dcb48b9f833d Mon Sep 17 00:00:00 2001 From: Ashish Tripathi Date: Sat, 12 Aug 2023 20:42:55 +0530 Subject: [PATCH 25/30] feat: add energy web chains (ewc & volta) (#447) * feat: add energy web chains (ewc & volta) * chore: update changeset * docs: add energy web chains to readme * Update volta.ts * Update ewc.ts * Update smooth-wolves-ring.md --------- Co-authored-by: jxom --- .changeset/smooth-wolves-ring.md | 5 +++++ packages/chains/README.md | 2 ++ packages/chains/src/ewc.ts | 27 +++++++++++++++++++++++++++ packages/chains/src/index.ts | 2 ++ packages/chains/src/volta.ts | 27 +++++++++++++++++++++++++++ 5 files changed, 63 insertions(+) create mode 100644 .changeset/smooth-wolves-ring.md create mode 100644 packages/chains/src/ewc.ts create mode 100644 packages/chains/src/volta.ts diff --git a/.changeset/smooth-wolves-ring.md b/.changeset/smooth-wolves-ring.md new file mode 100644 index 00000000..01e9cd4e --- /dev/null +++ b/.changeset/smooth-wolves-ring.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": major +--- + +Added `ewc` & `volta` chains. diff --git a/packages/chains/README.md b/packages/chains/README.md index 4baaa12e..23ddd6f4 100644 --- a/packages/chains/README.md +++ b/packages/chains/README.md @@ -52,6 +52,7 @@ const { chains, provider } = configureChains( - `edgewareTestnet` - `eos` - `eosTestnet` +- `ewc` - `fantom` - `fantomTestnet` - `foundry` @@ -99,6 +100,7 @@ const { chains, provider } = configureChains( - `taraxaTestnet` - `telos` - `telosTestnet` +- `volta` - `zkSync` - `zkSyncTestnet` - `zora` diff --git a/packages/chains/src/ewc.ts b/packages/chains/src/ewc.ts new file mode 100644 index 00000000..f1ed4ca2 --- /dev/null +++ b/packages/chains/src/ewc.ts @@ -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 diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 7176d56a..840c25dd 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -37,6 +37,7 @@ 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' @@ -121,6 +122,7 @@ 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' diff --git a/packages/chains/src/volta.ts b/packages/chains/src/volta.ts new file mode 100644 index 00000000..d974171f --- /dev/null +++ b/packages/chains/src/volta.ts @@ -0,0 +1,27 @@ +import { Chain } from './types' + +export const volta = { + id: 73799, + name: 'Volta Chain', + network: 'volta', + nativeCurrency: { name: 'VT', symbol: 'VT', decimals: 18 }, + rpcUrls: { + default: { + http: ['https://volta-rpc.energyweb.org'], + }, + public: { + http: ['https://volta-rpc.energyweb.org'], + }, + }, + blockExplorers: { + default: { + name: 'Volta Explorer', + url: 'https://volta-explorer.energyweb.org', + }, + }, + contracts: { + ensRegistry: { + address: '0xd7CeF70Ba7efc2035256d828d5287e2D285CD1ac', + }, + }, +} as const satisfies Chain From 081419cf737f26365c5e199a0e348b094e5383f9 Mon Sep 17 00:00:00 2001 From: jxom Date: Sun, 13 Aug 2023 21:09:17 +0200 Subject: [PATCH 26/30] Update smooth-wolves-ring.md --- .changeset/smooth-wolves-ring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/smooth-wolves-ring.md b/.changeset/smooth-wolves-ring.md index 01e9cd4e..a0a9f517 100644 --- a/.changeset/smooth-wolves-ring.md +++ b/.changeset/smooth-wolves-ring.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": major +"@wagmi/chains": minor --- Added `ewc` & `volta` chains. From d1ef9b4123d202f35d8e8241e4d190684bc3e96d Mon Sep 17 00:00:00 2001 From: CedarMist <134699267+CedarMist@users.noreply.github.com> Date: Mon, 14 Aug 2023 19:48:18 +0100 Subject: [PATCH 27/30] feat: Add Oasis Sapphire & Emerald chains (#471) * Create sapphire.ts * Update sapphire.ts to use hexadecimal chain id (0x5afe) * Create sapphireTestnet.ts * Create emerald.ts * Update sapphire.ts - added webSocket URL * Update emerald.ts - fixed webSocket URLs * added WebSocket URL for sapphire testnet & changed testnet token to TEST * Update emerald.ts * Update sapphire.ts * Update sapphireTestnet.ts * Add changeset * Ran pnpm lint & lint:fix * Add Sapphire, Sapphire Testnet & Emerald to index.ts --------- Co-authored-by: jxom --- .changeset/giant-pandas-laugh.md | 5 ++++ packages/chains/src/emerald.ts | 34 ++++++++++++++++++++++++++ packages/chains/src/index.ts | 3 +++ packages/chains/src/sapphire.ts | 34 ++++++++++++++++++++++++++ packages/chains/src/sapphireTestnet.ts | 28 +++++++++++++++++++++ 5 files changed, 104 insertions(+) create mode 100644 .changeset/giant-pandas-laugh.md create mode 100644 packages/chains/src/emerald.ts create mode 100644 packages/chains/src/sapphire.ts create mode 100644 packages/chains/src/sapphireTestnet.ts diff --git a/.changeset/giant-pandas-laugh.md b/.changeset/giant-pandas-laugh.md new file mode 100644 index 00000000..e4bca1c6 --- /dev/null +++ b/.changeset/giant-pandas-laugh.md @@ -0,0 +1,5 @@ +--- +"@wagmi/chains": patch +--- + +Added Emerald, Sapphire & Sapphire Testnet chains. diff --git a/packages/chains/src/emerald.ts b/packages/chains/src/emerald.ts new file mode 100644 index 00000000..0573f39e --- /dev/null +++ b/packages/chains/src/emerald.ts @@ -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 diff --git a/packages/chains/src/index.ts b/packages/chains/src/index.ts index 840c25dd..297e07ff 100644 --- a/packages/chains/src/index.ts +++ b/packages/chains/src/index.ts @@ -31,6 +31,7 @@ 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' @@ -95,6 +96,8 @@ 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' diff --git a/packages/chains/src/sapphire.ts b/packages/chains/src/sapphire.ts new file mode 100644 index 00000000..19af3824 --- /dev/null +++ b/packages/chains/src/sapphire.ts @@ -0,0 +1,34 @@ +import { Chain } from './types' + +export const sapphire = { + id: 23294, + name: 'Oasis Sapphire', + network: 'sapphire', + nativeCurrency: { + decimals: 18, + name: 'Oasis ROSE', + symbol: 'ROSE', + }, + rpcUrls: { + default: { + http: ['https://sapphire.oasis.io'], + webSocket: ['wss://sapphire.oasis.io/ws'], + }, + public: { + http: ['https://sapphire.oasis.io'], + webSocket: ['wss://sapphire.oasis.io/ws'], + }, + }, + blockExplorers: { + default: { + name: 'Oasis Explorer', + url: 'https://explorer.oasis.io/mainnet/sapphire', + }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 734531, + }, + }, +} as const satisfies Chain diff --git a/packages/chains/src/sapphireTestnet.ts b/packages/chains/src/sapphireTestnet.ts new file mode 100644 index 00000000..0ab5f50f --- /dev/null +++ b/packages/chains/src/sapphireTestnet.ts @@ -0,0 +1,28 @@ +import { Chain } from './types' + +export const sapphireTestnet = { + id: 23295, + name: 'Oasis Sapphire Testnet', + network: 'sapphireTestnet', + nativeCurrency: { + decimals: 18, + name: 'Oasis TEST', + symbol: 'TEST', + }, + rpcUrls: { + default: { + http: ['https://testnet.sapphire.oasis.dev'], + webSocket: ['wss://testnet.sapphire.oasis.dev/ws'], + }, + public: { + http: ['https://testnet.sapphire.oasis.dev'], + webSocket: ['wss://testnet.sapphire.oasis.dev/ws'], + }, + }, + blockExplorers: { + default: { + name: 'Oasis Explorer', + url: 'https://explorer.oasis.io/testnet/sapphire', + }, + }, +} as const satisfies Chain From 849d7a5d2c630c1b55f3414cea034303e84250f9 Mon Sep 17 00:00:00 2001 From: jxom Date: Mon, 14 Aug 2023 20:52:55 +0200 Subject: [PATCH 28/30] Update giant-pandas-laugh.md --- .changeset/giant-pandas-laugh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/giant-pandas-laugh.md b/.changeset/giant-pandas-laugh.md index e4bca1c6..e32cd957 100644 --- a/.changeset/giant-pandas-laugh.md +++ b/.changeset/giant-pandas-laugh.md @@ -1,5 +1,5 @@ --- -"@wagmi/chains": patch +"@wagmi/chains": minor --- Added Emerald, Sapphire & Sapphire Testnet chains. From 0306383ced8d867254adbc68347a1bcd4949c508 Mon Sep 17 00:00:00 2001 From: 0xAsimetriq <3154053+0xAsimetriq@users.noreply.github.com> Date: Tue, 29 Aug 2023 16:07:49 +0100 Subject: [PATCH 29/30] Update walletconnect dependencies (#491) --- .changeset/rich-mails-lay.md | 5 +++ packages/connectors/package.json | 4 +-- pnpm-lock.yaml | 58 ++++++++++++++++---------------- 3 files changed, 36 insertions(+), 31 deletions(-) create mode 100644 .changeset/rich-mails-lay.md diff --git a/.changeset/rich-mails-lay.md b/.changeset/rich-mails-lay.md new file mode 100644 index 00000000..440c0111 --- /dev/null +++ b/.changeset/rich-mails-lay.md @@ -0,0 +1,5 @@ +--- +"@wagmi/connectors": patch +--- + +Updated WalletConnect dependencies diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 8b754cec..36149023 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -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.9.2", - "@walletconnect/utils": "2.9.2", + "@walletconnect/ethereum-provider": "2.10.0", + "@walletconnect/utils": "2.10.0", "@walletconnect/legacy-provider": "^2.0.0", "@walletconnect/modal": "2.6.1", "abitype": "0.8.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b0ca557..d97bf147 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,8 +96,8 @@ importers: specifier: ^8.0.0 version: 8.0.0(typescript@5.0.4) '@walletconnect/ethereum-provider': - specifier: 2.9.2 - version: 2.9.2(@walletconnect/modal@2.6.1)(lokijs@1.5.12) + specifier: 2.10.0 + version: 2.10.0(@walletconnect/modal@2.6.1)(lokijs@1.5.12) '@walletconnect/legacy-provider': specifier: ^2.0.0 version: 2.0.0 @@ -105,8 +105,8 @@ importers: specifier: 2.6.1 version: 2.6.1(react@18.2.0) '@walletconnect/utils': - specifier: 2.9.2 - version: 2.9.2(lokijs@1.5.12) + specifier: 2.10.0 + version: 2.10.0(lokijs@1.5.12) abitype: specifier: 0.8.7 version: 0.8.7(typescript@5.0.4) @@ -983,8 +983,8 @@ packages: dependencies: typescript: 5.0.4 - /@walletconnect/core@2.9.2(lokijs@1.5.12): - resolution: {integrity: sha512-VARMPAx8sIgodeyngDHbealP3B621PQqjqKsByFUTOep8ZI1/R/20zU+cmq6j9RCrL+kLKZcrZqeVzs8Z7OlqQ==} + /@walletconnect/core@2.10.0(lokijs@1.5.12): + resolution: {integrity: sha512-Z8pdorfIMueuiBXLdnf7yloiO9JIiobuxN3j0OTal+MYc4q5/2O7d+jdD1DAXbLi1taJx3x60UXT/FPVkjIqIQ==} dependencies: '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-provider': 1.0.13 @@ -997,8 +997,8 @@ packages: '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.2(lokijs@1.5.12) - '@walletconnect/utils': 2.9.2(lokijs@1.5.12) + '@walletconnect/types': 2.10.0(lokijs@1.5.12) + '@walletconnect/utils': 2.10.0(lokijs@1.5.12) events: 3.3.0 lodash.isequal: 4.5.0 uint8arrays: 3.1.0 @@ -1034,8 +1034,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/ethereum-provider@2.9.2(@walletconnect/modal@2.6.1)(lokijs@1.5.12): - resolution: {integrity: sha512-eO1dkhZffV1g7vpG19XUJTw09M/bwGUwwhy1mJ3AOPbOSbMPvwiCuRz2Kbtm1g9B0Jv15Dl+TvJ9vTgYF8zoZg==} + /@walletconnect/ethereum-provider@2.10.0(@walletconnect/modal@2.6.1)(lokijs@1.5.12): + resolution: {integrity: sha512-NyTm7RcrtAiSaYQPh6G4sOtr1kg/pL5Z3EDE6rBTV3Se5pMsYvtuwMiSol7MidsQpf4ux9HFhthTO3imcoWImw==} peerDependencies: '@walletconnect/modal': '>=2' peerDependenciesMeta: @@ -1047,10 +1047,10 @@ packages: '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.1(react@18.2.0) - '@walletconnect/sign-client': 2.9.2(lokijs@1.5.12) - '@walletconnect/types': 2.9.2(lokijs@1.5.12) - '@walletconnect/universal-provider': 2.9.2(lokijs@1.5.12) - '@walletconnect/utils': 2.9.2(lokijs@1.5.12) + '@walletconnect/sign-client': 2.10.0(lokijs@1.5.12) + '@walletconnect/types': 2.10.0(lokijs@1.5.12) + '@walletconnect/universal-provider': 2.10.0(lokijs@1.5.12) + '@walletconnect/utils': 2.10.0(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1282,17 +1282,17 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/sign-client@2.9.2(lokijs@1.5.12): - resolution: {integrity: sha512-anRwnXKlR08lYllFMEarS01hp1gr6Q9XUgvacr749hoaC/AwGVlxYFdM8+MyYr3ozlA+2i599kjbK/mAebqdXg==} + /@walletconnect/sign-client@2.10.0(lokijs@1.5.12): + resolution: {integrity: sha512-hbDljDS53kR/It3oXD91UkcOsT6diNnW5+Zzksm0YEfwww5dop/YfNlcdnc8+jKUhWOL/YDPNQCjzsCSNlVzbw==} dependencies: - '@walletconnect/core': 2.9.2(lokijs@1.5.12) + '@walletconnect/core': 2.10.0(lokijs@1.5.12) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.2(lokijs@1.5.12) - '@walletconnect/utils': 2.9.2(lokijs@1.5.12) + '@walletconnect/types': 2.10.0(lokijs@1.5.12) + '@walletconnect/utils': 2.10.0(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1307,8 +1307,8 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/types@2.9.2(lokijs@1.5.12): - resolution: {integrity: sha512-7Rdn30amnJEEal4hk83cdwHUuxI1SWQ+K7fFFHBMqkuHLGi3tpMY6kpyfDxnUScYEZXqgRps4Jo5qQgnRqVM7A==} + /@walletconnect/types@2.10.0(lokijs@1.5.12): + resolution: {integrity: sha512-kSTA/WZnbKdEbvbXSW16Ty6dOSzOZCHnGg6JH7q1MuraalD2HuNg00lVVu7QAZ/Rj1Gn9DAkrgP5Wd5a8Xq//Q==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.1 @@ -1321,17 +1321,17 @@ packages: - lokijs dev: false - /@walletconnect/universal-provider@2.9.2(lokijs@1.5.12): - resolution: {integrity: sha512-JmaolkO8D31UdRaQCHwlr8uIFUI5BYhBzqYFt54Mc6gbIa1tijGOmdyr6YhhFO70LPmS6gHIjljwOuEllmlrxw==} + /@walletconnect/universal-provider@2.10.0(lokijs@1.5.12): + resolution: {integrity: sha512-jtVWf+AeTCqBcB3lCmWkv3bvSmdRCkQdo67GNoT5y6/pvVHMxfjgrJNBOUsWQMxpREpWDpZ993X0JRjsYVsMcA==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.7 '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.0.1 - '@walletconnect/sign-client': 2.9.2(lokijs@1.5.12) - '@walletconnect/types': 2.9.2(lokijs@1.5.12) - '@walletconnect/utils': 2.9.2(lokijs@1.5.12) + '@walletconnect/sign-client': 2.10.0(lokijs@1.5.12) + '@walletconnect/types': 2.10.0(lokijs@1.5.12) + '@walletconnect/utils': 2.10.0(lokijs@1.5.12) events: 3.3.0 transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -1341,8 +1341,8 @@ packages: - utf-8-validate dev: false - /@walletconnect/utils@2.9.2(lokijs@1.5.12): - resolution: {integrity: sha512-D44hwXET/8JhhIjqljY6qxSu7xXnlPrf63UN/Qfl98vDjWlYVcDl2+JIQRxD9GPastw0S8XZXdRq59XDXLuZBg==} + /@walletconnect/utils@2.10.0(lokijs@1.5.12): + resolution: {integrity: sha512-9GRyEz/7CJW+G04RvrjPET5k7hOEsB9b3fF9cWDk/iDCxSWpbkU/hv/urRB36C+gvQMAZgIZYX3dHfzJWkY/2g==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -1352,7 +1352,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.9.2(lokijs@1.5.12) + '@walletconnect/types': 2.10.0(lokijs@1.5.12) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 From c86795fa0652705322934b930336bd69140efbd2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 29 Aug 2023 11:25:15 -0400 Subject: [PATCH 30/30] chore: version packages (#473) Co-authored-by: github-actions[bot] --- .changeset/giant-pandas-laugh.md | 5 ----- .changeset/rich-mails-lay.md | 5 ----- .changeset/smooth-wolves-ring.md | 5 ----- packages/chains/CHANGELOG.md | 7 +++++++ packages/chains/package.json | 2 +- packages/connectors/CHANGELOG.md | 9 +++++++++ packages/connectors/package.json | 4 ++-- 7 files changed, 19 insertions(+), 18 deletions(-) delete mode 100644 .changeset/giant-pandas-laugh.md delete mode 100644 .changeset/rich-mails-lay.md delete mode 100644 .changeset/smooth-wolves-ring.md diff --git a/.changeset/giant-pandas-laugh.md b/.changeset/giant-pandas-laugh.md deleted file mode 100644 index e32cd957..00000000 --- a/.changeset/giant-pandas-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added Emerald, Sapphire & Sapphire Testnet chains. diff --git a/.changeset/rich-mails-lay.md b/.changeset/rich-mails-lay.md deleted file mode 100644 index 440c0111..00000000 --- a/.changeset/rich-mails-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/connectors": patch ---- - -Updated WalletConnect dependencies diff --git a/.changeset/smooth-wolves-ring.md b/.changeset/smooth-wolves-ring.md deleted file mode 100644 index a0a9f517..00000000 --- a/.changeset/smooth-wolves-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wagmi/chains": minor ---- - -Added `ewc` & `volta` chains. diff --git a/packages/chains/CHANGELOG.md b/packages/chains/CHANGELOG.md index 0a7bd6a0..d75c98d2 100644 --- a/packages/chains/CHANGELOG.md +++ b/packages/chains/CHANGELOG.md @@ -1,5 +1,12 @@ # @wagmi/chains +## 1.8.0 + +### Minor Changes + +- d1ef9b4: Added Emerald, Sapphire & Sapphire Testnet chains. +- 484c846: Added `ewc` & `volta` chains. + ## 1.7.0 ### Minor Changes diff --git a/packages/chains/package.json b/packages/chains/package.json index 8142ffe2..97c55bff 100644 --- a/packages/chains/package.json +++ b/packages/chains/package.json @@ -2,7 +2,7 @@ "name": "@wagmi/chains", "description": "A collection of chains for wagmi", "license": "MIT", - "version": "1.7.0", + "version": "1.8.0", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", diff --git a/packages/connectors/CHANGELOG.md b/packages/connectors/CHANGELOG.md index cb7becd9..9f3b7f0e 100644 --- a/packages/connectors/CHANGELOG.md +++ b/packages/connectors/CHANGELOG.md @@ -1,5 +1,14 @@ # @wagmi/connectors +## 3.0.0 + +### Patch Changes + +- 0306383: Updated WalletConnect dependencies +- Updated dependencies [d1ef9b4] +- Updated dependencies [484c846] + - @wagmi/chains@1.8.0 + ## 2.7.0 ### Minor Changes diff --git a/packages/connectors/package.json b/packages/connectors/package.json index 36149023..8a656977 100644 --- a/packages/connectors/package.json +++ b/packages/connectors/package.json @@ -2,13 +2,13 @@ "name": "@wagmi/connectors", "description": "A collection of connectors for wagmi", "license": "MIT", - "version": "2.7.0", + "version": "3.0.0", "scripts": { "build": "tsup", "dev": "DEV=true tsup" }, "peerDependencies": { - "@wagmi/chains": ">=1.7.0", + "@wagmi/chains": ">=1.8.0", "typescript": ">=5.0.4", "viem": ">=0.3.35" },