Curio Local Network
This guide provides detailed information about how to add a Curio miner to local network
On this page
A local-network is highly useful for getting familiar with Curio and experimenting with different scenarios in a safe manner.
Docker Devnet
Clone the Lotus Github repo and checkout the
release/cuio-beta
branchgit clone https://github.com/filecoin-project/lotus.git cd lotus/ git checkout release/curio-beta
Build the images
unset FFI_BUILD_FROM_SOURCE make docker/curio-devnet
Start the docker devnet
make curio-devnet/up
Stop the docker devnet
make curio-devnet/down
Devnet
Please set up a local network using the Lotus binaries.
Build the
curio
binaries from “master” branch of the Lotus repo.Set up the YugabyteDB
Initialize a new miner using the
guided-setup
command.Start the new Curio node
curio run --nosync --layers seal,post,gui
In an new terminal, attach some storage to the Curio node.
curio cli storage --machine 127.0.0.1:12300 attach --init --seal --store ~/.curio
Seal multiple CC sectors.
curio seal start --now --cc --actor <Miner ID from Step 4>
Access the Curio UI page at http://localhost:4701 and watch the sector move through different sealing steps.
Wait for the next WindowPost and allow the CC sectors to become “Active”.