Commit Graph

127 Commits

Author SHA1 Message Date
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
Jonathan Conn
c2a55b3e8e
feat(e2e): adds more tags (#260)
Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-08-02 10:18:51 +02:00
Jonathan Conn
7193ee7359
fix: corrected navigation tags so they are loaded correctly, added tag for account selector (#246) 2023-07-20 21:31:22 -04: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
Jonathan Conn
a48d4b6aa9
feat: added selector tags for e2e testing (#240)
* feat: added selector tags for e2e testing

* Update wallets/react-wallet-v2/README.md

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

* Update wallets/react-wallet-v2/README.md

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

* Update wallets/react-wallet-v2/src/components/Navigation.tsx

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

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-07-13 23:10:06 -04: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
Ben Kremer
e0059fa65c
chore(react-wallet-v2): removes legacy v1 client support 🎉 (#212) 2023-07-04 10:14:32 +02:00
Ramon "9Tails" Canales
d7c56a3bea
feat: adds zk sync era (#211) 2023-06-30 16:31:28 +02:00
Ben Kremer
03155d1c23
refactor(dapp-v2): splits requested methods between required/optional (#196) 2023-06-28 09:51:13 +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
5d579166cb
fix: implements optional namespaces for non evm chains (#167)
Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-05-25 14:22:22 +03: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
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
Ben Kremer
c699860663 fix(wallet): ensures legacy v1 modals handle JsonRpcError vs
JsonRpcResult
2023-04-05 15:12:26 +02: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
757ed43909 fix(near): don't block/throw wallet on account creation network call 2023-03-29 10:57:53 +02:00
Gancho Radkov
8326081ec8
fix: chains in approved namespaces (#137)
* fix: adds chains to approved namespaces

* fix: session update

* fix: generate random address to update
2023-03-17 11:47:06 +02:00
Ben Kremer
8de8339179 chore(deps): update v2 dapp/wallet to latest @walletconnect/* deps 2023-02-22 17:08:00 +01:00
Ben Kremer
4f8d26dda4
chore: update canonical dapp/wallet to @walletconnect/*@2.3.3 (#110)
* chore: update @walletconnect/* deps to 2.3.3

* fix(types): clean up `namespace.extension` references
2023-02-02 20:03:56 +07:00
vanes
cebfc0774b
change parms to match dapp (#104)
Co-authored-by: Vanessa Mercado <finessevanes@Vanessas-MacBook-Pro.local>
2023-01-26 02:30:06 -07: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
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
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
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
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