Commit Graph

192 Commits

Author SHA1 Message Date
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
Ben Kremer
3c2684f851 refactor(dapp): support signing from different addresses on same network 2022-02-21 11:45:15 +01:00
Ben Kremer
d4c670bdf3 chore: updates .env.local.example to use non-dev relay 2022-02-18 14:24:57 +01:00
Ilja
c6365f206f Added link to dapp 2022-02-18 15:22:50 +02:00
Ilja
be7d5aacd3
Update README.md 2022-02-18 15:20:00 +02:00
Ilja
426dd9f487 Merge branch 'wallets' 2022-02-18 15:14:58 +02:00
Ilja
2ee2f17b66 Add root Readme 2022-02-18 15:14:47 +02:00
Ilja
e9533ee7a4
Delete .DS_Store 2022-02-18 15:11:09 +02:00
Ilja
5ab3fcf16a
Delete .DS_Store 2022-02-18 15:11:04 +02:00
Ilja
26d12d4213 cleanup 2022-02-18 14:58:34 +02:00
Ilja
3b2a815832 Merge branch 'wallets' 2022-02-18 14:54:10 +02:00
Ilja
2576442591 Add readme 2022-02-18 14:53:57 +02:00
Ilja
186f9ca961 Add more main / test nets 2022-02-18 14:17:59 +02:00
Ilja
fb77cd596a Merge branch 'wallets' 2022-02-18 13:55:34 +02:00
Ilja
32c7949c16 Fix transaction sending, implement signTransaction 2022-02-18 13:55:17 +02:00
Ilja
287664ac87 Handle un-supported methods 2022-02-18 13:42:13 +02:00
Ilja
8664c11e4d Fixes for new nextjs version 2022-02-18 13:30:50 +02:00
Ilja
e64e1b3fcf Update deps, remove theme switching in favour of simplicity 2022-02-18 13:22:26 +02:00
Ben Kremer
558efc8d27 refactor: simplify eth_sendTransaction for ethers example 2022-02-18 10:59:25 +01:00
Ben Kremer
e58caef755 Merge branch 'main' of github.com:WalletConnect/examples into main 2022-02-18 10:51:59 +01:00
Ben Kremer
154e05afa7 refactor: use web3Provider.listAccounts() 2022-02-18 10:51:35 +01:00
Ilja
cadbb184d0 Merge branch 'wallets' 2022-02-17 15:33:39 +02:00
Ilja
73bde541c8 session and pairing management 2022-02-17 15:33:27 +02:00
Ben Kremer
75354cf87d chore(deps): upgrade deps to beta.23 2022-02-17 14:21:57 +01:00
Ben Kremer
ea083b2216 Merge branch 'feat/dapp-ethereum-provider-ethers' into main 2022-02-17 13:59:20 +01:00
Ben Kremer
5a4835281f refactor: re-enables session ping 2022-02-17 13:58:09 +01:00
Ben Kremer
7c03646e39 feat: adds web3Provider.send("eth_signTransaction,...") 2022-02-17 12:17:12 +01:00
Ben Kremer
4058649b14 feat: adds web3Provider.send("eth_sign",...) 2022-02-17 11:33:12 +01:00
Ben Kremer
f3c9a9bdcf chore: cleanup 2022-02-17 11:29:38 +01:00
Ben Kremer
61148c8c04 chore(deps): upgrade to beta.23 2022-02-17 10:39:24 +01:00
Ben Kremer
2dfb5a0bc6 fix: use ethers.utils.verifyTypedData to verify signature 2022-02-17 10:33:19 +01:00
Ben Kremer
4b0d8c50fd chore(deps): replaces legacy-modal dep with standard qrcode-modal 2022-02-17 10:33:19 +01:00
Ben Kremer
0e7b02da4b fix: adds missing useCallback dependency 2022-02-17 10:33:19 +01:00
Ben Kremer
b225f4e215 feat: adds provider handler for eth_signTypedData 2022-02-17 10:33:19 +01:00
Ben Kremer
35868ea7af feat: sets up passing of custom RPCs to EthereumProvider 2022-02-17 10:33:19 +01:00
Ben Kremer
3e53d08874 fix: simplifies session deleted handling 2022-02-17 10:33:19 +01:00
Ben Kremer
bf553a2c2d refactor: simplify by using higher-level provider.disconnect 2022-02-17 10:33:19 +01:00