ant-node-rpc-client

Crates.ioant-node-rpc-client
lib.rsant-node-rpc-client
version0.6.48
created_at2024-12-18 15:13:44.358512+00
updated_at2025-07-15 16:18:50.268005+00
descriptionRPC client for the Autonomi node
homepagehttps://maidsafe.net
repositoryhttps://github.com/maidsafe/autonomi
max_upload_size
id1487951
size192,765
MaidSafe-QA (MaidSafe-QA)

documentation

README

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 itself
  • netinfo: Retrieve information about the node's connections to the network
  • events: Start listening for node events
  • transfers: Start listening for transfers events
  • restart: Restart the node after the specified delay
  • stop: Stop the node after the specified delay
  • update: Update to latest antnode released version, and restart it

For more information about each command, run cargo run -- <command> --help.

Commit count: 7360

cargo fmt