Commit Graph

35 Commits

Author SHA1 Message Date
Ben Kremer
1c4c4de242 chore: adds backlink to readme to version display 2022-06-14 18:35:57 +02:00
Ben Kremer
55cdfbf6a6 docs: adds SDK compatibility notices in provider example readmes 2022-05-31 10:48:33 +02:00
Ben Kremer
3a2ac70f1f fix(dapps): normalize addresses to lowercase when validating signatures
fix(dapp-v2): normalize addresses to lowercase when validating signatures

chore: updates yarn.lock

fix(with-ethers): normalize addresses to lowercase for sig validation

fix(with-web3js): normalize addresses to lowercase for sig validation

Fixes #18
2022-04-08 17:09:37 +02:00
Ben Kremer
a82034fefd chore(deps): upgrade dapp examples to 2.0.0-beta.26 2022-03-29 11:51:10 +02:00
Ben Kremer
80e97e5163 feat: adds sig verification for eth_signTransaction 2022-03-21 13:20:53 +01:00
Ben Kremer
5097f42b7f chore: adds link to discussion on omitting EIP712Domain validation 2022-03-21 11:50:43 +01:00
Ben Kremer
512d9f1ccc fix: sets rpc result to null on rejection for EthereumProvider examples 2022-03-10 12:16:05 +01:00
Ben Kremer
929779f213 fix(dapps): aligns EIP712 example with the one used in spec
Reference: https://eips.ethereum.org/EIPS/eip-712
2022-03-10 12:04:09 +01:00
Ben Kremer
2c314afee9 docs(dapp): use walletconnect subdomains for demo links 2022-03-10 10:36:38 +01:00
Ben Kremer
e437e802dd fix: handle session_updated event in EthereumProvider examples 2022-03-04 12:03:24 +00: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
c4b93e771a docs: adds overview for react-dapp-v2-with-ethers 2022-02-21 13:47:16 +01:00
Ben Kremer
d4c670bdf3 chore: updates .env.local.example to use non-dev relay 2022-02-18 14:24:57 +01:00
Ben Kremer
558efc8d27 refactor: simplify eth_sendTransaction for ethers example 2022-02-18 10:59:25 +01:00
Ben Kremer
154e05afa7 refactor: use web3Provider.listAccounts() 2022-02-18 10:51:35 +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