Commit Graph

7 Commits

Author SHA1 Message Date
Mikhail Rogachev f45dbb3067
feat_: cherry-pick: connector revoke permissions and accounts (#5666)
* feat(connector)_: add `wallet_revokePermissions` endpoint

* feat_: same behavior for `eth_accounts` and `eth_requestAccounts`
2024-08-07 08:32:40 +01:00
Mikhail Rogachev 7e87fd0d05
fix(connector)_: connector response structure to valid json (#5625) 2024-08-02 09:43:53 +01:00
Godfrain Jacques 3b9ad43740
feat_:implement connector requestPermissions api (#5566) (#5604) 2024-07-28 23:22:49 +05:30
Godfrain Jacques 07614f6640
fix_: fix switchEthereum api when processing chain input string (#5603)
fix #5587
2024-07-28 23:22:48 +05:30
Godfrain Jacques 13b78d2679
fix_: return default chainID instead of throwing error for unregistered dApp (#5584) (#5598)
fix #5583
2024-07-26 21:19:03 +01:00
Godfrain Jacques 5e88d5b498
fix_: return array of account without accounts key (#5576) 2024-07-25 06:10:13 -07:00
Mikhail Rogachev 4c6ca00520
Feat: implement connector service for browser plugin (#5433)
* feat(connector)_: impl `eth_requestAccounts` for browser plugin

* feat(connector)_: add impl for `wallet_switchEthereumChain` and `eth_chainId`

* feat(connector)_: add impl for `eth_sendTransaction`

* feat(connector)_: add a signal and an endpoint for wallet ui side

* chore_: refactor connector tests

* feat(connector)_: impl `eth_requestAccounts` with signal

* chore(connector)_: Add test, covering full transaction flow

And polish impl & test for connector endpoints

* fix(connector)_: temporary allow all origins for ws connection

* chore_: review fixes

* fix(connector)_: make user select chain id for dApp

* fix(connector)_: add requestID and fine tune endpoints

* chore(connector)_: naming fixes and tests improvments
2024-07-18 17:30:10 +02:00