chore: add ledger module

This commit is contained in:
RadoslavDimchev 2023-09-29 07:12:15 +03:00
parent 9ccbea2a86
commit 9133799a28
2 changed files with 142 additions and 0 deletions

View File

@ -29,7 +29,9 @@
"@tamagui/vite-plugin": "1.36.4",
"@types/react": "18",
"@types/react-dom": "18",
"@web3-onboard/core": "^2.21.2",
"@web3-onboard/injected-wallets": "^2.10.6",
"@web3-onboard/ledger": "^2.5.2",
"@web3-onboard/react": "^2.8.13",
"@web3-onboard/walletconnect": "^2.4.6",
"emoji-picker-react": "^4.4.11",

140
yarn.lock
View File

@ -3691,6 +3691,13 @@ __metadata:
languageName: node
linkType: hard
"@ledgerhq/connect-kit-loader@npm:^1.1.0":
version: 1.1.2
resolution: "@ledgerhq/connect-kit-loader@npm:1.1.2"
checksum: 614fdd9ac2363da60af667adcfe4721f863d8ea06ee45a08192a162c28e806dc07491bee4833d14def74de673eac1f1450eaf67e783c8c28da4e0cd095b4474a
languageName: node
linkType: hard
"@lit-labs/ssr-dom-shim@npm:^1.0.0, @lit-labs/ssr-dom-shim@npm:^1.1.0":
version: 1.1.1
resolution: "@lit-labs/ssr-dom-shim@npm:1.1.1"
@ -9214,6 +9221,30 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/core@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/core@npm:2.9.1"
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.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.9.1
"@walletconnect/utils": 2.9.1
events: ^3.3.0
lodash.isequal: 4.5.0
uint8arrays: ^3.1.0
checksum: 978b6410d06de0fc8785e6394d0aa44dc7822c3f62e65d8cd3a38263e70b64912179f3f4e5e9d24a06b51d4b7dd61c5237f5bdaa89156addb89432c984cf3ed1
languageName: node
linkType: hard
"@walletconnect/core@npm:^1.8.0":
version: 1.8.0
resolution: "@walletconnect/core@npm:1.8.0"
@ -9259,6 +9290,28 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/ethereum-provider@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/ethereum-provider@npm:2.9.1"
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.9.1
"@walletconnect/types": 2.9.1
"@walletconnect/universal-provider": 2.9.1
"@walletconnect/utils": 2.9.1
events: ^3.3.0
peerDependencies:
"@walletconnect/modal": ">=2"
peerDependenciesMeta:
"@walletconnect/modal":
optional: true
checksum: 18fa13b7cdc4ef3445ea87bd5465fea9eadc5d3b6c18acc43e537b8eb81f1d7ccc1c3005e626b609d89c873b793d9d21e2a66b46ebd176f15a1530f89712509c
languageName: node
linkType: hard
"@walletconnect/ethereum-provider@npm:^2.10.0":
version: 2.10.1
resolution: "@walletconnect/ethereum-provider@npm:2.10.1"
@ -9519,6 +9572,23 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/sign-client@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/sign-client@npm:2.9.1"
dependencies:
"@walletconnect/core": 2.9.1
"@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.1
"@walletconnect/utils": 2.9.1
events: ^3.3.0
checksum: 8be84c853ed7c8ca8cdeba494616349d52ffaa525c96b7f4c7550aacc0a266a03ad9ce365cb527784d5aedfe9a1d99463cca585884492ba68db61be6d3fc2a86
languageName: node
linkType: hard
"@walletconnect/socket-transport@npm:^1.8.0":
version: 1.8.0
resolution: "@walletconnect/socket-transport@npm:1.8.0"
@ -9553,6 +9623,20 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/types@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/types@npm:2.9.1"
dependencies:
"@walletconnect/events": ^1.0.1
"@walletconnect/heartbeat": 1.2.1
"@walletconnect/jsonrpc-types": 1.0.3
"@walletconnect/keyvaluestorage": ^1.0.2
"@walletconnect/logger": ^2.0.1
events: ^3.3.0
checksum: 2e1650a1fc52054955e6e632639bb1e13274c1c1ce192b15ef9eacab0d0e9b569e14515aac9696b312370831eaad887e72e66951299494b4e32194edc12658aa
languageName: node
linkType: hard
"@walletconnect/types@npm:^1.8.0":
version: 1.8.0
resolution: "@walletconnect/types@npm:1.8.0"
@ -9577,6 +9661,23 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/universal-provider@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/universal-provider@npm:2.9.1"
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.9.1
"@walletconnect/types": 2.9.1
"@walletconnect/utils": 2.9.1
events: ^3.3.0
checksum: 03064f6e9a229fab800ba83a7d2db4fef4ae1523212f30988b29a6555511d982d8df97c8180a3bc7de66c63a35b6f95b631bdb44efca953e5a6b5fc50aaaf0ff
languageName: node
linkType: hard
"@walletconnect/utils@npm:2.10.1":
version: 2.10.1
resolution: "@walletconnect/utils@npm:2.10.1"
@ -9599,6 +9700,28 @@ __metadata:
languageName: node
linkType: hard
"@walletconnect/utils@npm:2.9.1":
version: 2.9.1
resolution: "@walletconnect/utils@npm:2.9.1"
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.9
"@walletconnect/safe-json": ^1.0.2
"@walletconnect/time": ^1.0.2
"@walletconnect/types": 2.9.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
checksum: bd245e551a83e1eeece78bb0011bd990f634c027871254db3a90fdf10f95636fa95933a648fc44dc490513766d920658c445e152e7069437763bb8d6cf1624f3
languageName: node
linkType: hard
"@walletconnect/utils@npm:^1.8.0":
version: 1.8.0
resolution: "@walletconnect/utils@npm:1.8.0"
@ -9692,6 +9815,21 @@ __metadata:
languageName: node
linkType: hard
"@web3-onboard/ledger@npm:^2.5.2":
version: 2.5.2
resolution: "@web3-onboard/ledger@npm:2.5.2"
dependencies:
"@ethersproject/providers": 5.5.0
"@ledgerhq/connect-kit-loader": ^1.1.0
"@walletconnect/client": ^1.8.0
"@walletconnect/ethereum-provider": 2.9.1
"@walletconnect/modal": 2.6.1
"@web3-onboard/common": ^2.3.3
rxjs: ^7.5.2
checksum: e1b100d6a19749b612f0857b49be368b9d79b078612790cae1e15e7b1b2aa85618371cc43cdc9c62f24898d770c3aff30d13b7513d0a028644cb624937fb3eeb
languageName: node
linkType: hard
"@web3-onboard/react@npm:^2.8.13":
version: 2.8.13
resolution: "@web3-onboard/react@npm:2.8.13"
@ -17627,7 +17765,9 @@ __metadata:
"@typescript-eslint/eslint-plugin": ^6.0.0
"@typescript-eslint/parser": ^6.0.0
"@vitejs/plugin-react": ^4.0.3
"@web3-onboard/core": ^2.21.2
"@web3-onboard/injected-wallets": ^2.10.6
"@web3-onboard/ledger": ^2.5.2
"@web3-onboard/react": ^2.8.13
"@web3-onboard/walletconnect": ^2.4.6
emoji-picker-react: ^4.4.11