Maintenance Recovery

Create a Snapshot

For advanced users only.

When you need to create a custom snapshot from the ledger simply determine the slot you require then use the following command:

~/Safecoin/target/release/safecoin-ledger-tool create-snapshot --ledger ~/ledger/validator-ledger <SLOT> ~/ledger/validator-ledger

This will create a snapshot inside your ~/ledger folder.

Maintenance Recovery

Recover Key using Seed

In the event that you need to regenerate your private key from the seed phrase, use the command as below.

When entering the seed words, be sure to put a single space between each, all lower case. The entry is not visible to type carefully.

~/Safecoin/target/release/safecoin-keygen recover -o recovered.json

The private key will be output to the filename of choice.


Disaster Recovery

In the event that your validator hardware is no longer accessible, you can fully re-create your validator from the backup seed/keywords.

Simply proceed to install your replacement validator using the Installation Guide but at the point where you create the new keypairs, simply regenerate the keypairs so that the new validator assumes your original identity

# - disaster recovery 

# recover validator identity
~/Safecoin/target/release/safecoin-keygen recover -o ~/ledger/validator-identity.json

# recover vote-account
~/Safecoin/target/release/safecoin-keygen recover -o ~/ledger/validator-vote-account.json

# recover stake-account
~/Safecoin/target/release/safecoin-keygen recover -o ~/ledger/validator-stake-account.json

Once the keys are generated, you can continue the installation.

Getting Started Installation Recovery

Hardware Requirements

For your new SafeCoin Validator you will need a VPS or Dedicated Server that is running Ubuntu 20.04.

Minimum Specification

  • 4 CPU Cores
  • 8,192Mb RAM
  • Ubuntu 20.04

The storage requirement differs according to your intention to run either a Pruned Node (contains a partial segment of the ledger) or a Full History Node which contains a copy of the entire ledger.

Pruned Node

  • 20Gb SSD

Full History Node

  • 2Tb SSD (per annum)

Ready to install? Proceed to Installation Guide