status-go/services/connector/commands
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
..
accounts.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
accounts_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
chain_id.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
chain_id_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
client_handler.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
client_handler_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
request_accounts.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
request_accounts_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
rpc_traits.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
send_transaction.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
send_transaction_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
switch_ethereum_chain.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
switch_ethereum_chain_test.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00
test_helpers.go Feat: implement connector service for browser plugin (#5433) 2024-07-18 17:30:10 +02:00