status-go/rpc
Anthony Laibe 104d9c8ff6
feat: add related chain id to networks (#3697)
2023-07-13 16:03:49 +02:00
..
chain fix(wallet): Fix block hash for detected blocks with ETH transfers 2023-06-05 12:08:18 -03:00
network feat: add related chain id to networks (#3697) 2023-07-13 16:03:49 +02:00
README.md
call_raw.go feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
call_raw_test.go feat: Rpc client manage multiple eth client (#2359) 2021-09-22 13:49:20 -04:00
client.go Add lc-proxy-wrapper dep 2023-05-24 18:48:16 +03:00
client_test.go feat: make kdf iterations configurable when creating a multiaccount (#2796) 2022-09-27 16:27:20 -04:00
doc.go synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
route.go synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
route_test.go
verif_proxy.go Add LoginAccount endpoint 2023-06-01 10:05:11 +01:00
verif_proxy_test.go Add LoginAccount endpoint 2023-06-01 10:05:11 +01:00

README.md

rpc GoDoc

Package rpc - JSON-RPC client with custom routing.

Download:

go get github.com/status-im/status-go/rpc

Package rpc - JSON-RPC client with custom routing.

Package rpc implements status-go JSON-RPC client and handles requests to different endpoints: upstream or local node.

Every JSON-RPC request coming from either JS code or any other part of status-go should use this package to be handled and routed properly.

Routing rules are following:

  • if Upstream is disabled, everything is routed to local ethereum-go node
  • otherwise, some requests (from the list, see below) are routed to upstream, others - locally.

List of methods to be routed is currently available here: https://docs.google.com/spreadsheets/d/1N1nuzVN5tXoDmzkBLeC9_mwIlVH8DGF7YD2XwxA8BAE/edit#gid=0

Note, upon creation of a new client, it ok to be offline - client will keep trying to reconnect in background.


Automatically generated by autoreadme on 2017.09.18