13 releases
Uses new Rust 2024
| new 0.6.49 | Nov 27, 2025 |
|---|---|
| 0.6.48 | Jul 15, 2025 |
| 0.6.47 | Jun 26, 2025 |
| 0.6.46 | Apr 22, 2025 |
| 0.6.38 | Dec 21, 2024 |
#6 in #decentralized-storage
1MB
21K
SLoC
Antnode RPC Client
This crate provides a client for the RPC protocol for interacting with antnode. It wraps the Protobuf-generated code and types such that users of the RPC protocol don't need to redefine that code.
It also provides a binary which is a CLI for interacting with a running antnode instance via the protocol.
Binary Usage
Run cargo run -- <ADDR> <command> to connect to a node. Provide the address of the node's RPC service, e.g. 127.0.0.1:12001. Followed by the command to execute. Some of the commands available are:
info: Retrieve information about the node itselfnetinfo: Retrieve information about the node's connections to the networkevents: Start listening for node eventstransfers: Start listening for transfers eventsrestart: Restart the node after the specified delaystop: Stop the node after the specified delayupdate: Update to latestantnodereleased version, and restart it
For more information about each command, run cargo run -- <command> --help.
Dependencies
~73–115MB
~2M SLoC