Commit Graph

34 Commits

Author SHA1 Message Date
Radu Mojic
653b362e5c
fix: check for the whole chain identifier ( namespace + ":" + reference ) (#300) 2023-10-12 15:51:54 +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
Ashwin
8f612a0d73
feat: adds Kadena support (#70) 2023-07-14 12:29:17 +02:00
Ben Kremer
3d902d6193 fix(config): fixes typos in the zkSync RPC domains
Fixes https://github.com/WalletConnect/web-examples/issues/230
2023-07-10 10:08:21 +02:00
Ramon "9Tails" Canales
d7c56a3bea
feat: adds zk sync era (#211) 2023-06-30 16:31:28 +02:00
Radu Mojic
a60069941f
refactor: Elrond rebranding to MultiversX (#148) 2023-05-30 09:13:49 +02: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
Jonathan Conn
96f9e0b028
fix(relayer): restarts the relayer transport when region is changed (#150)
* fix(relayer): restarts the relayer transport when region is changed

* fix(relayer): changed ClientContext to restartTransport when the region is changed
Added no-trailing-whitespace to eslint as a warning to make diff cleaner

* refactor: removes trailing `/` from relay endpoints

* refactor: removes trailing `/` from relay endpoints in example dapp

* fix: tests endpoint switch with `core` canary

* chore: updates core canary

* chore: bumps core canary

* chore: bumps canary

* chore: updates @walletconnect to latest

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-04-13 12:41:54 -04: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
myzykj
a6ca910a6f
Add Tron Chain to the Dapp example and wallet (#86) 2022-12-21 13:32:39 +01:00
Radu Mojic
907d61cb50
feat: adds Elrond support (#67) 2022-10-31 11:21:33 +01: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
Ben Kremer
77adb22535
refactor: update ETH/Optimism Kovan to Goerli in Sign v2 examples (#66) 2022-10-06 13:42:04 +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
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
56a39264ad Update solana method names, fix signMessage 2022-03-15 16:00:52 +02:00
Ilja
8ba122d703 Save progress on solana transaction signing 2022-03-15 11:11:58 +02:00
Ilja
2b9a9e4e6a Add solana devnet 2022-03-14 14:36:45 +02:00
Ilja
1200b60877 Implement solana secret key storage and recovery 2022-03-14 14:06:19 +02:00
Ilja
24f5aa1a15 Cosmos signing wip 2022-03-01 14:43:09 +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
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
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
73bde541c8 session and pairing management 2022-02-17 15:33:27 +02:00
Ilja
c3daa5b2a9 Implement eth_sendTransaction 2022-02-16 14:02:39 +02:00
Ilja
6d5c679ca7 Parse and sign typed data 2022-02-15 14:41:46 +02:00
Ilja
96d8650508 fix mobile scrolling 2022-02-15 12:47:36 +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