Skip to main content

Getting Started

Prerequisites

To build Stronghold, you need a recent version of Rust installed.

Build the Library

The library comes with examples, but has no executables on its own. You can use the following instructions to build the library:

  1. Clone the repo:
git clone https://github.com/iotaledger/stronghold.rs.git
  1. Build the library
cargo build --release

Use The Library

You can get acquainted with Stronghold by checking out the How Tos section.

You can run the examples from the command line interface. Stronghold comes with a simple CLI example that briefly showcases all its features. To run the example, change into the client directory, and run the following command that will print the help of the example with all commands and options:

cargo run --example cli