Commit Graph

261 Commits

Author SHA1 Message Date
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
Ben Kremer
9172b368b9 refactor: abstract into DEFAULT_INFURA_ID 2022-02-17 10:33:19 +01:00
Ben Kremer
ca5b9674d7 feat: gets persistence check working with provider 2022-02-17 10:33:19 +01:00
Ben Kremer
4d1caa7997 fix: dereference session from client directly 2022-02-17 10:33:19 +01:00
Ben Kremer
623c44e4c2 chore: cleanup 2022-02-17 10:33:19 +01:00
Ben Kremer
6a23ad8a0a fix: removes reliance on session for Header 2022-02-17 10:33:19 +01:00
Ben Kremer
68a5335b02 wip 2022-02-17 10:33:19 +01:00
Ben Kremer
43c67d0c81 chore: set up app, get basics working with EthereumProvider 2022-02-17 10:33:19 +01:00
Ilja
bc74c8cfd9 Merge branch 'wallets' 2022-02-16 15:53:45 +02:00
Ilja
9ce7eae3ac fix eth sign ordering 2022-02-16 15:53:23 +02:00
Ilja
9519593efe Merge branch 'wallets' 2022-02-16 15:46:56 +02:00
Ilja
c94076a35c prep session and pairing pages 2022-02-16 15:46:42 +02:00
Ben Kremer
033cf6a585 fix: simplifies handling deleted session 2022-02-16 14:28:24 +01:00
Ben Kremer
415b38759e Merge branch 'main' of github.com:WalletConnect/examples into main 2022-02-16 14:12:42 +01:00
Ben Kremer
5ea671281f refactor: updates eth_signTypedData example 2022-02-16 14:12:02 +01:00
Ben Kremer
f5814d4d1a feat: adds eth_sign and eth_signTransaction examples 2022-02-16 14:05:12 +01:00
Ilja
c3daa5b2a9 Implement eth_sendTransaction 2022-02-16 14:02:39 +02:00
Ilja
914f91967a SessionTypedData modal 2022-02-15 15:28:30 +02:00
Ilja
6d5c679ca7 Parse and sign typed data 2022-02-15 14:41:46 +02:00
Ilja
a9280ef124 Minor layout fixes 2022-02-15 13:22:26 +02:00
Ilja
e43eab7b72 another attempt at ios fix 2022-02-15 12:55:19 +02:00
Ilja
96d8650508 fix mobile scrolling 2022-02-15 12:47:36 +02:00
Ilja
bff24051d5 Merge branch 'wallets' 2022-02-15 12:02:12 +02:00
Ilja
01c9d2d861 Implement light and dark theme toggles 2022-02-14 15:51:49 +02:00
Ilja
354cf0bf34 Fix logic for personal_sign signing 2022-02-14 15:46:11 +02:00
Ilja
e2ac17957e Wrap up eth_sign and personal_sign examples 2022-02-14 15:38:09 +02:00
Ilja
de05b8c82c Refactor wallet into util, restore from mnemonic, prep for session page 2022-02-14 12:10:44 +02:00
Ilja
4a95f9edbd WIP on sign handling 2022-02-11 15:21:34 +02:00
Ilja
eb063aca3a session.request modal flow 2022-02-11 13:48:04 +02:00
Ben Kremer
f5a0598ef1 chore: removes unused param 2022-02-10 17:31:36 +01:00
Ben Kremer
fa72dd6577 refactor: rename fetching -> isFetchingBalances 2022-02-10 17:16:08 +01:00
Ben Kremer
2b25de2f30 refactor: renames loading -> isInitializing 2022-02-10 17:12:38 +01:00