Commit Graph

528 Commits

Author SHA1 Message Date
Ben Kremer
57e991f56a fix(v2-dapp): handle CLIENT_EVENTS.session.updated event 2022-03-04 10:21:15 +00:00
Ilja
9b89d8565a Merge branch 'wallets' 2022-03-02 15:57:37 +02:00
Ilja
749e8f9bd4 Add ability to manage session 2022-03-02 15:57:21 +02:00
Ilja
3add26b0bf Fix double cosmos connection issue 2022-03-02 12:46:52 +02:00
Ben Kremer
f8df69843d docs: adds cosmosProvider example to top-level readme index 2022-03-01 14:30:36 +00:00
Ben Kremer
42a2aeea97 Merge branch 'main' of github.com:WalletConnect/examples into main 2022-03-01 14:13:51 +00:00
Ben Kremer
44b2cac9f3 fix(v2-cosmos-provider): set RPC result on caught error 2022-03-01 14:13:14 +00:00
Ben Kremer
2e0ead7011 fix(v2-cosmos-provider): fixes expected RPC result shape 2022-03-01 14:05:39 +00:00
Ben Kremer
d91d05d559 fix(react-dapp-v2): fixes accessing of result.signature on cosmos RPC 2022-03-01 13:56:47 +00:00
Ilja
caddeee915 Merge branch 'wallets' 2022-03-01 15:36:41 +02:00
Ilja
320a4e9c61 remove cosmos wallet 2022-03-01 15:36:14 +02:00
Ilja
5bf6c7bc8c add proper types 2022-03-01 15:35:50 +02:00
Ilja
643b38a3a8 wrap up cosmos js 2022-03-01 15:34:37 +02:00
Ilja
24f5aa1a15 Cosmos signing wip 2022-03-01 14:43:09 +02:00
Ben Kremer
072d4593ca chore: rename react-dapp-v2-cosmos -> react-dapp-v2-cosmos-provider 2022-03-01 12:02:15 +00:00
Ilja
9217bee15b Add ui to select pairing accs cross chain 2022-02-28 16:16:30 +02:00
Ilja
30f5f7cb1e Cleanup CosmosUtil api 2022-02-28 15:45:44 +02:00
Ilja
bf2764b6c6 Use mnemonic-keystore and cosmos-wallet 2022-02-28 15:36:47 +02:00
Ilja
c7c2c7d8c4 Merge branch 'wallets' 2022-02-25 17:06:05 +02:00
Ilja
fbf5862121 Add cosmos to session proposal modal 2022-02-25 17:05:44 +02:00
Ilja
580cb40b32 Add cosmos to account list 2022-02-25 15:48:54 +02:00
Ilja
7fe4415af0 CosmosUtil for wallet creation 2022-02-25 15:19:39 +02:00
Ilja
b73855a561 wip cosmos wallet util 2022-02-24 15:26:02 +02:00
Ilja
948f66aef2 Reorganise everything, to separate EIP155 from Cosmos logic 2022-02-24 13:55:13 +02:00
Ilja
11a0966052 WIP adding cosmos hub 2022-02-24 12:23:52 +02:00
Ben Kremer
d309291b9e docs(v2-cosmos): updates readme 2022-02-24 10:54:10 +01:00
Ben Kremer
2e6200b4d5 Merge branch 'feat/dapp-cosmos-provider' into main 2022-02-24 10:46:34 +01:00
Ben Kremer
cc39f1c52b refactor(cosmos): handle RPC requests via cosmosProvider 2022-02-24 10:42:31 +01:00
Ben Kremer
a9be9fc4e9 feat: sets up v2-cosmos example 2022-02-23 15:02:40 +01:00
Ilja
8d6cd5c541 wip, session page 2022-02-23 13:33:15 +02:00
Ben Kremer
09334bd198 docs(with-web3js): updates example and top-level readmes 2022-02-23 11:07:21 +01:00
Ilja
169a442b78 Merge branch 'wallets' 2022-02-22 16:05:25 +02:00
Ilja
0e97e3f278 Improve account selection ux 2022-02-22 14:12:50 +02:00
Ilja
572280f7b4 adjust styling of copy btn tooltip 2022-02-22 13:52:20 +02:00
Ilja
590551fa92 Add ability to copy account address 2022-02-22 13:50:08 +02:00
Ben Kremer
331a6e2e66 refactor(with-web3js): handles multi-account balance representation 2022-02-22 11:58:53 +01:00
Ben Kremer
68655234b4 feat: gets eth_signTypedData working with web3js 2022-02-22 11:55:16 +01:00
Ben Kremer
240d874562 feat: sets up react-dapp-v2-with-web3js 2022-02-22 11:55:16 +01:00
Ben Kremer
97bdc4aa59 refactor(with-ethers): handles multi-account balance representation 2022-02-22 11:54:07 +01:00
Ben Kremer
e7e8638229 chore: cleans up unused JsonRpcContext in with-ethers example 2022-02-22 11:14:05 +01:00
Ben Kremer
6eb13e995e Merge branch 'fix/assets-endpoint' into main 2022-02-21 17:54:34 +01:00
Ben Kremer
7e76cb79d1 fix(api): use /account-balance endpoint instead of /account-assets
There seems to be a weird race condition on the `/account-assets`
endpoint when handling two different requests for the same chainId.

Reproduction:
https://codesandbox.io/s/ethereum-api-race-condition-repro-f24x4t?file=/src/index.js
2022-02-21 17:53:11 +01:00
Ilja
c5c6823858 Merge branch 'wallets' 2022-02-21 15:53:57 +02:00
Ilja
e82ca094b3 Implement multi wallet support 2022-02-21 15:53:39 +02:00
Ben Kremer
c4b93e771a docs: adds overview for react-dapp-v2-with-ethers 2022-02-21 13:47:16 +01:00
Ilja
c69121d673 Move account selection to settings store 2022-02-21 14:46:45 +02:00
Ilja
99ab6286f2 Implement account switching logic 2022-02-21 14:22:54 +02:00
Ilja
26c57c1da6 Refactor to support multiple accounts, acc picker component 2022-02-21 13:55:35 +02:00
Ben Kremer
288f19a12a docs: adds overview for react-dapp-v2 2022-02-21 12:11:48 +01:00
Ben Kremer
cc2a0e1b62 docs: update top-level readme with links to demo deployments 2022-02-21 12:03:17 +01:00