Spin up a new node

Start the node

Run the Iron Fish CLI

ironfish start
Restart the animation
ironfish start :::::::::: ::::::::::::::::: :::::::::::: ::::::::::::::::::: ::::::::::::: ::::::::::::::::::::: :::::::::::::: :::::::::::::::::::::::: ::::::::::::: :::::::::: ::::::::: ::::::::::::::::::::: :::::::::: ::::::::::::::::::::: ::::::::: ::::::::::::: :::::::::: ::::::::: :::::::::::::: :::::::::::::::::::::::: ::::::::::::: ::::::::::::::::::::: :::::::::::: ::::::::::::::::::: :::::::::: :::::::::::::::: Peer Identity ms1kEwERcvP4bzn8TtcmffSBHrlQfn9izdW2KlmLXiA= Peer Version ironfish-sdk/2/cli Port 9033 Bootstrap test.bn1.ironfish.network Serving RPC on IPC /Users/username/.ironfish/ironfish.ipc ################################################################# # Thank you for installing the Iron Fish Node. # # To help improve Ironfish, opt in to collecting telemetry # # by setting telemetry=true in your configuration file # ################################################################# New default account created: default Account's public address: ec7d8422f70b5449a5aabb18c9507b1875b6ec49b8ada1ba991ca09900c1c3b1c7b282a7b93866be02109d Initializing the blockchain... Genesis block created successfully WebSocket server started at :::9033Connected to the Iron Fish network

Using a different directory

By default, the database and configuration files for the Iron Fish node are created in the ~/.ironfish directory (more details in the configuration section). You can use a different directory for the database and configuration files by using the --datadir flag.

E.g.

ironfish start --datadir=~/myCustomFolder

Using a different bootstrap node

By default, your node will connect to the official Iron Fish bootstrap nodes. If you are developing and want to use a different bootstrap node, you can make the node connect to a different address with the --bootstrap flag.

Do not use a production bootstrap node that isn't officially endorsed by Iron Fish, you might end up on a malicious network.

E.g.

ironfish start --bootstrap=localhost:9031

Using a different port

By default, Iron Fish runs on port 9033. If you wish to use a different port, you can use the --port flag.

E.g.

ironfish start --port=9045

Next steps

The node will now sync your local chain with the network. It might take a while for the full sync to be complete. But you can still use the node in the meantime.

Downloading a chain snapshot

To sync your local chain with the network more quickly you can download a snapshot of the chain database.

ironfish chain:download