<div id="top"></div>
<br />
<div align="center">
<a>
<img src="https://github.com/AIBlockOfficial/Chain/blob/develop/assets/hero.jpg" alt="Logo" style="width:100%;max-width:700px">
</a>
<h2 align="center">Two Way Chain</h2> <div style="height:30px"></div>
<div>
<img src="https://img.shields.io/github/actions/workflow/status/AIBlockOfficial/Chain/.github/workflows/rust.yml?branch=main" alt="Pipeline Status" style="display:inline-block"/>
<img src="https://img.shields.io/crates/v/tw_chain" alt="Cargo Crates Version" style="display:inline-block" />
</div>
<p align="center">
The blockchain that powers the AIBlock tech stack
<br />
<br />
<a href="https://a-block.io"><strong>Official documentation »</strong></a>
<br />
<br />
</p>
</div>
The Chain repo contains all the code needed to set up and interact with a local instance of the AIBlock chain.
..
## 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:
```toml
[dependencies]
tw_chain = "1.1.2"
```
Or alternatively, via command line:
```
cargo add tw_chain
```