Stronghold is a Layer 1 blockchain that provides the strongest privacy guarantees on every single transaction. Leveraging zero-knowledge proofs (zk-SNARKs), and the highest industry standards for encryption.
See https://stronghold.financial
- Install Node.js 14.x
- Install Rust.
- Install Yarn.
- Windows:
- Install Build Tools for Visual Studio 2019, including the C++ Build Tools and the Windows 10 SDK, for Rust.
- Rust builds also require installing MinGW-w64 via win-builds.
- Choose
Native Windows
,x86_64
, choose an empty directory, and click OK. - On the next screen, click
Process
. - Once it finishes, add the
bin
folder containingcc
to your PATH environment variable.
- Choose
- Install wasm-pack.
- Run
yarn install
from the root directory to install packages.
Once your environment is setup - you can run the CLI by following these directions.
- To test the entire monorepo:
- Run
yarn test
at the root of the repository - Run
yarn test:slow
at the root of the repository to run slow tests - Run
yarn test:coverage
at the root of the repository for tests and coverage
- Run
- To test a specific project
- Run
yarn test
at the root of the project - Run
yarn test:watch
if you want the tests to run on change - Run
test:coverage:html
if you want to export the coverage in an easy to use format (open the index.html file in the coverage folder of the project )
- Run
- stronghold: The library that contains the StrongholdSDK and all Stronghold code written in Typescript.
- stronghold-cli: The main client for Stronghold as of today. It is a command line interface built on Node. More details on our documentation.
- stronghold-wasm: Wrapper for
stronghold-rust
in WASM to be interacted with by thestronghold
project. - stronghold-rust: Core API for interacting with the transactions and chain and using ZKP.
- stronghold-http-api: API hosted on Stronghold servers for the Stronghold faucet.
- stronghold-rosetta-api: API hosted on Stronghold servers for the block explorer. The code of the block explorer client can be found here.