FNet Docs
Build your own FNet algod
FNet runs on a modified version of go-algorand with a custom protocol.
If you intend to build your own algod for a custom architecture, you need to keep the binary updated to avoid unexpected behavior. Network resets and binary updates will be announced on discord.
1. Get the latest FNet commit
To build your own FNet algod, the first thing you will need is the commit hash corresponding to our current algod release.
https://fnet.algorand.green/static/version.txt
The commit=fdec56b9
line will refer to the git commit you need to build from this go-algorand fork .
2. Build algod
i. Clone this go-algorand repo locally and check out the commit hash you retrieved from the previous step (currently fdec56b9
.)
ii. Follow the "Building from source" instructions that correspond to your environment.
Important: Stay up to date
Remain up to date with network resets and binary updates to avoid unexpected behavior.
An easy option to do so is to join the FNet channel on our discord , where these will be announced.
Alternatively, you can scrape/watch the version.txt file mention in section 1 and monitor it for changes.
3. Resetting? Wipe data directory
In case you are building a newer version after an FNet network reset, you need to delete the previous FNet network data directory.
A safe way to detect this condition is a genesis file and genesis hash change.
This is located under $ALGORAND_DATA/fnet-v1
- e.g. /var/lib/algorand/fnet-v1
4. Configure your node
Visit the next section for information on how to configure your node