Local Development Network Setup
This guide walks through how to deploy a local blockchain instance for software development and testing purposes. Alternatively, developers can also develop and test on Fractal's Trickle Testnet.
Last updated
This guide walks through how to deploy a local blockchain instance for software development and testing purposes. Alternatively, developers can also develop and test on Fractal's Trickle Testnet.
Last updated
Tips for Linux (Ubuntu)
If already installed, please update to 1.59 or newer
Fractal can run on both MacOS or Linux. The commands below will build all required binaries to start a local Fractal network.
Please make sure to add all below 3 binaries to your $PATH
. By default, they will be copied to ~/.cargo/bin/
which should already be in your $PATH
.
stt
: The tool to initialize Fractal Network
abcid
: Fractal core protocol.
tendermint
: Tendermint consensus engine.
and then copy the newly installed toml
cli tool to /usr/local/bin
to make it visible
Inside your platform
directory, execute make devnet
in the terminal.
node0
The validator
node1
The fullnode
Faucet
The key pair that holds FRA
The local blockchain can be stopped and restarted anytime during development and tests.
Stop Blockchain: ./tools/devnet/stopnodes.sh
Restart Blockchain: ./tools/devnet/startnodes.sh
Start Over: make devnet
again.
connects to Web3 HTTP
connects to Web3 WebSocket
Problem 1
Error Message:
make build_release fails with go:linkname must refer to declared function or variable
Solution
Update your golang.org/x/sys
Problem 2
.findora
file is missing
Solution
manually add .findora
to your home directory (i.e. directory ~
)
Fractal devnet tools are written in Python3 and use toml-cli
to manipulate configuration files. if not already installed. Also, install toml-cli
using the command below:
connects to