Commit Graph

297 Commits

Author SHA1 Message Date
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
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
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
crypblizz
6a77191dd3
feat(dapp): adds github link (#43) 2022-08-10 15:26:46 +02:00
Ben Kremer
eb0ae61e6a chore: remove orphaned node_modules dir 2022-08-10 11:26:11 +02:00
Ben Kremer
9509f47103 chore(deps): update to 2.0.0-rc.1 2022-08-08 11:40:14 +02:00
Celine Sarafa
31ec2ecb9d
Feat/make dapp nextjs (#41) 2022-08-08 11:32:24 +02:00
Ben Kremer
c87a77ef10 canary 2.0.0-6de2113.0 2022-08-04 18:29:20 +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
b59c1faa43 Merge branch 'dapp-beta-canary' into main 2022-07-22 22:57:59 +02:00
Ben Kremer
c69b909252 chore(deps): upgrades wallet to rc.0 2022-07-22 22:56:53 +02:00
Ben Kremer
a639b6e447 chore(deps): upgrade to rc.0 2022-07-22 22:50:27 +02:00
Ben Kremer
be75590253 chore(deps): upgrade dapp to beta.103/rc.0 canary 2022-07-15 16:24:29 +07:00
Ben Kremer
bd34004248
chore(deps): upgrade dapp to beta.102 (#37) 2022-07-12 15:03:48 +07: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
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
Ben Kremer
4ab000ed05
chore(deps): upgrades primary dapp/wallet examples to beta.101 (#33) 2022-06-16 16:22:34 +02:00
Ben Kremer
1c4c4de242 chore: adds backlink to readme to version display 2022-06-14 18:35:57 +02:00
Ben Kremer
55cdfbf6a6 docs: adds SDK compatibility notices in provider example readmes 2022-05-31 10:48:33 +02:00
Ben Kremer
b01fff837d chore: removes stale with-solana-web3js PoC 2022-05-31 10:48:07 +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
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
Max Base
c36bbd3357
docs: change V2 to v2, bolding v2, add : after name (#17) 2022-04-08 15:07:53 +02:00
Ben Kremer
f06ba323ac feat(dapp-v2): adds cosmos signature verification (#6) 2022-04-04 16:04:11 +02:00
Ben Kremer
32afbb373c fix(cosmos-provider): handle possibly undefined address 2022-04-04 15:51:15 +02:00
Ben Kremer
b8515abe6e chore(deps): update to cosmos-wallet@1.2.0 in v2-cosmos-provider 2022-04-04 13:52:12 +02:00
Ben Kremer
cda29b7ffd Revert "Revert "Cosmos signature verification (#6)""
This reverts commit dad29d7611.
2022-04-04 13:49:32 +02:00
Chad Jackson
50881924fa
update broken link (#15) 2022-03-29 15:37:09 +02:00
Ben Kremer
5d8245b8f1 fix(with-web3js): resolves EthereumProvider type error fixed by 2.0.0-beta.26 2022-03-29 12:12:05 +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
Ben Kremer
a82034fefd chore(deps): upgrade dapp examples to 2.0.0-beta.26 2022-03-29 11:51:10 +02:00
Chad Jackson
a49358c323
Create LICENSE (#14) 2022-03-28 11:50:36 +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
Ben Kremer
f1e69504a0 fix(dapp-v2): ensures thrown errors bubble to RPC result modal
Fixes #10
2022-03-18 11:54:26 +01:00
Ben Kremer
59b9eb5867 refactor(dapp-v2): separates chainData into own context/hook 2022-03-17 16:56:54 +01:00
Ben Kremer
6b14e13eaf refactor(dapp-v2): use enums for default chain methods 2022-03-17 16:21:47 +01:00
Ben Kremer
c4759249b6 refactor(dapp-v2): rename resetApp -> reset 2022-03-17 15:02:23 +01: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
Ben Kremer
9f7e78969c chore(wallet-v2): adds solana-wallet 2022-03-17 14:19:00 +01:00
Ben Kremer
863e0f8bf8 feat(dapp-v2): integrates solana + RPC methods 2022-03-17 11:08:47 +01:00
Ben Kremer
86ef897b4c chore(config): adds solana network data and metadata 2022-03-16 16:26:00 +01:00
Ben Kremer
a54db6ceb2 chore(deps): adds @solana/web3.js 2022-03-16 15:34:07 +01:00