Commit Graph

259 Commits

Author SHA1 Message Date
Ben Kremer
03155d1c23
refactor(dapp-v2): splits requested methods between required/optional (#196) 2023-06-28 09:51:13 +02:00
renovate[bot]
dd54b0b6ed
fix(deps): update walletconnect monorepo deps to v2.8.4 (#203)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 11:42:00 +02:00
crypblizz
1c54dc65d2
chore(w3w): update to latest 1.8.2 (#202) 2023-06-26 20:22:14 +02:00
renovate[bot]
6c3bd0e595
fix(deps): update dependency @walletconnect/web3wallet to v1.8.2 (#197)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 16:50:13 +02:00
renovate[bot]
429547a7ab
fix(deps): update walletconnect monorepo deps to v2.8.3 (#198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-26 15:35:31 +02:00
Ben Kremer
a3528f6db1 chore(deps): update to push-client@0.10.4 2023-06-22 10:00:10 +02:00
renovate[bot]
e2fec8cbfe
fix(deps): update dependency @walletconnect/web3wallet to v1.8.1 (#175)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 15:58:35 +02:00
renovate[bot]
74856d53ac
fix(deps): update dependency solana-wallet to v1.0.2 (#191)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 10:46:36 +02:00
renovate[bot]
0d0a6d86a5
fix(deps): update dependency @walletconnect/push-client to v0.10.3 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 10:45:28 +02:00
renovate[bot]
63e3df65d8
fix(deps): update dependency @nextui-org/react to v1.0.0-beta.13 (#184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-19 10:42:14 +02:00
renovate[bot]
0c35dec4c3
fix(deps): update walletconnect monorepo deps to v2.8.1 (#189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-16 16:59:45 +02:00
Ben Kremer
a7ab09b606 fix(react-wallet-v2): ensure clientId is logged and stored 2023-06-16 13:22:59 +02:00
renovate[bot]
9b09576081
fix(deps): update walletconnect monorepo deps to v2.8.0 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-15 14:49:38 +02:00
renovate[bot]
c93ca10827
fix(deps): update walletconnect monorepo deps to v2.7.8 (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 15:14:08 +02:00
Jonathan Conn
f9c7d2388d
Feat/verify integration (#161)
* Added verify status to auth req modal

* updated deps

* updated types deps

* updated wc deps

* updated auth client in wallet to canary for testing

* updated auth client in dapp to canary for testing
2023-06-05 10:09:58 -04:00
Cali
34cf292b06
feat(auth-wallet): add handling for push methods/events (#145)
Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-05-31 14:13:42 +02:00
Celine Sarafa
2ff0874778
Update chat, sign, core, logger, utils, sync (#169)
* Update chat, sign, core, logger, utils, sync

* Remove extensions
2023-05-31 12:25:27 +03: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
vanes
74c54bf6f0
update README (#119) 2023-05-09 17:57:24 +02: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
Cali
649cf28159
fix(error-handling): close modal on reject and fix overflow error (#147)
* fix(error-handling): improve auth examples error handling & close modal on auth request rejection

* fix(bignum-overflow): convert bignumber to string to avoid overflow
2023-04-05 12:03:28 +03: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
Celine Sarafa
b45f4369c0
Use standalone modal (#79)
* Use standalone modal

* Set project id

* chore(deps): update deps

* chore(w3m-standalone): use web3modal standalone with auth-client

* fix(deps): update web3modal to v2.2.2

* fix(typescript): revert to 4.9.5

* chore(remove-deps): remove unused dependencies and global declaration

---------

Co-authored-by: Cali93 <armut.cumaali@gmail.com>
2023-03-28 09:58:18 +03:00
Ben Kremer
805160ea49 fix(auth-wallet): build iss with chainId from cacaoPayload 2023-03-22 15:28:06 +00:00
Ben Kremer
49198f475a chore(auth): update auth-clients to latest 2023-03-22 15:24:05 +00: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
Celine Sarafa
04b98ac68e
Update chat client (#125)
* Update chat client

* Update event name

* Change event name
2023-02-28 15:44:33 +03:00
Ben Kremer
8de8339179 chore(deps): update v2 dapp/wallet to latest @walletconnect/* deps 2023-02-22 17:08:00 +01:00
Ben Kremer
9b6dfc366b
chore(auth): update to auth-client@2.0.3, use rpc.walletconnect.com (#116) 2023-02-16 16:04:36 +01:00
Celine Sarafa
1ccf19fb2a
Update chat client and adapt api (#114)
* Update chat client and adapt api

* Fix package json
2023-02-16 12:48:41 +03:00
0xAsimetriq
2379c795ce
eip155 example (#115)
* eip155 example

* temp fix for duplicate accs
2023-02-15 17:11:42 +02: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
4c8f9ee4d9
remove from const list (#106)
Co-authored-by: Vanessa Mercado <finessevanes@Vanessas-MacBook-Pro.local>
2023-01-31 07:10:54 -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
Gancho Radkov
4453aff1f2
refactor: web3wallet readme (#103) 2023-01-16 09:23:53 +01:00
Ben Kremer
e4fdfc6337 chore(deps): updates canonical dapp/wallet to @walletconnect/*@2.2.0 2023-01-06 11:00:55 +01:00
vanes
90ea03070d
Refactor/update readmes (#100)
* change variable names

* add web3wallet examples to main readme

Co-authored-by: Vanessa Mercado <finessevanes@Vanessas-MacBook-Pro.local>
2023-01-05 11:00:23 -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
Gancho Radkov
7a3886073b
feat: Web3Wallet Example (#94)
* feat: v2 wallet

* feat: Web3Wallet sign integration

* chore: adds `core` to package.json

* feat: Web3Wallet Auth integration

* chore: core & web3wallet canary

* chore: rm config

* chore: force redeploy

* chore: rm core & sign-client deps

* fix: rm `sign-client` usage

* refactor: updates README

* feat: adds metadata mock obj & removes relay url param

* refactor: more url mentions

* refactor: rm v2 wallet readme references & uses web3wallet.core...

* refactor: wallet -> web3wallet

* refactor: rm wallet to web3wallet

* fix: adds async to example listeners
2022-12-22 11:19:46 +02:00
myzykj
a6ca910a6f
Add Tron Chain to the Dapp example and wallet (#86) 2022-12-21 13:32:39 +01:00
Gancho Radkov
6aabae1762
feat: auth wallet multi address (#93)
* feat: updates auth wallet to be multi address compatible

* chore: updates `auth` to v2.0.0

* chore: updates `react-dapp-auth` to auth latest

* chore: updates `vue-dapp-auth` to auth latest
2022-12-16 13:43:40 +02:00
Ben Kremer
21168541f2 fix(chat-wallet): use IChatClient type explicitly 2022-12-07 17:36:50 +01:00
Ben Kremer
a7c220d50e chore(deps): updates chat wallet to chat-client@0.1.7 2022-12-07 17:23:56 +01:00
Celine Sarafa
907fecdd67
Add query param chat init (#84)
* Add query param chat init

* Add qrcode button

* Fix address retrieval

* Add prefix

* Push topic

* Update flow to close w3m on invite

* Fix accountIdx gen

* Use once instead of on
2022-12-05 14:01:26 +03: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
4a6d13e422 chore(deps): update to auth-client@1.0.1 2022-11-11 16:28:45 +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
8d2240f8d5 chore(chat): update deployment links to *.walletconnect.com 2022-10-28 16:27:42 +02:00
Ben Kremer
9f3aa00864 fix(chat): truncate CAIP-2 address when displaying in summary/header 2022-10-28 15:29:21 +02:00
Ben Kremer
2e15c447dc fix: ensure address is registered immediately on first startup 2022-10-28 13:42:18 +02:00
Ben Kremer
2b78cfd523 docs(react-wallet-chat): update readme 2022-10-28 11:38:00 +02:00
Ben Kremer
1922c489d9 chore: rename react-wallet-v2-chat -> react-wallet-chat 2022-10-28 11:14:20 +02:00
Ben Kremer
ea09a2759a feat: adds react-wallet-v2-chat sample 2022-10-28 11:09:05 +02:00
Ben Kremer
56ae6fa032 chore(deps): upgrades auth examples to auth-client@1.0.0 2022-10-24 17:55:36 +02: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
270a6204ae chore(deps): updates auth examples to auth-client@0.4.0 2022-10-14 15:30:11 -05: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
2cf644ec7a chore(auth): update examples to 0.3.2 2022-09-17 13:08:11 +02:00
Ben Kremer
44d11ddfbd chore(auth): update examples to 0.3.1 2022-09-17 13:08:11 +02:00
Ben Kremer
8146e37fc6
docs(auth): ensure auth dapp/wallet readmes are relevant (#63)
* docs(auth): update wallet readme

* docs(auth): update dapp readme
2022-09-15 19:50:52 +02:00
Ben Kremer
44c285dde8 chore(deps): updates auth examples to auth-client@0.3.0 2022-09-15 10:21:26 +02:00
Ben Kremer
8f0964ab1e chore(deps): updates auth examples to auth-client@0.2.0 2022-09-14 11:52:34 +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
3af764c761 chore(deps): updates react-auth-wallet to auth-client@0.1.10 2022-09-09 14:28:49 +02:00
Ben Kremer
34efd70cd7 chore(deps): update auth-client to 0.1.8 2022-09-08 14:05:23 +02:00
Ben Kremer
18847f7f15 chore(deps): update auth-client to 0.1.7 2022-09-07 11:26:32 +02:00
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