FNet Docs
Using the future protocol on algokit localnet
Step by step instructions for using the future protocol on algokit localnet:
1. Start a named localnet
algokit localnet start --name localfnet
2. Change your localnet protocol
Edit this file under your home directory:
~/.config/algokit/sandbox_localfnet/algod_network_template.json
add this ConsensusProtocol
field under Genesis
:
"ConsensusProtocol": "future",
The first few lines of the file should look like this:
{ "Genesis": { "ConsensusProtocol": "future", "NetworkName": "followermodenet",
3. Reset your localnet
For the protocol change to take effect, reset localnet like so:
algokit localnet reset
4. Confirm your protocol version
Run algokit goal node status
and check that your consensus protocol version is future
, as in the example below:
A named LocalNet is running, goal command will be executed against the named LocalNet Last committed block: 0 Time since last block: 0.0s Sync Time: 0.0s Last consensus protocol: future Next consensus protocol: future