Fractal
  • Overview
  • Basics
    • Architecture
  • Key Concepts
    • Fractal Confluence: The EVM Layer
    • The Confluence Bridge
    • Fractal Spring: The UTXO Layer
      • Concepts
      • Technical Specifications
    • Staking
      • Overview
      • EVM Staking
        • UTXO Staking and EVM Staking
      • Consensus
      • Rewards
      • Penalties
  • Developers
    • Acquire Testnet FRA
    • EVM Tools & Tutorials
      • Contract Deployment
        • Ganache
        • Hardhat
        • Remix
        • Truffle
        • Waffle
      • The Graph
    • Developer SDKs
      • UTXO Native Chain SDK
        • Fractal Spring (UTXO Layer) SDK Installation
        • Developer Tools
          • Fractal CLI Tool
        • UTXO API Reference
          • Account
          • Keypair
          • Network
          • Asset
          • Staking
          • Transaction
          • Helpers
      • The Confluence Bridge SDK
    • EVM References
      • Metamask
      • Local Development Network Setup
      • EVM API Reference
      • Precompiled Contracts
  • Network Settings
    • Contract Addresses
    • Network Settings
  • User Guides
    • Fractal Wallet Guides
      • MetaMask
        • Download
        • Configure (Auto)
        • Configure (Manual)
      • Fractal Wallet
        • Download
        • New Wallet
        • Transfer Tokens in the Fractal Wallet
        • The Confluence Bridge
        • Adding Custom Assets to the Fractal Wallet
        • Manage Assets
      • Ledger Hardware Wallet
    • Acquire FRA
    • Explore Testnet
    • Acquire FRA (Testnet)
    • Stake FRA
    • How to Use Block Explorers
    • Bridging Tokens to Fractal
  • Validator Materials
    • Validator Setup Guides
      • System Requirements
      • Acquire a Server
      • Validator Toolbox Setup
        • New Build
        • Existing Build
        • Additional Info
      • Manual Setup
      • Automated Setup (Deprecated)
    • Upgrade Guides
      • Node Upgrade (Toolbox)
      • Node Upgrade (Manual)
      • fn CLI Upgrade (Wallet)
    • Operational Guides
      • Emergency Recovery
      • Data Backup
      • CLI Staking
Powered by GitBook
On this page
  1. Validator Materials
  2. Validator Setup Guides

Automated Setup (Deprecated)

PreviousManual SetupNextUpgrade Guides

Last updated 1 year ago

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

Setup the fn CLI Tool

fn: Findora Node Setup (fn) is a command-line (CLI) utility that allows you to set up a validator node and stake/unstake FRA.

Download the appropriate file and move to your path:

wget https://github.com/FractalFoundation/fractal-docs/raw/main/.gitbook/assets/fn
chmod +x fn
mv fn /usr/local/bin/

Generate Keys

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

Example:

# Note: This is an example. Do not use them in your own node.
Wallet Address: fra1955hpj2xzkp4esd5928yhtp0l78ku8fkztvwcypvr8mk6x8tkn6sjsajun
Mnemonic: repair drink action brass term blur fat doll spoon thumb raise squirrel tornado engine tumble picnic approve elegant tube urge ghost secret seminar blame
Key: {
    "pub_key": "LSlwyUYVg1zBtCqOS6wv_49uHTYS2OwQLBn3bRjrtPU=",
    "sec_key": "b0MGhK7xaRQHuhzFkaBhQ1o4GwTumJEWt1NQ7FChNwA="
}

Before continuing, the staking keypair should be saved in a file at the following path:

cp tmp.gen.keypair /data/findora/mainnet/mainnet_node.key
cp tmp.gen.keypair /data/findora/testnet/testnet_node.key

Note: If this directory does not exist, you will need to create it.

Example:

bash -x node_init_testnet.sh

NOTE

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

Download and run the automated setup script

All existing validator and wallet information will be removed by running these scripts. If all you want is to keep your data, should be used

Connect to the Network

For the next steps, proceed to to learn how to fund your validator and stake FRA.\

​
Safety Clean
​
this Staking Guide
​
​
26MB
fn (1) (1)
10MB
fn-mac (1)
4KB
node_init_mainnet.sh
4KB
node_init_testnet.sh