diff --git a/packages/hardhat/hardhat.config.ts b/packages/hardhat/hardhat.config.ts index 32f89ba7f..33b39b6ff 100644 --- a/packages/hardhat/hardhat.config.ts +++ b/packages/hardhat/hardhat.config.ts @@ -98,6 +98,14 @@ const config: HardhatUserConfig = { url: "https://rpc.chiadochain.net", accounts: [deployerPrivateKey], }, + base: { + url: "https://mainnet.base.org", + accounts: [deployerPrivateKey], + }, + baseGoerli: { + url: "https://goerli.base.org", + accounts: [deployerPrivateKey], + }, }, verify: { etherscan: { diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 3e324e122..0c1106fe9 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -16,7 +16,7 @@ "dependencies": { "@ethersproject/providers": "^5.7.2", "@heroicons/react": "^2.0.11", - "@rainbow-me/rainbowkit": "^1.0.4", + "@rainbow-me/rainbowkit": "1.0.8", "@uniswap/sdk-core": "^4.0.1", "@uniswap/v2-sdk": "^3.0.1", "daisyui": "^3.5.1", @@ -32,7 +32,7 @@ "use-debounce": "^8.0.4", "usehooks-ts": "^2.7.2", "viem": "1.2.1", - "wagmi": "1.3.2", + "wagmi": "1.3.10", "zustand": "^4.1.2" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index f3626694d..5b131a1b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1644,9 +1644,9 @@ __metadata: languageName: node linkType: hard -"@rainbow-me/rainbowkit@npm:^1.0.4": - version: 1.0.4 - resolution: "@rainbow-me/rainbowkit@npm:1.0.4" +"@rainbow-me/rainbowkit@npm:1.0.8": + version: 1.0.8 + resolution: "@rainbow-me/rainbowkit@npm:1.0.8" dependencies: "@vanilla-extract/css": 1.9.1 "@vanilla-extract/dynamic": 2.0.2 @@ -1659,7 +1659,7 @@ __metadata: react-dom: ">=17" viem: ~0.3.19 || ^1.0.0 wagmi: ~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0 - checksum: bb0985ae8a7aa9e15b7c64a669762ce7adc332f009849b4546965c366946462903a75e4fe593565c2430e5a3385fbc7f4ea128c49a96a7f8816b1ccd54a450c4 + checksum: fe772948a42f08ce24a0104fb5f242b81ccc2a32be26fa571ef66c537a7102b65825e65a2994f0a27e2a8729cc046d32da1b22163bfc4da5c8facb21a7f81ea3 languageName: node linkType: hard @@ -1805,7 +1805,7 @@ __metadata: dependencies: "@ethersproject/providers": ^5.7.2 "@heroicons/react": ^2.0.11 - "@rainbow-me/rainbowkit": ^1.0.4 + "@rainbow-me/rainbowkit": 1.0.8 "@trivago/prettier-plugin-sort-imports": ^4.1.1 "@types/node": ^17.0.35 "@types/react": ^18.0.9 @@ -1837,7 +1837,7 @@ __metadata: usehooks-ts: ^2.7.2 vercel: ^28.15.1 viem: 1.2.1 - wagmi: 1.3.2 + wagmi: 1.3.10 zustand: ^4.1.2 languageName: unknown linkType: soft @@ -3156,33 +3156,34 @@ __metadata: languageName: node linkType: hard -"@wagmi/chains@npm:1.3.0": - version: 1.3.0 - resolution: "@wagmi/chains@npm:1.3.0" +"@wagmi/chains@npm:1.7.0": + version: 1.7.0 + resolution: "@wagmi/chains@npm:1.7.0" peerDependencies: typescript: ">=5.0.4" peerDependenciesMeta: typescript: optional: true - checksum: a9dd2ed8e5e2c380ed2bcc48c36fda9c34d8fae45d080e29c472bb24f48746c4d697c42be6880ee4c9c6bcd5dcff74b0f1c0fcf17b921594788ded66b76cda78 + checksum: 24e930d2432def5d7cbba1d390622d2cb02f002c45d3806e5a95a814af058eb483a234cc1ad5eef650bc926641b6f31e795fb3941b25de585b58dd31407a4980 languageName: node linkType: hard -"@wagmi/connectors@npm:2.6.1": - version: 2.6.1 - resolution: "@wagmi/connectors@npm:2.6.1" +"@wagmi/connectors@npm:2.7.0": + version: 2.7.0 + resolution: "@wagmi/connectors@npm:2.7.0" dependencies: "@coinbase/wallet-sdk": ^3.6.6 "@ledgerhq/connect-kit-loader": ^1.1.0 "@safe-global/safe-apps-provider": ^0.17.1 "@safe-global/safe-apps-sdk": ^8.0.0 - "@walletconnect/ethereum-provider": 2.8.4 + "@walletconnect/ethereum-provider": 2.9.2 "@walletconnect/legacy-provider": ^2.0.0 - "@walletconnect/modal": 2.5.4 + "@walletconnect/modal": 2.6.1 + "@walletconnect/utils": 2.9.2 abitype: 0.8.7 eventemitter3: ^4.0.7 peerDependencies: - "@wagmi/chains": ">=1.3.0" + "@wagmi/chains": ">=1.7.0" typescript: ">=5.0.4" viem: ">=0.3.35" peerDependenciesMeta: @@ -3190,16 +3191,16 @@ __metadata: optional: true typescript: optional: true - checksum: 167909009758b1ba43e81999b082f890d206f242adab2367939293d2742e14be8b1d891aa54961e193390718ca0848fedfe4a19ac5ce53d4ff9489b8cbfb6f0d + checksum: be422a00ada744042b5945d725eef60cfa37f79a8cfe81e4a77c8ecf77acddd20a0970c8dabad737d86244e9e3fc5275f99df057d636ab1e1b5443cce6bf1ced languageName: node linkType: hard -"@wagmi/core@npm:1.3.2": - version: 1.3.2 - resolution: "@wagmi/core@npm:1.3.2" +"@wagmi/core@npm:1.3.9": + version: 1.3.9 + resolution: "@wagmi/core@npm:1.3.9" dependencies: - "@wagmi/chains": 1.3.0 - "@wagmi/connectors": 2.6.1 + "@wagmi/chains": 1.7.0 + "@wagmi/connectors": 2.7.0 abitype: 0.8.7 eventemitter3: ^4.0.7 zustand: ^4.3.1 @@ -3209,31 +3210,31 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: ca6e9a8cc1fe071a707f901d2452fe1d1397bdad6c24abab0f52d7a38091b6b3ee34fd84c269847740c23d0946a24d93c34728a16ed02055df3f346e7b5581cc + checksum: 80cb7c3a064174ba275af91b691c8fc1861ec0fcee063b9ce21f2d3ca84e742c57aabab2850dc3af274286e2df07523339bb2c5bdece21664aa722bc9468e71d languageName: node linkType: hard -"@walletconnect/core@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/core@npm:2.8.4" +"@walletconnect/core@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/core@npm:2.9.2" 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.11 + "@walletconnect/jsonrpc-ws-connection": 1.0.13 "@walletconnect/keyvaluestorage": ^1.0.2 "@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.8.4 - "@walletconnect/utils": 2.8.4 + "@walletconnect/types": 2.9.2 + "@walletconnect/utils": 2.9.2 events: ^3.3.0 lodash.isequal: 4.5.0 uint8arrays: ^3.1.0 - checksum: bab21068190e42b56e119a89ca47af341a9ab85026c00a0341d7350ce84eab19f4c5e7074bb7846cb83fddc93f66d66820fe59e356a17de1d169ec31d11402f5 + checksum: f96fe5147ddae5ab08c72e946ebfc40b218ca2a985e243ebcbf2346c79286b33de9c1f6dfb0f9cb81ae52f29725b3437a8af8b856ed55ed3a089e06546b3db06 languageName: node linkType: hard @@ -3271,25 +3272,25 @@ __metadata: languageName: node linkType: hard -"@walletconnect/ethereum-provider@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/ethereum-provider@npm:2.8.4" +"@walletconnect/ethereum-provider@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/ethereum-provider@npm:2.9.2" 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/sign-client": 2.8.4 - "@walletconnect/types": 2.8.4 - "@walletconnect/universal-provider": 2.8.4 - "@walletconnect/utils": 2.8.4 + "@walletconnect/sign-client": 2.9.2 + "@walletconnect/types": 2.9.2 + "@walletconnect/universal-provider": 2.9.2 + "@walletconnect/utils": 2.9.2 events: ^3.3.0 peerDependencies: "@walletconnect/modal": ">=2" peerDependenciesMeta: "@walletconnect/modal": optional: true - checksum: e2323b5d085c1ea4600f230f776420447dd4ef5433b0816199c9394b58a82ccc886beadb8ca8ec9f0169f300b6cfde91bb15046f2748a89406db739b3cb3c657 + checksum: 80cb896c5da6247b68a28ef08e5a8a32beb3e6a2b70a3543aaced09a618e73b5437af36f9884003333021566405e19938726f1f02241aa69f83f5a0df5a4150a languageName: node linkType: hard @@ -3402,16 +3403,16 @@ __metadata: languageName: node linkType: hard -"@walletconnect/jsonrpc-ws-connection@npm:^1.0.11": - version: 1.0.11 - resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.11" +"@walletconnect/jsonrpc-ws-connection@npm:1.0.13": + version: 1.0.13 + resolution: "@walletconnect/jsonrpc-ws-connection@npm:1.0.13" dependencies: "@walletconnect/jsonrpc-utils": ^1.0.6 "@walletconnect/safe-json": ^1.0.2 events: ^3.3.0 tslib: 1.14.1 ws: ^7.5.1 - checksum: 69fcc5ecb6eafd697fb88e22e6b7a2fd24d06129860feb6bcb5f702062233ebf5aef8b86a8502c67158f48370b98d0f5dffd930a0e5f6944752eb6a3c37a40cb + checksum: f2253b17564f7622e69b1252830f05efdf7f4d58b120adb3a3e950c2087845171c912307c39948d0b869aa8610688b83f54f54de4657091f7431aea95a59f8b9 languageName: node linkType: hard @@ -3513,35 +3514,34 @@ __metadata: languageName: node linkType: hard -"@walletconnect/modal-core@npm:2.5.4": - version: 2.5.4 - resolution: "@walletconnect/modal-core@npm:2.5.4" +"@walletconnect/modal-core@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal-core@npm:2.6.1" dependencies: - buffer: 6.0.3 - valtio: 1.10.6 - checksum: 660a507a7a66812be7020b35fbe72e5052739df696424d59e0db55544dcbaf915e108c29c90578dcd82e7beeacd4891ed835e80bb9b16d2aed475fab3be1599c + valtio: 1.11.0 + checksum: 3c1dcb865cc0737bb0e77b7103bde7167e64a8790c628427814b825dafa133c7cb3baf5184314de35a2dbd743a3b0978ef4abc86c3bb63d051f8368e3bdba67a languageName: node linkType: hard -"@walletconnect/modal-ui@npm:2.5.4": - version: 2.5.4 - resolution: "@walletconnect/modal-ui@npm:2.5.4" +"@walletconnect/modal-ui@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal-ui@npm:2.6.1" dependencies: - "@walletconnect/modal-core": 2.5.4 - lit: 2.7.5 + "@walletconnect/modal-core": 2.6.1 + lit: 2.7.6 motion: 10.16.2 qrcode: 1.5.3 - checksum: 40034612895ed7bc7f18e2972b0f3c681f75c59636eb88771387795d4c5e5f301bfbc7e59153d3084dd1606b70943d7885b52a54e22ce780a00696b0761f02de + checksum: 34408c784659564ef57fe59227f5f0a307ec34dc9e73c6c7b72e4c03054024ffbbf1d4ed73425a2606c978aaa3518629eba61adf3fc31263d80a4c13cf1c77d2 languageName: node linkType: hard -"@walletconnect/modal@npm:2.5.4": - version: 2.5.4 - resolution: "@walletconnect/modal@npm:2.5.4" +"@walletconnect/modal@npm:2.6.1": + version: 2.6.1 + resolution: "@walletconnect/modal@npm:2.6.1" dependencies: - "@walletconnect/modal-core": 2.5.4 - "@walletconnect/modal-ui": 2.5.4 - checksum: 4bf0974d635ae41df665ae31ed2812c16703b605715e1b61f48c9faf8b66eab589767ff9b6e33016a60b62b1dae05948593d69abe9024b5b68dd66eec170017d + "@walletconnect/modal-core": 2.6.1 + "@walletconnect/modal-ui": 2.6.1 + checksum: f48107abe4594b3a6849a4eae1a3fb9fb37ded25ef390c084e9098ceed58ace1bcb723abfa15027b462d75226a907bbbfc1d48e1414f882b5d7f83903da617bb languageName: node linkType: hard @@ -3599,20 +3599,20 @@ __metadata: languageName: node linkType: hard -"@walletconnect/sign-client@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/sign-client@npm:2.8.4" +"@walletconnect/sign-client@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/sign-client@npm:2.9.2" dependencies: - "@walletconnect/core": 2.8.4 + "@walletconnect/core": 2.9.2 "@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.8.4 - "@walletconnect/utils": 2.8.4 + "@walletconnect/types": 2.9.2 + "@walletconnect/utils": 2.9.2 events: ^3.3.0 - checksum: b04bf20a85d1bee5675a6827cd2781d7a88852986ef9d770e53cd2ef5852487b2b026acf7a6648c4e471210b6639e227c7f20c2b94c6cb087acab0072fa6ba4d + checksum: b91b271130ab6404c89a94e31bcf9b987c23bc4c5f86a75344b7f4ea1cd887996ae7876038ae35b430175af17529c4caf9bc332abe6e986d878439c7a3dba31a languageName: node linkType: hard @@ -3625,9 +3625,9 @@ __metadata: languageName: node linkType: hard -"@walletconnect/types@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/types@npm:2.8.4" +"@walletconnect/types@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/types@npm:2.9.2" dependencies: "@walletconnect/events": ^1.0.1 "@walletconnect/heartbeat": 1.2.1 @@ -3635,30 +3635,30 @@ __metadata: "@walletconnect/keyvaluestorage": ^1.0.2 "@walletconnect/logger": ^2.0.1 events: ^3.3.0 - checksum: fafe2105ff040fdb22125f1f9ae378dbf12dd92ec228ea12ef1da2b2705c260eda1b51a1256132847f7f5e1f8cbfade417b435c9cfc2efd7ebcc537d33b7a3e3 + checksum: 81d523cf337f456190b87242ae7843e09f0b1d84127c1138d73420a5cc8e7b05f7f1722dfeaa2ecd12be25331e3896c733e0327221bc51eb6bae192e43b4a99f languageName: node linkType: hard -"@walletconnect/universal-provider@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/universal-provider@npm:2.8.4" +"@walletconnect/universal-provider@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/universal-provider@npm:2.9.2" dependencies: "@walletconnect/jsonrpc-http-connection": ^1.0.7 "@walletconnect/jsonrpc-provider": 1.0.13 "@walletconnect/jsonrpc-types": ^1.0.2 "@walletconnect/jsonrpc-utils": ^1.0.7 "@walletconnect/logger": ^2.0.1 - "@walletconnect/sign-client": 2.8.4 - "@walletconnect/types": 2.8.4 - "@walletconnect/utils": 2.8.4 + "@walletconnect/sign-client": 2.9.2 + "@walletconnect/types": 2.9.2 + "@walletconnect/utils": 2.9.2 events: ^3.3.0 - checksum: 51c7271a540045018f7bad25aa80c1bb48e7ac6863a1ed7129759bba7a9dd1d1162cd91062cf3058497d1537b4dbbb1b69091640c769f5787f6cd368749d4b88 + checksum: 4f1003d63e5358fb45b15c1156911cda8287c98d606084c6168bda5fa9b9a376a3d08afc777823b9dfb71dad18c3f90896be0c0c7d5fc56c6061086b91177bc7 languageName: node linkType: hard -"@walletconnect/utils@npm:2.8.4": - version: 2.8.4 - resolution: "@walletconnect/utils@npm:2.8.4" +"@walletconnect/utils@npm:2.9.2": + version: 2.9.2 + resolution: "@walletconnect/utils@npm:2.9.2" dependencies: "@stablelib/chacha20poly1305": 1.0.1 "@stablelib/hkdf": 1.0.1 @@ -3668,13 +3668,13 @@ __metadata: "@walletconnect/relay-api": ^1.0.9 "@walletconnect/safe-json": ^1.0.2 "@walletconnect/time": ^1.0.2 - "@walletconnect/types": 2.8.4 + "@walletconnect/types": 2.9.2 "@walletconnect/window-getters": ^1.0.1 "@walletconnect/window-metadata": ^1.0.1 detect-browser: 5.3.0 query-string: 7.1.3 uint8arrays: ^3.1.0 - checksum: afd538be7517b6df8d13d3c1ab6b3fef85ac574c0c5d681c589a8dae5c6d50295af32d8aa213a6aad61da995b663245666f5ad53f132e37f1f85de83fd42ca7e + checksum: 9caf05fa6f7c95945e675845e305220fc1e7832ae595a9ff39799195d2d5865972914f74a8768044473f45450e98db685a0ff965a09d9cd0220cfdc391279eab languageName: node linkType: hard @@ -4698,16 +4698,6 @@ __metadata: languageName: node linkType: hard -"buffer@npm:6.0.3, buffer@npm:^6.0.3, buffer@npm:~6.0.3": - version: 6.0.3 - resolution: "buffer@npm:6.0.3" - dependencies: - base64-js: ^1.3.1 - ieee754: ^1.2.1 - checksum: 5ad23293d9a731e4318e420025800b42bf0d264004c0286c8cc010af7a270c7a0f6522e84f54b9ad65cbd6db20b8badbfd8d2ebf4f80fa03dab093b89e68c3f9 - languageName: node - linkType: hard - "buffer@npm:^5.5.0": version: 5.7.1 resolution: "buffer@npm:5.7.1" @@ -4718,6 +4708,16 @@ __metadata: languageName: node linkType: hard +"buffer@npm:^6.0.3, buffer@npm:~6.0.3": + version: 6.0.3 + resolution: "buffer@npm:6.0.3" + dependencies: + base64-js: ^1.3.1 + ieee754: ^1.2.1 + checksum: 5ad23293d9a731e4318e420025800b42bf0d264004c0286c8cc010af7a270c7a0f6522e84f54b9ad65cbd6db20b8badbfd8d2ebf4f80fa03dab093b89e68c3f9 + languageName: node + linkType: hard + "bufferutil@npm:^4.0.1": version: 4.0.6 resolution: "bufferutil@npm:4.0.6" @@ -9160,14 +9160,14 @@ __metadata: languageName: node linkType: hard -"lit@npm:2.7.5": - version: 2.7.5 - resolution: "lit@npm:2.7.5" +"lit@npm:2.7.6": + version: 2.7.6 + resolution: "lit@npm:2.7.6" dependencies: "@lit/reactive-element": ^1.6.0 lit-element: ^3.3.0 lit-html: ^2.7.0 - checksum: 61a3f87c57136618f47a30b36cdfb592fcba42dcfbdb104d2b5ca291148c2d9a32fcb713bb91090bd08d6897a00e73f8425da6e3626aa080eaf410a32397ae69 + checksum: 984a7fb9c0fa387f20177a07de22ea1c9cdc01a7dc7cb1c400d1df5b43a8956908460482a3259ea173555c6f0f13457d2ddc5c84d4c365007afd86e7ca58b384 languageName: node linkType: hard @@ -13590,9 +13590,9 @@ __metadata: languageName: node linkType: hard -"valtio@npm:1.10.6": - version: 1.10.6 - resolution: "valtio@npm:1.10.6" +"valtio@npm:1.11.0": + version: 1.11.0 + resolution: "valtio@npm:1.11.0" dependencies: proxy-compare: 2.5.1 use-sync-external-store: 1.2.0 @@ -13601,7 +13601,7 @@ __metadata: peerDependenciesMeta: react: optional: true - checksum: 0e738aa204c479c8f8c89c0a7478d6784c28ddd712be529fdc5c421d3ec28157fec2fb022a75cd4f45b8c4b470fbc64a27032adba6ed9936bdad989256222adf + checksum: 77e42f5841054ba3e41b456fbb96b679eaeb6d9dbb46b7ce9aee6acf1352de73969858dea837a706c969ca908155d6cb97966e33be10b69b097744dd99b5174a languageName: node linkType: hard @@ -13656,14 +13656,14 @@ __metadata: languageName: node linkType: hard -"wagmi@npm:1.3.2": - version: 1.3.2 - resolution: "wagmi@npm:1.3.2" +"wagmi@npm:1.3.10": + version: 1.3.10 + resolution: "wagmi@npm:1.3.10" dependencies: "@tanstack/query-sync-storage-persister": ^4.27.1 "@tanstack/react-query": ^4.28.0 "@tanstack/react-query-persist-client": ^4.28.0 - "@wagmi/core": 1.3.2 + "@wagmi/core": 1.3.9 abitype: 0.8.7 use-sync-external-store: ^1.2.0 peerDependencies: @@ -13673,7 +13673,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 4ba7dbf8fbc21664fe094fde9f272f0c925dfadf429ba6dd60b4d72e3779d6b25fac8b917b94a3f63656625a6fe3c11cf0596a5846be3f3f352e86c87b944e75 + checksum: ed329b9e8e7c1263312b028967980a3e47764586f154fc1040eb03fc48b9e1742b5de9eca962efcad04ea24b3440c846b439f4a35ca0849a56183783564e80f7 languageName: node linkType: hard