Ben Kremer
|
a6ef7d64bd
|
Merge branch 'feat/dapp-with-solana-web3js' into main
|
2022-03-14 12:14:44 +01:00 |
|
Ben Kremer
|
5338c930fe
|
fix: adds toggling between solana devnet and mainnet
|
2022-03-14 12:10:15 +01:00 |
|
Ben Kremer
|
2b695af9f0
|
fix: allows rejected eth_sendTransaction call to bubble to handler
Fixes: https://github.com/WalletConnect/walletconnect-monorepo/issues/854
There was a superfluous try/catch here which caused the rejection to be
logged and then continue instead of throwing and allowing the
JsonRpcHandler wrapper to handle the promise rejection.
|
2022-03-14 11:11:16 +01:00 |
|
Ben Kremer
|
ae2a3d2d60
|
feat(dapp-with-solana): sets up client and sol_signTransaction test
|
2022-03-11 18:15:56 +01:00 |
|
Ben Kremer
|
c418007c24
|
chore(deps): adds bs58
|
2022-03-11 16:12:39 +01:00 |
|
Ben Kremer
|
2568b0d3bb
|
fix: manually adds basic solana chain metadata until available via API
|
2022-03-11 15:17:04 +01:00 |
|
Ben Kremer
|
4932223b76
|
chore: adds solana mainnet and testnet chainIds
|
2022-03-11 15:16:35 +01:00 |
|
Ben Kremer
|
f5b6c7c8a8
|
chore(deps): adjusts required deps for solana
|
2022-03-11 15:15:32 +01:00 |
|
Ben Kremer
|
7b8b3e5c85
|
chore: set up react-dapp-v2-with-solana-web3js subdirectory
|
2022-03-11 14:03:18 +01:00 |
|
Ben Kremer
|
dad29d7611
|
Revert "Cosmos signature verification (#6)"
This reverts commit 3c47a595b8 .
|
2022-03-10 15:38:53 +01:00 |
|
Alex
|
3c47a595b8
|
Cosmos signature verification (#6)
|
2022-03-10 15:30:12 +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
|
1998be6295
|
refactor(dapp-v2): use existing onSessionConnected handler for session_updated
|
2022-03-04 10:30:08 +00:00 |
|
Ben Kremer
|
57e991f56a
|
fix(v2-dapp): handle CLIENT_EVENTS.session.updated event
|
2022-03-04 10:21:15 +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 |
|
Ben Kremer
|
072d4593ca
|
chore: rename react-dapp-v2-cosmos -> react-dapp-v2-cosmos-provider
|
2022-03-01 12:02:15 +00:00 |
|
Ben Kremer
|
d309291b9e
|
docs(v2-cosmos): updates readme
|
2022-02-24 10:54:10 +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 |
|
Ben Kremer
|
09334bd198
|
docs(with-web3js): updates example and top-level readmes
|
2022-02-23 11:07:21 +01: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
|
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 |
|
Ben Kremer
|
c4b93e771a
|
docs: adds overview for react-dapp-v2-with-ethers
|
2022-02-21 13:47:16 +01:00 |
|
Ben Kremer
|
288f19a12a
|
docs: adds overview for react-dapp-v2
|
2022-02-21 12:11:48 +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 |
|
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
|
75354cf87d
|
chore(deps): upgrade deps to beta.23
|
2022-02-17 14:21:57 +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 |
|