#json-rpc #api #accumulate #async #json-rpc-client #api-bindings #rpc

bin+lib accumulate-api

Lower-level API for interfacing with the Accumulate Protocol via JSON-RPC

1 unstable release

0.1.0 May 26, 2024

#1824 in Asynchronous

MIT license

28KB
784 lines

JSON-RPC client for Accumulate blockchain

Full JSON-RPC client in Rust for Accumulate network https://accumulatenetwork.io/

Structure

  • types - module that contains types needed to work with Accumulate API
  • methods - module that contains exact methods according to API definition
  • account - auxilarry functions to work with protocol, wallet derivation, payloads, etc.
  • encoding - module that includes methods need for Accumulate specific encoding
  • signing - module that includes methods needed for Accumulate specific signing (ED25519, RCD, multihash, etc)

Running Tests

You can run either app or sepate tests

$ cargo run accumulate-api-tests

run test app

$ cargo run accumulate-app

Contributions

The Library developed by Kelecorix, Inc. If you're an active user or find it useful we strongly encourage you to support our efforts and ensure long maintenance by contributing a small donation to one of the following cryptocurrency addresses:

  • BTC: 39oVXpsgsyW8ZgzsnX3sV7HLdtXWfT96qN
  • ETH: 0x9cDBA6bb44772259B3A3fb89cf233A147a720f34
  • ACME: acc://12d3ab9ed87ab6b8755163d53ba475b2d7976b1e14b70f2a/acme

Dependencies

~9–24MB
~377K SLoC