Local Network Setup Guide
This guide explains how to set up and run a local Autonomi network for development and testing purposes.
Prerequisites
Rust toolchain (with
cargo
installed)Git (for cloning the repository)
That's it! Everything else needed will be built from source.
Starting a Network
Clone the repository:
Start a local EVM testnet:
Keep the terminal open and running.
In a separate terminal, in the same directory (
autonomi
), run the following command:
Done!
Connecting to the testnet
Cleanup and Troubleshooting
To stop and cleanup after a testnet, run the following commands to kill all the nodes, the evm testnet and delete all Autonomi related files.
Warning: If you are running local live nodes or apps/clients on Autonomi DO NOT DELETE THE WHOLE Autonomi data FOLDER asyou risk losing all your data. It is recommended to run testnets on a separate user or machine.
If you are on Windows, the Autonomi data folder is here:
C:\Users\<username>\AppData\Roaming\autonomi
.
Note that the 3 programs above might end with .exe
For hackers
A ONE LINER I like to use to start a testnet (and the evm testnet too), and stop everything on CTRL+C
:
Last updated