Commit Graph

73 Commits

Author SHA1 Message Date
kujtimprenkuSQA
cd811a6a51
feat: add near_signMessage method to NEAR (#310)
Co-authored-by: Ben Kremer <contact@bkrem.dev>
2023-10-16 17:38:26 +02:00
Gancho Radkov
371e4f334d
feat: UI update (#295)
* chore: removes web3wallet example

* refactor: updates sign-client to web3wallet

* feat: implements auth

* fix: resolves bug preventing approving only optional namespaces

* feat: implements new design * UX flow for approving session proposals

* feat: implements new designs in all modals

* refactor: removes unused imports & groups imports into remote & local

* feat: implements `isScam` alert on main request modal

* feat: implements `threat prompt`

* feat: updates all modals to new designs

* chore: retrigger deployment

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-09-26 15:01:41 +03:00
Gancho Radkov
65162f2d57
refactor: updated sign to web3wallet (#294)
* chore: removes web3wallet example

* refactor: updates sign-client to web3wallet

* feat: implements auth

* fix: resolves bug preventing approving only optional namespaces

* chore: removes redundant commented code

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-09-26 11:48:04 +03:00
Radu Mojic
c3af6c0ec0
chore: updated the @multiversx/sdk-core library (#289) 2023-09-07 12:12:41 +02:00
Gancho Radkov
2e23016873
feat: just works (#261)
* feat: implements just works in example dapp

* feat: implements just works in example wallet

* feat: adds toast on app pairing attempt

* chore: updates canary

* refactor: resets app only after successful disconnect

* chore: updates wallet canary

* fix: modal state

* chore: updates canary to rc

* fix: session update & session events

* fix: fixes accounts changed and updates canary

* chore: updates dapp canary

* chore: updates examples to latest

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-08-17 19:53:56 +03:00
Gancho Radkov
2143840806
feat:re-verify (#243)
* feat: implements verify context badge

* feat: implements verify cases in example dapp - valid/invalid/unknown

* fix: styled props

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-07-18 17:12:25 +03:00
Ashwin
8f612a0d73
feat: adds Kadena support (#70) 2023-07-14 12:29:17 +02:00
Ben Kremer
e0059fa65c
chore(react-wallet-v2): removes legacy v1 client support 🎉 (#212) 2023-07-04 10:14:32 +02:00
Ben Kremer
a7ab09b606 fix(react-wallet-v2): ensure clientId is logged and stored 2023-06-16 13:22:59 +02:00
Radu Mojic
a60069941f
refactor: Elrond rebranding to MultiversX (#148) 2023-05-30 09:13:49 +02:00
Gancho Radkov
d8ebe4509b
chore: updated @walletconnect deps (#164)
* chore: updates auth dapp

* chore: updates react sign dapp

* chore: updates cosmos dapp

* chore: updates ethers dapp

* chore: updates web3js dapp

* chore: updates vue auth dapp

* chore: updates auth wallet

* chore: updates eip155 wallet

* updates react-wallet-v2

* chore: updates web3wallet example

* feat: adds optional namespaces to main example wallet

* chore: eip155 example lock

* chore: removes console log

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-05-23 14:42:34 +03:00
Jonathan Conn
d774f52135
Feat/examples upgrade (#153)
* Added UI infastructure to support chain switching, need to update the session to swap chains

* Fixed type of chainId, string -> number

* Added helper method to find full chainname ex/ cosmoshub-4 -> cosmons:cosmoshub-4. Added a method updateSignClientChainId to emit a new update with the new namespace for the respected chain switch

* Added checks to ensure no dup accounts get added to namespaces during chainswitching from chain A->B->A for ex

* Fixed chainId type, eip155 uses number but the other chains use strings, making string the default type for chainId

* Update wallets/react-wallet-v2/src/utils/WalletConnectUtil.ts

Co-authored-by: Ben Kremer <ben@walletconnect.com>

* Switched the way account card components are generated in index page, removed unnecessary helper fx

* Fixed the chain changed event by updating the session if the chainId namespace does not currently exist, then emitting the correct chainChanged event on the same session

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-05-10 10:01:36 -04:00
Ben Kremer
c128875314 fix: ensure wallet alerts visibly and sends JSON-RPC error response 2023-04-05 13:52:33 +02:00
AndreasGassmann
9bf2b02602
Add Tezos Support (#127)
* feat(): add tezos

* feat(dapp): add tezos support

* feat(): remove unused project

* feat(): update logo

* feat(): add tezos sign modal

* feat(): remove unimplemented method

* feat(tezos): add send and sign support

* feat(tezos): add rpc

* Update wallets/react-wallet-v2/src/views/SessionProposalModal.tsx

Co-authored-by: Ben Kremer <contact@bkrem.dev>

* feat(): share all accounts

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Ben Kremer <contact@bkrem.dev>
2023-03-31 10:35:53 +02:00
Ben Kremer
f3a04a8250 Revert "Refactor/fix readme typo (#99)"
This reverts commit c55f3b5c75.
2023-01-05 18:22:17 +01:00
vanes
c55f3b5c75
Refactor/fix readme typo (#99)
* fix typos for instance in README

* add web3wallet info to main README

* remove extra space

* update repo link to main

Co-authored-by: Vanessa Mercado <finessevanes@Vanessas-MacBook-Pro.local>
2023-01-05 10:15:47 -07:00
myzykj
a6ca910a6f
Add Tron Chain to the Dapp example and wallet (#86) 2022-12-21 13:32:39 +01:00
Hamid Alipour
78c6f3dd7b
refactor(polkadot): replace scale encoded tx with JSON payload (#77) 2022-11-21 11:24:01 +01:00
Ben Kremer
7721842601
feat(react-wallet-v2): adds parallel support for SignClient v1 (#73) 2022-11-07 14:29:17 +01:00
Hanwoong
fa06c7d911
fix(wallet): NEXT_PUBLIC_RELAY_URL reference (#71) 2022-11-01 10:10:16 +01:00
Radu Mojic
907d61cb50
feat: adds Elrond support (#67) 2022-10-31 11:21:33 +01:00
Ben Kremer
5f484ae65d chore(deps): upgrade canonical wallet/dapp example to 2.0.0 2022-10-24 16:14:48 +02:00
Ben Kremer
b31232f2f6 style: run prettier on all files 2022-10-18 12:37:52 +02:00
amirsaran3
fcec9e477a
Added Near Protocol to examples (#59)
Co-authored-by: Ben Kremer <contact@bkrem.dev>
2022-10-18 12:31:08 +02:00
crypblizz
16d2341b8f
feat(relayer): Add relayer region to the wallet v2 settings (#64)
* feat(relayer): Add relayer region to the wallet v2 settings

* prettier linting
2022-09-20 15:06:25 +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
Ilja
be11029dad
wallet/beta.102 (#35) 2022-07-12 15:02:17 +07: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
Ben Kremer
cda29b7ffd Revert "Revert "Cosmos signature verification (#6)""
This reverts commit dad29d7611.
2022-04-04 13:49:32 +02:00
Ilja
19a5aad5ef fix solana message signing 2022-03-15 15:37:08 +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
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
f4df97e97b Cleanup session project data display 2022-03-04 12:24:15 +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
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