diff --git a/advanced/dapps/react-dapp-v2/package.json b/advanced/dapps/react-dapp-v2/package.json index 7b977fadb..7fa799c34 100644 --- a/advanced/dapps/react-dapp-v2/package.json +++ b/advanced/dapps/react-dapp-v2/package.json @@ -21,9 +21,9 @@ "@polkadot/util-crypto": "^10.1.2", "@solana/web3.js": "^1.36.0", "@walletconnect/encoding": "^1.0.1", - "@walletconnect/sign-client": "2.14.0", - "@walletconnect/types": "2.14.0", - "@walletconnect/utils": "2.14.0", + "@walletconnect/sign-client": "2.14.0-canary.1", + "@walletconnect/types": "2.14.0-canary.1", + "@walletconnect/utils": "2.14.0-canary.1", "@web3modal/standalone": "2.4.3", "axios": "^1.0.0", "blockies-ts": "^1.0.0", diff --git a/advanced/dapps/react-dapp-v2/public/.well-known/walletconnect.txt b/advanced/dapps/react-dapp-v2/public/.well-known/walletconnect.txt new file mode 100644 index 000000000..e8d3e3a52 --- /dev/null +++ b/advanced/dapps/react-dapp-v2/public/.well-known/walletconnect.txt @@ -0,0 +1 @@ +d894b88f-8107-49cd-9281-0eb630c4d4b1=4705ef99ceed0450794345b28b7927e74bfe9a1edc0a4b19cc5a7046b7c285ce \ No newline at end of file diff --git a/advanced/dapps/react-dapp-v2/src/constants/default.ts b/advanced/dapps/react-dapp-v2/src/constants/default.ts index 65b64a6f0..32a500def 100644 --- a/advanced/dapps/react-dapp-v2/src/constants/default.ts +++ b/advanced/dapps/react-dapp-v2/src/constants/default.ts @@ -42,7 +42,7 @@ export const DEFAULT_TEST_CHAINS = [ export const DEFAULT_CHAINS = [...DEFAULT_MAIN_CHAINS, ...DEFAULT_TEST_CHAINS]; -export const DEFAULT_PROJECT_ID = process.env.NEXT_PUBLIC_PROJECT_ID; +export const DEFAULT_PROJECT_ID = "eed0726d8c3cdf7cf71b5fba056590b3"; export const DEFAULT_RELAY_URL = process.env.NEXT_PUBLIC_RELAY_URL; export const DEFAULT_LOGGER = "debug"; diff --git a/advanced/dapps/react-dapp-v2/yarn.lock b/advanced/dapps/react-dapp-v2/yarn.lock index 4044026b4..3a67af43e 100644 --- a/advanced/dapps/react-dapp-v2/yarn.lock +++ b/advanced/dapps/react-dapp-v2/yarn.lock @@ -3693,10 +3693,10 @@ "@typescript-eslint/types" "5.59.7" eslint-visitor-keys "^3.3.0" -"@walletconnect/core@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.14.0.tgz#e8afb01455968b02aaf26c74f3bfcc9b82678a39" - integrity sha512-E/dgBM9q3judXnTfZQ5ILvDpeSdDpabBLsXtYXa3Nyc26cfNplfLJ2nXm9FgtTdhM1nZ7yx4+zDPiXawBRZl2g== +"@walletconnect/core@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.14.0-canary.1.tgz#030955f9284c3348c35d0c34cfc05c2646003909" + integrity sha512-zMtnySbe8LMSDkw8ajeMFR1nNtdBUNeAMxnYgobdN/PAHJVJs/KKmtmthgNC1aC9wys3Y+F8Uv6McdCV9pR9Yw== dependencies: "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-provider" "1.0.14" @@ -3705,12 +3705,12 @@ "@walletconnect/jsonrpc-ws-connection" "1.0.14" "@walletconnect/keyvaluestorage" "1.1.1" "@walletconnect/logger" "2.1.2" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" - "@walletconnect/utils" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" + "@walletconnect/utils" "2.14.0-canary.1" events "3.3.0" isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" @@ -3877,10 +3877,10 @@ pino "7.11.0" tslib "1.14.1" -"@walletconnect/relay-api@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" - integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== +"@walletconnect/relay-api@1.0.11": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.11.tgz#80ab7ef2e83c6c173be1a59756f95e515fb63224" + integrity sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q== dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" @@ -3911,19 +3911,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.14.0.tgz#36533ef0976a869d815624217527482c90937fc8" - integrity sha512-UrB3S3eLjPYfBLCN3WJ5u7+WcZ8kFMe/QIDqLf76Jk6TaLwkSUy563LvnSw4KW/kA+/cY1KBSdUDfX1tzYJJXg== +"@walletconnect/sign-client@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.14.0-canary.1.tgz#efd8680026686ea168d6a40dd209971e2395260f" + integrity sha512-rRQOxCBDSh5kAEWpqP4yoJcDSkWrh6nMxreSVQ3LixFn6GZn1g4E5t8xPZQhPuRWSMahIYy5PWlZfSfx5+wjfw== dependencies: - "@walletconnect/core" "2.14.0" + "@walletconnect/core" "2.14.0-canary.1" "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" - "@walletconnect/utils" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" + "@walletconnect/utils" "2.14.0-canary.1" events "3.3.0" "@walletconnect/sign-client@~2.8.1": @@ -3948,10 +3948,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.14.0.tgz#af3d4799b8ac5d166251af12bc024276f82f9b91" - integrity sha512-vevMi4jZLJ55vLuFOicQFmBBbLyb+S0sZS4IsaBdZkQflfGIq34HkN13c/KPl4Ye0aoR4/cUcUSitmGIzEQM5g== +"@walletconnect/types@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.14.0-canary.1.tgz#4aea53dbb4cea152ddfead8a74af596834118008" + integrity sha512-eOAmNZ6WP46Jhi1oofBmoo6dbRVb4BJSsxTC5BL87ntNQ4eVtzuLXS1Sc6UfksQOTKVlqNEujtO7rC9u7EipAA== dependencies: "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" @@ -3972,20 +3972,20 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/utils@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.14.0.tgz#48493ffe1e902815fda3cbd5cc5409288a066d35" - integrity sha512-vRVomYQEtEAyCK2c5bzzEvtgxaGGITF8mWuIL+WYSAMyEJLY97mirP2urDucNwcUczwxUgI+no9RiNFbUHreQQ== +"@walletconnect/utils@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.14.0-canary.1.tgz#c1393bd9cb30205dda4bbf8ab3c0c190fc6635d5" + integrity sha512-7CjVhA/qul3IuEW/wfaOTGqQ55PVWejbVlysQSUWvMuj0wJ5nCp9LlQetqN7ljGaJp5qkY3wQa1EZEz2TXkjFA== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" "@stablelib/random" "1.0.2" "@stablelib/sha256" "1.0.1" "@stablelib/x25519" "1.0.3" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" "@walletconnect/window-getters" "1.0.1" "@walletconnect/window-metadata" "1.0.1" detect-browser "5.3.0" diff --git a/advanced/wallets/react-wallet-v2/package.json b/advanced/wallets/react-wallet-v2/package.json index ccd351b21..280f51d19 100644 --- a/advanced/wallets/react-wallet-v2/package.json +++ b/advanced/wallets/react-wallet-v2/package.json @@ -33,7 +33,7 @@ "@taquito/signer": "^15.1.0", "@taquito/taquito": "^15.1.0", "@types/semver": "^7.5.8", - "@walletconnect/web3wallet": "1.13.0", + "@walletconnect/web3wallet": "1.13.0-canary.1", "@zerodev/ecdsa-validator": "5.3.0", "@zerodev/presets": "5.3.0", "@zerodev/sdk": "5.3.1", diff --git a/advanced/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts b/advanced/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts index 51f69b6a0..e71f0a86a 100644 --- a/advanced/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts +++ b/advanced/wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts @@ -6,7 +6,7 @@ export async function createWeb3Wallet(relayerRegionURL: string) { const core = new Core({ projectId: process.env.NEXT_PUBLIC_PROJECT_ID, relayUrl: relayerRegionURL ?? process.env.NEXT_PUBLIC_RELAY_URL, - logger: 'trace' + logger: 'debug' }) web3wallet = await Web3Wallet.init({ core, diff --git a/advanced/wallets/react-wallet-v2/yarn.lock b/advanced/wallets/react-wallet-v2/yarn.lock index dd5fb53aa..c47d018f6 100644 --- a/advanced/wallets/react-wallet-v2/yarn.lock +++ b/advanced/wallets/react-wallet-v2/yarn.lock @@ -2694,10 +2694,10 @@ events "^3.3.0" isomorphic-unfetch "^3.1.0" -"@walletconnect/core@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.14.0.tgz#e8afb01455968b02aaf26c74f3bfcc9b82678a39" - integrity sha512-E/dgBM9q3judXnTfZQ5ILvDpeSdDpabBLsXtYXa3Nyc26cfNplfLJ2nXm9FgtTdhM1nZ7yx4+zDPiXawBRZl2g== +"@walletconnect/core@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.14.0-canary.1.tgz#030955f9284c3348c35d0c34cfc05c2646003909" + integrity sha512-zMtnySbe8LMSDkw8ajeMFR1nNtdBUNeAMxnYgobdN/PAHJVJs/KKmtmthgNC1aC9wys3Y+F8Uv6McdCV9pR9Yw== dependencies: "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-provider" "1.0.14" @@ -2706,12 +2706,12 @@ "@walletconnect/jsonrpc-ws-connection" "1.0.14" "@walletconnect/keyvaluestorage" "1.1.1" "@walletconnect/logger" "2.1.2" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/relay-auth" "1.0.4" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" - "@walletconnect/utils" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" + "@walletconnect/utils" "2.14.0-canary.1" events "3.3.0" isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" @@ -2850,10 +2850,10 @@ pino "7.11.0" tslib "1.14.1" -"@walletconnect/relay-api@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499" - integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw== +"@walletconnect/relay-api@1.0.11": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.11.tgz#80ab7ef2e83c6c173be1a59756f95e515fb63224" + integrity sha512-tLPErkze/HmC9aCmdZOhtVmYZq1wKfWTJtygQHoWtgg722Jd4homo54Cs4ak2RUFUZIGO2RsOpIcWipaua5D5Q== dependencies: "@walletconnect/jsonrpc-types" "^1.0.2" @@ -2884,19 +2884,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.14.0.tgz#36533ef0976a869d815624217527482c90937fc8" - integrity sha512-UrB3S3eLjPYfBLCN3WJ5u7+WcZ8kFMe/QIDqLf76Jk6TaLwkSUy563LvnSw4KW/kA+/cY1KBSdUDfX1tzYJJXg== +"@walletconnect/sign-client@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.14.0-canary.1.tgz#efd8680026686ea168d6a40dd209971e2395260f" + integrity sha512-rRQOxCBDSh5kAEWpqP4yoJcDSkWrh6nMxreSVQ3LixFn6GZn1g4E5t8xPZQhPuRWSMahIYy5PWlZfSfx5+wjfw== dependencies: - "@walletconnect/core" "2.14.0" + "@walletconnect/core" "2.14.0-canary.1" "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" - "@walletconnect/utils" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" + "@walletconnect/utils" "2.14.0-canary.1" events "3.3.0" "@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2": @@ -2918,10 +2918,10 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/types@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.14.0.tgz#af3d4799b8ac5d166251af12bc024276f82f9b91" - integrity sha512-vevMi4jZLJ55vLuFOicQFmBBbLyb+S0sZS4IsaBdZkQflfGIq34HkN13c/KPl4Ye0aoR4/cUcUSitmGIzEQM5g== +"@walletconnect/types@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.14.0-canary.1.tgz#4aea53dbb4cea152ddfead8a74af596834118008" + integrity sha512-eOAmNZ6WP46Jhi1oofBmoo6dbRVb4BJSsxTC5BL87ntNQ4eVtzuLXS1Sc6UfksQOTKVlqNEujtO7rC9u7EipAA== dependencies: "@walletconnect/events" "1.0.1" "@walletconnect/heartbeat" "1.2.2" @@ -2950,39 +2950,39 @@ query-string "7.1.3" uint8arrays "^3.1.0" -"@walletconnect/utils@2.14.0": - version "2.14.0" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.14.0.tgz#48493ffe1e902815fda3cbd5cc5409288a066d35" - integrity sha512-vRVomYQEtEAyCK2c5bzzEvtgxaGGITF8mWuIL+WYSAMyEJLY97mirP2urDucNwcUczwxUgI+no9RiNFbUHreQQ== +"@walletconnect/utils@2.14.0-canary.1": + version "2.14.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.14.0-canary.1.tgz#c1393bd9cb30205dda4bbf8ab3c0c190fc6635d5" + integrity sha512-7CjVhA/qul3IuEW/wfaOTGqQ55PVWejbVlysQSUWvMuj0wJ5nCp9LlQetqN7ljGaJp5qkY3wQa1EZEz2TXkjFA== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" "@stablelib/random" "1.0.2" "@stablelib/sha256" "1.0.1" "@stablelib/x25519" "1.0.3" - "@walletconnect/relay-api" "1.0.10" + "@walletconnect/relay-api" "1.0.11" "@walletconnect/safe-json" "1.0.2" "@walletconnect/time" "1.0.2" - "@walletconnect/types" "2.14.0" + "@walletconnect/types" "2.14.0-canary.1" "@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" -"@walletconnect/web3wallet@1.13.0": - version "1.13.0" - resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.13.0.tgz#e3994a13f9aabdffef4ed8d67b03b921339b7154" - integrity sha512-5fAe4rIe7B0Q8NpyEYfyYBjrbtC5H4/VZMSgg9LHxpChXIpjUX01hj7jdTPvE7EOzN1mt2w7hgnpI5jY883gXg== +"@walletconnect/web3wallet@1.13.0-canary.1": + version "1.13.0-canary.1" + resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.13.0-canary.1.tgz#e093ce7fdaffe726d94fb3afd7ca676777537002" + integrity sha512-wjsPv8Oscv26egj0M1kf3IfWeEi90F0ZuAryPYP35fM/SJv538unkxNLGHVJqTzYDZbZU++vJobI3Hg9RbCVLg== dependencies: "@walletconnect/auth-client" "2.1.2" - "@walletconnect/core" "2.14.0" + "@walletconnect/core" "2.14.0-canary.1" "@walletconnect/jsonrpc-provider" "1.0.14" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "2.1.2" - "@walletconnect/sign-client" "2.14.0" - "@walletconnect/types" "2.14.0" - "@walletconnect/utils" "2.14.0" + "@walletconnect/sign-client" "2.14.0-canary.1" + "@walletconnect/types" "2.14.0-canary.1" + "@walletconnect/utils" "2.14.0-canary.1" "@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1": version "1.0.1"