Commit Graph

99 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
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
Ramon "9Tails" Canales
d7c56a3bea
feat: adds zk sync era (#211) 2023-06-30 16:31:28 +02:00
Boidushya
77520b5dfa
feat(dapp-v2): adds eth_signTypedData_v4 (#205)
* Test: eth_signTypedData_v4

* fix: merged with main for eth_signTypedData_v4
2023-06-28 14:22:51 +05:30
Ben Kremer
03155d1c23
refactor(dapp-v2): splits requested methods between required/optional (#196) 2023-06-28 09:51:13 +02:00
Ben Kremer
322d2ec977 fix(react-dapp-v2): ensure clientId is logged and stored 2023-06-21 12:12:51 +02:00
Gancho Radkov
3c8ebfe96a
refactor: solana mainnet rpc url (#193)
Co-authored-by: Gancho Radkov <ganchoradkov@gmail.com>
2023-06-19 17:37:28 +03:00
Radu Mojic
a60069941f
refactor: Elrond rebranding to MultiversX (#148) 2023-05-30 09:13:49 +02:00
Cameron Marshall
dcda7dd981
chore: update Polkadot logo (#160) 2023-05-11 12:09:42 +02:00
Ben Kremer
c6e9c2d614
fix(dapp): makes sig validation compatible with ERC-1271 (#156)
Co-authored-by: basheer <basheer@audteye.com>
2023-04-28 14:05:21 +02: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
0xAsimetriq
bd60654e16
chore: Update web3modal (#134)
* Update web3modal

* Update dapps/react-dapp-v2/src/contexts/ClientContext.tsx

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

---------

Co-authored-by: Ben Kremer <ben@walletconnect.com>
2023-03-14 16:46:16 +02:00
Ben Kremer
592a6e097a chore: fix missing prettier formatting 2023-03-09 14:23:52 +01:00
Ben Kremer
4bb9940a09
fix(dapp): removes reliance on caip-api pkg for blockchain data (#123)
See: https://walletconnect.slack.com/archives/C03RME3BS9L/p1677021657070509
2023-02-22 18:01:39 +01:00
crypblizz
9347d1a20e
chore: update web3modal-standalone and signClient for react-dapp-v2 (#121) 2023-02-21 14:38:22 +01:00
vanes
8927cddaf9
Add Emit Function (#113)
Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Vanessa Mercado <finessevanes@Vanessas-MacBook-Pro.local>
2023-02-15 10:54:07 +01:00
Ben Kremer
609a3239c6 fix(dapp-v2): ensure dapp always resets on attempted disconnect 2022-12-22 11:42:33 +01:00
Gancho Radkov
c7890ae0b1
fix: dapps metadata (#96)
* fix: metadata to react-dapp-v2

* fix: metadata react app with ethers

* fix: metadata react app with web3

* feat: adds web3modal to web3 example dapp

* feat: adds web3modal to ethers example dapp
2022-12-22 11:34:36 +02:00
myzykj
a6ca910a6f
Add Tron Chain to the Dapp example and wallet (#86) 2022-12-21 13:32:39 +01:00
Kathy Luo
5817d5e536
fix: eth_signTransaction signer verification for Celo (#91) 2022-12-21 10:15:59 +01:00
Ben Kremer
27bd944c32
refactor(dapp-v2): upgrade web3modal to 2.0.0-beta.8 (#89) 2022-12-06 17:30:55 +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
99ef432c76
refactor(react-dapp-v2): replaces legacy qrcodeModal with web3modalV2 (#78) 2022-11-15 10:44:02 +01:00
Ben Kremer
cc46f67b2d fix(dapp): use plain byte array for instruction.data to match live solana dapps 2022-11-14 11:55:46 +01:00
Ben Kremer
3d03e9c6bc Revert "refactor(react-dapp-v2): replaces legacy qrcodeModal with web3modalV2"
This reverts commit 2083b4ae41.
2022-11-08 11:42:54 +01:00
Ben Kremer
2083b4ae41 refactor(react-dapp-v2): replaces legacy qrcodeModal with web3modalV2 2022-11-08 10:40:42 +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
2fb6ad1370
Feat/region relayer dropdown (#58)
* init skeleton

Created the barebones of the Dropddown and data passing through ClientContext

* Fix State with React-Select

* Draft: Until endPoints are functioning

* Resolved for condition race

Still need to fix the TS typing

* Remove React-Select due to TS bug.

Rewrote with Vanilla Select + Options

* Update ClientContext.tsx

Small fixes and removing old code

* Small fixes + revert yarn lock due to react-select

* yarn upgrade

* Settings hidden at the bottom
2022-09-20 15:13:21 +02:00
Ben Kremer
8db9560b72 fix(config): use next.js appropriate projectId env var 2022-09-01 09:55:17 +02:00
Celine Sarafa
54f050b2e3
Fix incorrect env var ref (#47)
* Fix incorrect env var ref

* Fix project id env var
2022-08-25 17:13:34 +03: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
crypblizz
6a77191dd3
feat(dapp): adds github link (#43) 2022-08-10 15:26:46 +02:00
Celine Sarafa
31ec2ecb9d
Feat/make dapp nextjs (#41) 2022-08-08 11:32:24 +02:00
Ben Kremer
6c23356a55 refactor(dapp): remove dependence on ethereum-api.xyz, use individual RPCs 2022-08-04 11:30:02 +02:00
Ben Kremer
bd34004248
chore(deps): upgrade dapp to beta.102 (#37) 2022-07-12 15:03:48 +07:00
Ben Kremer
248d60e516 fix: update known active pairings after session connects 2022-07-04 16:41:06 +07:00
Ben Kremer
55249754f5 fix: filter out inactive pairings using client.pairing.getAll 2022-06-21 11:34:05 +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
Ben Kremer
3a2ac70f1f fix(dapps): normalize addresses to lowercase when validating signatures
fix(dapp-v2): normalize addresses to lowercase when validating signatures

chore: updates yarn.lock

fix(with-ethers): normalize addresses to lowercase for sig validation

fix(with-web3js): normalize addresses to lowercase for sig validation

Fixes #18
2022-04-08 17:09:37 +02:00
Ben Kremer
f06ba323ac feat(dapp-v2): adds cosmos signature verification (#6) 2022-04-04 16:04:11 +02:00
Ben Kremer
80e97e5163 feat: adds sig verification for eth_signTransaction 2022-03-21 13:20:53 +01:00
Ben Kremer
5097f42b7f chore: adds link to discussion on omitting EIP712Domain validation 2022-03-21 11:50:43 +01:00
Ben Kremer
1f3af8763c refactor(dapp-v2): use ethers.utils.verifyMessage 2022-03-21 11:47:30 +01:00