Commit Graph

217 Commits

Author SHA1 Message Date
Ben Kremer
d04c2e08a1 chore(deps): update auth-client to 0.1.6 2022-09-06 15:24:23 +02:00
Ben Kremer
5f982630e1 chore(deps): update auth-client to 0.1.5 2022-09-06 14:01:02 +02:00
Ben Kremer
93047b0e92 chore(deps): update react-wallet-auth to auth-client@0.1.4 2022-09-06 13:48:11 +02:00
Ben Kremer
c032f54570
chore(deps): update to auth-client@0.1.3 for auth dapp and wallet (#53)
* chore(deps): update auth-client to 0.1.3

* fix: adds metadata for dapp

* chore(deps): update wallet to auth-client@0.1.3
2022-09-06 11:54:45 +02:00
Celine Sarafa
aedddbcbdc
Remove session from nav for auth (#51)
* Removed session from nav

* Add note that you can copy the qrcode

* Moving WC icon to the right
2022-09-05 10:50:21 +03:00
Celine Sarafa
5a438ac92a
feat/add auth demos (#49)
* Add auth dapp

* Add initial auth wallet

* Remove unusused files

* Refactor code

* Switched both to NPM, use npm package
2022-09-02 12:34:03 +03:00
Ben Kremer
659857eb41 chore(deps): update @walletconnect/* to rc.2 2022-08-15 15:15:21 +02:00
hamidra
1406ce3999
Add Polkadot RPCs to the Dapp examples and wallet (#44)
Co-authored-by: Ben Kremer <contact@bkrem.dev>
2022-08-11 11:43:12 +02:00
Ben Kremer
9509f47103 chore(deps): update to 2.0.0-rc.1 2022-08-08 11:40:14 +02:00
Ben Kremer
c87a77ef10 canary 2.0.0-6de2113.0 2022-08-04 18:29:20 +02:00
Ben Kremer
c69b909252 chore(deps): upgrades wallet to rc.0 2022-07-22 22:56:53 +02:00
Ilja
be11029dad
wallet/beta.102 (#35) 2022-07-12 15:02:17 +07:00
Andrew Margetts
3ce43b887a
Update README.md (#22)
Fix minor spelling error
2022-07-12 08:18:02 +02:00
Ben Kremer
4ab000ed05
chore(deps): upgrades primary dapp/wallet examples to beta.101 (#33) 2022-06-16 16:22:34 +02:00
Pedro Gomes
954831538d
Beta 100 (#27)
* update deps

* revert react dep updates

* chore: update deps to beta.50

* fix: get dapp running again up to Client.connect()

* save progress

* feat(debug): sets up a debug peerClient as responder

* refactor: remove more hardcoded example connect params

* fix: gets `checkPersistedState` working again

* fix: gets client.disconnect + effects working again

* feat: integrates `session_update` handling with namespaces

* fix: remove hardcoded `chains`

* stash progress

* Establish session

* save progress - established session with example dapp

* refactor: rewrite namespace helpers to handle `requiredNamespaces` (#23)

* fix: re-enables restoring persisted session

* refactor: remove debug peerClient code

* fix: re-enables restoring persisted pairings

* Save progress

* fix: re-enables pairing modal, connecting from existing pairing

* Update modals to handle new payloads

* fix(types): fix Metadata typing

* chore(deps): upgrade to beta.53

* refactor: adjusts event handler args for beta.53 `session_update`

* stash

* fix: adds missing keys for `DEFAULT_EIP155_EVENTS` enum

* stash

* chore: update comment for client.request typing FIXME

* feat: integrate beta.54

* feat: integrate beta.55, removes FIXME comments for client.request types

* chore: clean up unused import

* fix: log session_ping event

* fix: log incoming `session_event`

* chore: upgrade client@2.0.0-beta.55 -> sign-client@2.0.0-beta.56

* chore: integrate beta.57

* New beta changes (#24)

* smal lchange

* fix types

* Add package info

* format empty methods / events

* Update deps

* adjust styles

* attempt ios layout fix

* Revert "attempt ios layout fix"

This reverts commit f0176f2ef52f338980ee54e75a767b3d452733f2.

* beta.54

* fix build

* Update to beta 55

* Add todos

* update wallet to beta 56

* Update mumbai rpc add logger

* update to beta 57

* chore: adds note on beta.100 compatibility

* plock

* beta.58

* beta.100;

Co-authored-by: Ilja <idaderko@gmail.com>
Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Ilja <IljaDaderko@users.noreply.github.com>
2022-05-30 11:46:15 +02:00
Ilja
dc76f21c2c
Update wallet deps (#21)
* update deps

* revert react dep updates
2022-04-21 10:51:37 +03:00
Ben Kremer
cda29b7ffd Revert "Revert "Cosmos signature verification (#6)""
This reverts commit dad29d7611.
2022-04-04 13:49:32 +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
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
Ilja
56a39264ad Update solana method names, fix signMessage 2022-03-15 16:00:52 +02:00
Ilja
19a5aad5ef fix solana message signing 2022-03-15 15:37:08 +02:00
Ilja
0a839ff36e Expose all mnemonics and secret keys in settings 2022-03-15 14:48:35 +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
Ilja
b324ed7b34 Cleanup 2022-03-15 13:37:48 +02:00
Ilja
dd81e04445 Save solana signTransaction progress 2022-03-15 13:30:41 +02:00
Ilja
4d593758e7 Refactor CosmosLib 2022-03-15 12:09:30 +02: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
Ilja
518510ca1f Add solana support to session page 2022-03-14 14:53:12 +02:00
Ilja
2b9a9e4e6a Add solana devnet 2022-03-14 14:36:45 +02:00
Ilja
08e3ff9f62 Cleanup, verify sol connection is working 2022-03-14 14:31:07 +02:00
Ilja
1200b60877 Implement solana secret key storage and recovery 2022-03-14 14:06:19 +02: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
Ilja
8d7b4ab17c prep for canary release flow 2022-03-07 12:18:38 +02:00
Ilja
74c43b7369
Update README.md 2022-03-04 16:01:18 +02:00
Ilja
d6b87c0619
Update README.md 2022-03-04 14:35:48 +02:00
Ilja
1820c19a43
Delete .DS_Store 2022-03-04 14:32:06 +02:00
Ilja
1d5f3fbd80 Fix account display in session page 2022-03-04 14:24:12 +02:00
Ilja
39e68dfcd3 Enable per chain account selection 2022-03-04 14:08:20 +02:00
Ilja
c6ebce7bf3 Update readme 2022-03-04 13:42:20 +02:00
Ilja
02bf3b642d Create request modal components to cleanup the views 2022-03-04 13:10:05 +02:00
Ilja
ae1a9f8f7c Cleanup and unify request data display 2022-03-04 12:37:17 +02:00
Ilja
f4df97e97b Cleanup session project data display 2022-03-04 12:24:15 +02:00
Ilja
749e8f9bd4 Add ability to manage session 2022-03-02 15:57:21 +02:00
Ilja
3add26b0bf Fix double cosmos connection issue 2022-03-02 12:46:52 +02:00
Ilja
320a4e9c61 remove cosmos wallet 2022-03-01 15:36:14 +02:00
Ilja
5bf6c7bc8c add proper types 2022-03-01 15:35:50 +02:00
Ilja
643b38a3a8 wrap up cosmos js 2022-03-01 15:34:37 +02:00
Ilja
24f5aa1a15 Cosmos signing wip 2022-03-01 14:43:09 +02:00
Ilja
9217bee15b Add ui to select pairing accs cross chain 2022-02-28 16:16:30 +02:00
Ilja
30f5f7cb1e Cleanup CosmosUtil api 2022-02-28 15:45:44 +02:00
Ilja
bf2764b6c6 Use mnemonic-keystore and cosmos-wallet 2022-02-28 15:36:47 +02:00
Ilja
fbf5862121 Add cosmos to session proposal modal 2022-02-25 17:05:44 +02:00
Ilja
580cb40b32 Add cosmos to account list 2022-02-25 15:48:54 +02:00
Ilja
7fe4415af0 CosmosUtil for wallet creation 2022-02-25 15:19:39 +02:00
Ilja
b73855a561 wip cosmos wallet util 2022-02-24 15:26:02 +02:00
Ilja
948f66aef2 Reorganise everything, to separate EIP155 from Cosmos logic 2022-02-24 13:55:13 +02:00
Ilja
11a0966052 WIP adding cosmos hub 2022-02-24 12:23:52 +02:00
Ilja
8d6cd5c541 wip, session page 2022-02-23 13:33:15 +02:00
Ilja
0e97e3f278 Improve account selection ux 2022-02-22 14:12:50 +02:00
Ilja
572280f7b4 adjust styling of copy btn tooltip 2022-02-22 13:52:20 +02:00
Ilja
590551fa92 Add ability to copy account address 2022-02-22 13:50:08 +02:00
Ilja
e82ca094b3 Implement multi wallet support 2022-02-21 15:53:39 +02: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
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
e9533ee7a4
Delete .DS_Store 2022-02-18 15:11:09 +02:00
Ilja
26d12d4213 cleanup 2022-02-18 14:58:34 +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
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
Ilja
73bde541c8 session and pairing management 2022-02-17 15:33:27 +02:00
Ilja
9ce7eae3ac fix eth sign ordering 2022-02-16 15:53:23 +02:00
Ilja
c94076a35c prep session and pairing pages 2022-02-16 15:46:42 +02: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
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
Ilja
008fb6cbe2 Save progress 2022-02-10 16:13:01 +02:00
Ilja
f970b91d7d footer responsivness 2022-02-09 17:06:55 +02:00
Ilja
e8a7f0f99f fix low height screen issues 2022-02-09 16:26:12 +02:00
Ilja
c13e9d7581 Settings page layout and components 2022-02-09 15:51:06 +02:00
Ilja
c6c6f22015 dark theme fix 2022-02-09 15:05:54 +02:00
Ilja
fb6f484159 route transitions, safari adjustments 2022-02-09 15:05:11 +02:00
Ilja
c0fe3a5b22 qr reader styling 2022-02-09 14:32:32 +02:00
Ilja
364661955a Nav menu 2022-02-08 16:07:19 +02:00
Ilja
35947268a0 Create modal component and store 2022-02-07 15:34:36 +02:00
Ilja
d4f6d53a7d Add pairing logic 2022-02-07 15:24:15 +02:00
Ilja
5640db7dff Establish WalletConnectManager concept 2022-02-07 13:48:28 +02:00
Ilja
27905179a1 re-factor wc into its own store 2022-02-07 13:02:26 +02:00
Ilja
10b21b3d1c Adjust styles 2022-02-04 16:53:21 +02:00
Ilja
b79d0c533b Account card component and helper utils 2022-02-04 16:31:23 +02:00
Ilja
9b0eff96b5 Use next-themes for dark / light mode support 2022-02-04 15:02:46 +02:00
Ilja
d2f7704433 Replace context with valtio for easier readability 2022-02-04 14:49:30 +02:00
Ilja
81bddf0c5d Cleanup context 2022-02-04 12:01:08 +02:00
Ilja
1f71001175 Init wallet and wallet connect client 2022-02-04 11:37:35 +02:00
Ilja
9e9b275f22 Set up ethers / context and wallet creation 2022-02-04 10:54:54 +02:00
Ilja
5301fd10e4 prep everything for wallet management 2022-02-03 14:15:54 +02:00
Ilja
6d9e902bbc Set up barebones layout and nextui 2022-02-03 12:39:36 +02:00
Ilja
b0e7f4c5fc Set up dev tooling 2022-02-03 11:24:35 +02:00
Ilja
f932513122 scope wallet examples under one folder 2022-02-03 11:14:39 +02:00