snarkOS is a decentralized operating system for private applications. It forms the backbone of Aleo and enables applications to verify and store state in a publicly verifiable manner.
| |
|
|
|:----------------------------:|:-------------------------------:|:---------------------:|
|
|
|
|
Unzip the package and in terminal, cd
into the unzipped folder and run:
mv snarkos /usr/local/bin
Coming Soon
To start a snarkOS client node, run:
bash
snarkos
We recommend installing Rust using rustup. You can install rustup
as follows:
bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Download the Windows 64-bit executable or Windows 32-bit executable and follow the on-screen instructions.
In your terminal, run:
bash
cargo install snarkos
To start a snarkOS client node, run:
bash
snarkos
We recommend installing Rust using rustup. You can install rustup
as follows:
bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Download the Windows 64-bit executable or Windows 32-bit executable and follow the on-screen instructions.
Start by cloning this repository:
bash
git clone https://github.com/AleoHQ/snarkOS --depth 1
Next, compile and install snarkOS:
bash
cd snarkOS && cargo install --path .
To start a snarkOS client node, run:
bash
snarkos
To start a client node, run:
snarkos
To start a mining node, run:
snarkos --is-miner
To run a node with custom settings, refer to the full list of options and flags available in the CLI.
Full list of CLI flags and options can be viewed with snarkos --help
:
``` snarkOS 1.1.4 Run an Aleo node (include -h for more options)
USAGE: snarkos [FLAGS] [OPTIONS]
FLAGS: -h, --help Prints help information --is-bootnode Run the node as a bootnode (IP is hard coded in the protocol) --is-miner Start mining blocks from this node --no-jsonrpc Run the node without running the json rpc server
OPTIONS:
--connect
snarkos --rpc-username <Username> --rpc-password <Password>
snarkos --connect "<IP ADDRESS>"
A config.toml
file is generated in the ~/.snarkOS/
directory when the node is initialized for the time.
Updating this config.toml
file allows node operators to specify default settings for the node without
having to specify additional information in the CLI.
By default, snarkOS 1.1.4 a JSON-RPC server to allow external interfacing with the Aleo network. Documentation of the RPC endpoints can be found here
For additional information, please refer to the official Aleo documentation page.