10 releases

new 0.6.46 Apr 22, 2025
0.6.45 Apr 1, 2025
0.6.44 Mar 12, 2025
0.6.43 Feb 27, 2025
0.6.38 Dec 21, 2024

#8 in #decentralized-storage

Download history 2/week @ 2024-12-27 179/week @ 2025-01-03 168/week @ 2025-01-10 32/week @ 2025-01-17 2/week @ 2025-01-31 91/week @ 2025-02-07 32/week @ 2025-02-14 72/week @ 2025-02-21 99/week @ 2025-02-28 99/week @ 2025-03-07 39/week @ 2025-03-14 1/week @ 2025-03-21 90/week @ 2025-03-28 30/week @ 2025-04-04 4/week @ 2025-04-11

125 downloads per month

GPL-3.0 license

465KB
8K 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 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.

Dependencies

~81–120MB
~2.5M SLoC