Commit Graph

147 Commits

Author SHA1 Message Date
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
Gancho Radkov
2810f0178f
chore: updates @walletconnect deps (#157)
* chore: updates `@walletconnect` deps

* fix: cosmos provider

* fix: updates web3wallet example

* fix: eip155 legacy session request type

---------

Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-05-09 16:51:32 +03: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
f0bf75cf45 chore(deps): update canonical sign dapp/wallet 2023-04-12 15:52:07 +02: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
2eb66d182d chore(deps): update canonical dapp/wallet to 2.4.10 2023-03-14 15:05:37 +01:00
Ben Kremer
c74602bccf chore(deps): update canonical dapp/wallet to 2.4.9 2023-03-13 12:01:00 +01:00
Ben Kremer
a90282d67d chore(deps): update canonical dapp/wallet to 2.4.8 2023-03-10 12:15:46 +01: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
a959f1e766 chore(deps): updates canonical dapp/wallet to @walletconnect/*@2.2.1 2023-01-17 15:26:19 +07:00
Ben Kremer
e4fdfc6337 chore(deps): updates canonical dapp/wallet to @walletconnect/*@2.2.0 2023-01-06 11:00:55 +01: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
Ben Kremer
c24cf15468 chore(deps): update dapp/wallet to 2.1.4 2022-11-25 15:31:56 +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
882f9d10c8 chore(deps): updates v2 wallet to @walletconnect/*@2.1.3 2022-11-14 14:08:16 +01:00
Ben Kremer
cb821ea5e0 chore(deps): updates v2 dapp/wallet to @walletconnect/*@2.1.3 2022-11-14 13:59:41 +01:00
Ben Kremer
69afb6b3e3 chore(deps): updates v2 wallet/dapp example to @walletconnect/*@2.1.1 2022-11-10 14:37:15 +01:00
Ben Kremer
224f5bc4a7 docs(readme): tweaks readmes to point out wallet sign v1+v2 support 2022-11-09 16:42:53 +01:00
Ben Kremer
7721842601
feat(react-wallet-v2): adds parallel support for SignClient v1 (#73) 2022-11-07 14:29:17 +01:00
Ben Kremer
b94542bee2 chore(deps): update solana-wallet to 1.0.2
See: https://github.com/WalletConnect/solana-wallet/releases/tag/v1.0.2
2022-11-03 10:53:53 +01:00
Ben Kremer
2b19540a5b chore(deps): updates canonical dapp/wallet to 2.1.0 2022-11-01 17:05:44 +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
Ben Kremer
9b7950fc4a chore(deps): updates sign v2 examples to 2.0.0-rc.4 2022-10-06 11:59:11 +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
Ben Kremer
cb81224e53 chore(deps): update sign examples to sign-client@2.0.0-rc.3 2022-09-12 12:30:46 +02: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