7 releases (stable)
1.3.0 | Feb 21, 2024 |
---|---|
1.2.2 | Jan 23, 2024 |
1.0.0 | Nov 29, 2023 |
0.1.0 | Nov 27, 2023 |
#88 in #ledger
143 downloads per month
1MB
7K
SLoC
The Chain repo contains all the code needed to set up and interact with a local instance of the A-Block chain.
简体中文 | Español | عربي | Deutsch | Français
..
Getting Started
Running Chain assumes you have Rust installed and are using a Unix system. You can clone this repo and run the Makefile
to set everything up for a development environment:
make
cargo build
cargo test
..
Use
Blockchain can be added to your project as a dependency by adding the following to your Cargo.toml
file:
[dependencies]
a_block_chain = "0.1.0"
Or alternatively, via command line:
cargo add a_block_chain
Running cargo run --bin main
from a repo clone will currently list all assets on the local instance. Chain is not generally intended to be used directly though, and is instead intended to be used from other programs that require access to the blockchain data structure.
Dependencies
~14–32MB
~513K SLoC