| Crates.io | ant-node-rpc-client |
| lib.rs | ant-node-rpc-client |
| version | 0.6.48 |
| created_at | 2024-12-18 15:13:44.358512+00 |
| updated_at | 2025-07-15 16:18:50.268005+00 |
| description | RPC client for the Autonomi node |
| homepage | https://maidsafe.net |
| repository | https://github.com/maidsafe/autonomi |
| max_upload_size | |
| id | 1487951 |
| size | 192,765 |
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.
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 latest antnode released version, and restart itFor more information about each command, run cargo run -- <command> --help.