Automated Setup
This guides shows how to use the automated setup scripts to configure your validator node and download the binaries automatically.

fn: Findora Node Setup (fn) is a command-line (CLI) utility that allows you to set up a validator node and stake/unstake FRA.
Linux version
MacOS version
fn
26MB
Binary
fn-mac
10MB
Binary
Download the appropriate file and move to your path:
wget https://wiki.findora.org/bin/linux/fn
chmod +x fn
mv fn /usr/local/bin/

Generate a new, random pair of public and private keys that will be used for FRA staking:
fn genkey > tmp.gen.keypair
To view the keys: cat tmp.gen.keypair
Before continuing, the staking private key (sec_key in your tmp.gen.keypair file) should be saved in a file at the following path:
/data/findora/{network_name}/{network_name}_node.key
Note: If this directory does not exist, you will need to create it.

Mainnet
Second Tab
node_init_mainnet.sh
4KB
Text
node_init_testnet.sh
4KB
Text
Example:
bash -x node_init_testnet.sh
NOTE
All existing validator and wallet information will be removed by running these scripts. If all you want is to keep your data, Safety Clean should be used

To connect fn with the Findora Network, use this command:
  • For Testnet: fn setup -S https://prod-testnet.prod.findora.org
  • For Mainnet: fn setup -S https://prod-mainnet.prod.findora.org
To connect your staking key (inside node.mnemonic) to fn, use the below command. This allows fn to sign transactions on your behalf.
# Ex: fn setup -O ${ROOT_DIR}/node.mnemonic
fn setup -O <Path to the mnemonic of your node> || exit 1
To connect your Node Key to fn, use the command below.
# Ex: fn setup -K ${ROOT_DIR}/tendermint/config/priv_validator_key.json
fn setup -K <path to validator key> || exit 1
NOTE
For the next steps, proceed to this Staking Guide to learn how to fund your validator and stake FRA.
Copy link
Edit on GitHub
On this page