| Crates.io | eosio-shipper-gf |
| lib.rs | eosio-shipper-gf |
| version | 0.1.6 |
| created_at | 2025-06-20 14:34:54.921607+00 |
| updated_at | 2025-07-13 18:01:16.322651+00 |
| description | https://docs.rs/eosio-shipper-gf |
| homepage | https://github.com/cheburashkalev/eosio-shipper/tree/master |
| repository | https://github.com/cheburashkalev/eosio-shipper/tree/master |
| max_upload_size | |
| id | 1719711 |
| size | 161,084 |
An framework to allow Rust services to communicate with EOSIO node via the State History Plugin (SHiP)
The SHiP endpoint allows you to monitor
This is not an API to allow you to write contracts in rust. (see eosio-rust for that),
This is not the HTTP API (see eosio-client-api for that)
This code interacts via the Websocket API specified when starting nodeos.
--plugin eosio::state_history_plugin \
--trace-history \
--chain-state-history \
--state-history-endpoint=127.0.0.1:9999
In this example the endpoint would be ws://127.0.0.1:9999/
I don't know of any public/open SHiP endpoints.
The library is designed to run in a seperate thread, and uses futures_channel::mpsc::unbounded to communicate requests/responses to the SHiP endpoint itself.
The example program ship-dumper provides a simple example of how to use this tool. (feedback welcome)
early stages.
SHiP uses websockets to communicate.
if you request blocks past the end, it will return 'None'..
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
sudo apt install libssl-dev pkg-config gcc cmake libboost-dev libboost-date-time-dev