Commit Graph

518 Commits

Author SHA1 Message Date
Ben Kremer
f06ba323ac feat(dapp-v2): adds cosmos signature verification (#6) 2022-04-04 16:04:11 +02:00
Ben Kremer
32afbb373c fix(cosmos-provider): handle possibly undefined address 2022-04-04 15:51:15 +02:00
Ben Kremer
b8515abe6e chore(deps): update to cosmos-wallet@1.2.0 in v2-cosmos-provider 2022-04-04 13:52:12 +02:00
Ben Kremer
cda29b7ffd Revert "Revert "Cosmos signature verification (#6)""
This reverts commit dad29d7611.
2022-04-04 13:49:32 +02:00
Chad Jackson
50881924fa
update broken link (#15) 2022-03-29 15:37:09 +02:00
Ben Kremer
5d8245b8f1 fix(with-web3js): resolves EthereumProvider type error fixed by 2.0.0-beta.26 2022-03-29 12:12:05 +02:00
Ben Kremer
c0c833be6c chore(wallet): upgrade to 2.0.0-beta.26
This wasn't resolving the new version via `experimental` since beta.23
was cached in yarn.lock.
Using explicit versions instead.
2022-03-29 12:05:34 +02:00
Ben Kremer
a82034fefd chore(deps): upgrade dapp examples to 2.0.0-beta.26 2022-03-29 11:51:10 +02:00
Chad Jackson
a49358c323
Create LICENSE (#14) 2022-03-28 11:50:36 +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
1f3af8763c refactor(dapp-v2): use ethers.utils.verifyMessage 2022-03-21 11:47:30 +01:00
Ben Kremer
f1e69504a0 fix(dapp-v2): ensures thrown errors bubble to RPC result modal
Fixes #10
2022-03-18 11:54:26 +01:00
Ben Kremer
59b9eb5867 refactor(dapp-v2): separates chainData into own context/hook 2022-03-17 16:56:54 +01:00
Ben Kremer
6b14e13eaf refactor(dapp-v2): use enums for default chain methods 2022-03-17 16:21:47 +01:00
Ben Kremer
c4759249b6 refactor(dapp-v2): rename resetApp -> reset 2022-03-17 15:02:23 +01:00
Ben Kremer
112465b5c7 fix(wallet-v2): fixes signing for solana_signTransaction
The existing implementation in the wallet was returning signatures
that came back `false` when calling `transaction.validateSignatures` on
them.

This issue doesn't seem to arise when using the `solana-wallet` package to
sign the transaction.
2022-03-17 14:24:41 +01:00
Ben Kremer
9f7e78969c chore(wallet-v2): adds solana-wallet 2022-03-17 14:19:00 +01:00
Ben Kremer
863e0f8bf8 feat(dapp-v2): integrates solana + RPC methods 2022-03-17 11:08:47 +01:00
Ben Kremer
86ef897b4c chore(config): adds solana network data and metadata 2022-03-16 16:26:00 +01:00
Ben Kremer
a54db6ceb2 chore(deps): adds @solana/web3.js 2022-03-16 15:34:07 +01:00
Ben Kremer
9e77f51464 refactor(with-solana): use solanaWallet.verifyMessageSignature 2022-03-16 15:17:59 +01:00
Ben Kremer
b382036c83 feat(with-solana): adds tx sig and message sig verification 2022-03-15 17:19:53 +01:00
Ben Kremer
e78bacd165 chore(with-solana): adds tweetnacl as direct dep 2022-03-15 15:50:52 +01:00
Ben Kremer
8c5e817760 fix(with-solana): use spec-compliant solana_ method prefix 2022-03-15 15:03:27 +01:00
Ilja
8963cc8cc4 Merge branch 'wallets' 2022-03-15 16:01:02 +02:00
Ilja
56a39264ad Update solana method names, fix signMessage 2022-03-15 16:00:52 +02:00
Ilja
005b69cb2f Merge branch 'wallets' 2022-03-15 15:37:20 +02:00
Ilja
19a5aad5ef fix solana message signing 2022-03-15 15:37:08 +02:00
Ben Kremer
a99f7d82c8 Merge branch 'feat/solana-signMessage' into main 2022-03-15 14:30:20 +01:00
Ben Kremer
c419b83ee5 feat(with-solana): adds sol_signMessage request example 2022-03-15 14:29:39 +01:00
Ilja
2b85264b42 Merge branch 'wallets' 2022-03-15 14:48:45 +02:00
Ilja
0a839ff36e Expose all mnemonics and secret keys in settings 2022-03-15 14:48:35 +02:00
Ben Kremer
f676fd0d05 Merge branch 'main' of github.com:WalletConnect/examples into main 2022-03-15 13:46:07 +01:00
Ben Kremer
42623d493a fix(with-solana): render result.signature for result in modal 2022-03-15 13:45:27 +01:00
Ilja
71f746468e Merge branch 'wallets' 2022-03-15 14:31:21 +02:00
Ilja
52f8c5d82c Fis solana signTransaction 2022-03-15 14:31:10 +02:00
Ilja
0c2f1350e1 Create EIP155Lib for consistency with Cosmos and Solana 2022-03-15 14:21:17 +02:00
Ben Kremer
6f4a52a8d9 fix(with-solana): disable transaction.addSignature temporarily 2022-03-15 13:16:10 +01:00
Ben Kremer
e1dc7f83a7 Merge branch 'main' of github.com:WalletConnect/examples into main 2022-03-15 13:15:31 +01:00
Ilja
b324ed7b34 Cleanup 2022-03-15 13:37:48 +02:00
Ilja
3f4a6d5253 Merge branch 'wallets' 2022-03-15 13:30:51 +02:00
Ilja
dd81e04445 Save solana signTransaction progress 2022-03-15 13:30:41 +02:00
Ben Kremer
202aa73ab5 fix(with-solana): ensure address is returned for sol_signTransaction 2022-03-15 11:17:55 +01:00
Ilja
4d593758e7 Refactor CosmosLib 2022-03-15 12:09:30 +02:00
Ben Kremer
7550d4e90a fix(with-solana): adds missing transaction.recentBlockhash param 2022-03-15 10:39:34 +01:00
Ilja
cdbf9af7a6 Add feePayer and recentBlockhash to solana's signTransaction 2022-03-15 11:29:42 +02:00
Ilja
8ba122d703 Save progress on solana transaction signing 2022-03-15 11:11:58 +02:00
Ben Kremer
f70dec62ef docs(with-solana): adds preview URL and PoC note 2022-03-14 17:54:43 +01:00
Ben Kremer
9b59d1a94e refactor(with-solana): handle multiple pubKeys via mapping 2022-03-14 17:48:46 +01:00