Commit Graph

17 Commits

Author SHA1 Message Date
Sale Djenic e354844044 chore(wallet)_: transactions/types.go moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
Alex Jbanca c5dede93b0 feat(browser connect)_: Implementing signTypedData_V4
This commit bundles the personal sign and the signTypedData_V4 sign request in the same command.
The only difference between these two requests is the order of address and challenge in the params array.

What has changed:
1. PersonalSign.. has been renamed to Sign
2. `getPersonalSignParams` renamed to `getSignParams` and implements the parsing for both personal sign and signTypedData_V4
2024-11-22 10:35:23 +01:00
Alex Jbanca ed36d60540 fix(BC)_: Fix personal_sign RPC event processing
The personal_sign RPC event parsing. Changed `params` from object array to string array.
2024-11-22 09:23:42 +01:00
Alex Jbanca 11cf42bedd fix(BrowserConnect)_: Send client event when the dApp permissions have been revoked 2024-11-20 15:36:04 +01:00
Alex Jbanca 3f96b8430b fix(BC)_:Add account and chainID to the `permissionGranted` event 2024-11-20 15:36:04 +01:00
Sale Djenic d6565375c1 test_: improvements for browser connect tests 2024-09-20 15:16:17 +02:00
Sale Djenic 8ddde51445 fix_: browser connect - send transaction command 2024-09-20 15:16:17 +02:00
Igor Sirotin c9b777a218
fix_: clean up tests with ResetMobileSignalHandler (#5793) 2024-09-03 09:41:56 +01:00
Mikhail Rogachev c257874be9
chore(connector)_: Polish connector service (#5711) 2024-08-15 13:49:29 +02:00
Mikhail Rogachev be9ba7604b
feat(connector)_: impl `personal_sign` endpoint (#5681) 2024-08-13 11:11:24 +02:00
Mikhail Rogachev d5a78e784a
feat_: connector revoke permissions and accounts (#5646)
* feat(connector)_: add `wallet_revokePermissions` endpoint

* feat_: same behavior for `eth_accounts` and `eth_requestAccounts`
2024-08-06 12:28:55 -07:00
Mikhail Rogachev 551af54fda
fix(connector)_: connector response structure to valid json (#5624) 2024-08-02 11:43:31 +04:00
Godfrain Jacques 4ddf9f2727
fix_: fix switchEthereum api when processing chain input string (#5589)
fix #5587
2024-07-26 13:00:12 -07:00
Godfrain Jacques f6d7d1429c
fix_: return default chainID instead of throwing error for unregistered dApp (#5584)
fix #5583
2024-07-26 09:18:01 -07:00
Godfrain Jacques 0ecc266b1e
feat_:implement connector requestPermissions api (#5566) 2024-07-25 09:02:26 -07: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