mirror of
https://github.com/status-im/status-go.git
synced 2025-01-11 15:14:52 +00:00
4c6ca00520
* 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
11 lines
360 B
SQL
11 lines
360 B
SQL
-- connector_dapps table keeps track of connected dApps to provide a link to their individual sessions
|
|
-- should be aligned with wallet_connect_dapps table
|
|
|
|
CREATE TABLE IF NOT EXISTS connector_dapps (
|
|
url TEXT PRIMARY KEY,
|
|
name TEXT NOT NULL,
|
|
shared_account TEXT NOT NULL,
|
|
chain_id UNSIGNED BIGINT NOT NULL,
|
|
icon_url TEXT
|
|
) WITHOUT ROWID;
|