Getting Started

Stake Your SAFE

Many do not want to run their own validator either due to costs, hardware restraints, lack of experience or lack of time.

In these situations you can stake against any public validator. There is no risk to your coins and your earnings will automatically compound into your stake balance.

To support this site, you can stake right here.

Validator Description:

UK Full History Node. Dual Zeon, 32 Cores, 64G RAM, 6T SSD

Validator Vote Address:



15% of rewards will support this validator and website. 85% of rewards are deposited directly into your stake account and will compound. The commission rate will never increase.

Getting Started

Validator Automation

Running your validator and keeping it updated can be completely automated. In this guide, we will perform this in two parts.

Part 1 – Automating the start up and restart process

Running your validator as a systemd unit is an easy way to manage running your validator in the background and have it automatically start up after your system is restarted or after a panic error.

We will be using nano as the file editor throughout this guide. When you have finished editing the file simply hit CTRL+X to save and exit. Or you can use your own favourite editor.

Make sure you know the USERNAME that you used when installing the validator. If you get this bit wrong it will not work.

Let’s create the validator systemd unit config file:

sudo nano /etc/systemd/system/validator.service

Paste the following. Replace the TWO instances of elvis in the User and ExecStart sections (below) with the username that you used to install your validator (unless you did actually use elvispresley). This is the only area you need to change for your own username:

Description=Safecoin Validator



Your startup line may differ however, if you have followed the official instructions (or the guide from this site) then the following startup script is sufficient for a pruned node

We will call the startup script, edit the script as follows:

nano ~/

Paste in the following startup code (put in your own customisations if required). Replace the –limit-ledger-size with –no-snapshot-fetch if you are running a full history node:


cd ~

NDEBUG=1 ~/Safecoin/target/release/safecoin-validator \
        --limit-ledger-size \
        --identity ~/ledger/validator-identity.json \
        --ledger ~/ledger/validator-ledger \
        --expected-genesis-hash HfHmB9nh7EjpqoCL2DDZ559SJW4xN52gxheWPER782jW \
        --wal-recovery-mode skip_any_corrupted_record  \
        --known-validator 3USWzeHtWnMjzFCgmY5sUGWjn2J6KvM6xEgxegkrD16P \
        --known-validator 4BRXtL6nEKDVJdYPEwgGCfAAvEHT4C4Sj5peQz8kHGZu \
        --known-validator 4aWxVu4ZjKV9EtuCZi4b8Z1XwsvDWvyyfA7LRXjhDDsA \
        --vote-account ~/ledger/validator-vote-account.json \
        --authorized-voter ~/ledger/validator-identity.json \
        --entrypoint \
        --entrypoint \
        --entrypoint \
        --rpc-port 8328 --enable-rpc-transaction-history --no-untrusted-rpc

Let’s make the script executable:

sudo chmod +x ~/

If running then now it’s time to stop your existing validator and then enable systemd unit which will auto start on reboot or panic errors. If you are running a validator script then stop it and kill the process:

sudo killall -9 safecoin-validator

Now let’s activate systemd unit for your validator script:

sudo systemctl enable --now validator

Your validator will now start up. In the event your VPS is restarted/rebooted, it will automatically start up after 15 seconds.

To stop your validator:

sudo systemctl stop validator

To check your validator status:

sudo systemctl status validator

That’s all there is to part 1. Your validator startup and restarts are now completely automated.

Test your validator by restarting your VPS, it should auto restart. If it does not then go back to the beginning and check each step carefully. Please allow up to 5 minutes for your validator to restart.

You can review the validator system log like this:

tail -f ~/safecoin*.log

Allow 5 minutes. If it works – you can move on to Part 2.

Part 2 – Automatic rebuild, restart and log management

Occasionally there will be codebase updates that will require a manual pull from github and a rebuild and a restart. We also need to keep the log files in check. This is a manual task that we can completely automate.

With a short bash script and with the use of the crond service it’s actually very easy to do. Some staggering is added to ensure not all validators are updated at exactly the same time.

First we create the file using nano, our favourite text editor.

nano ~/

Then paste in the following code block, remember to press CTRL+X afterwards to save and exit:


# check and apply codebase updates
cd ~/Safecoin
SAFE=`git pull| grep Already | wc -l`
if [ $SAFE -ne 1 ];then
 cargo build --release
 sleep $((1 + $RANDOM % 1800))
 systemctl restart validator

# truncate the log
truncate -s 0 ~/safecoin-validator-*.log

Let’s make the executable:

chmod +x ~/

Now let’s add to the crontab:

crontab -e

Using nano (default easiest option), press CTRL+V to go to the end and paste this then hit CTRL+X to save and exit:

00 * * * * ~/

CTRL+X to save and exit. Should see “crontab: installing new crontab” if your save was successful.

Run the manually to ensure there are no obvious errors:


If no errors, then you are finished. Your validator will now automatically restart on reboot, download updates, rebuild, restart and keep your validator log files in check.


In the event that you are all setup and you have been running successfully for sometime and now for an unknown reason your validator is delinquent for more than an hour, and it never catches up then check out the log file for clues:

tail -f ~/safecoin*.log

Got an “assertion failed”? Then manual action will be required, check out the #validators channel on Discord for further instructions. If there’s no other clues then the only option is to remove the ledger and restart, you can do it like this:

sudo systemctl stop validator

sudo rm -rf ~/ledger/validator-ledger

sudo systemctl start validator

Getting Started Installation

Short Safecoin Commands

By default you are going to have to specify the entire safecoin path when running safecoin commands as such:

~/Safecoin/target/release/safecoin validators

It can be arduous to do this every time, so as a short cut, I add a symbolic link to the local bin folder:

sudo ln -sf ~/Safecoin/target/release/safecoin /usr/local/bin/safecoin

Now, to run any safecoin command it’s as simple as:

safecoin validators

This is all down to personal preference but it is something I find convenient.

Fees Getting Started Installation Staking

Validator Commission

Every validator has the potential to earn a portion of the staking rewards in return for operational service.

By default, for a new validator, the commission rate is set to 100%.

This would result in all staking rewards being deposited to the validator vote account and no increase in the delegated stake size.

Set the commission on your validator as follows

# set the commission rate to 10%

~/Safecoin/target/release/safecoin vote-update-commission ~/ledger/validator-vote-account.json 10 ~/ledger/validator-identity.json

You can change the validator commission levels at any time.

Getting Started Trading

How to Trade SafeCoin

SafeCoin is not current widely available on many exchanges and the primary reason is because it has it’s own “sister” exchange.

At present time, the best way to trade SafeCoin is on the SAFE/BTC pair on the SafeTrade exchange.

  1. Go to
  2. Register new account
  3. Set email address and password
  4. No KYC required
  5. Instant activation

Additionally I recommend you enable 2FA for extra security.

Once your account is open, deposit your BTC and trade SAFE.

Fees Getting Started Staking Voting

How do Staking Rewards work?

Staking rewards on SafeCoin are determined by a variety of factors, some of which are related to the chosen validator, while others depend on the global network state.

Rewards are automatically added to the active stake to compound, which means withdrawing earned rewards also requires the cooldown phase to pass.

Staked Supply: Newly issued tokens are rewarded to those staking, which means that if there is a lower percentage of the circulating SAFE supply at stake, those staking will receive higher rewards.

Transaction Fees: Transaction fees in SafeCoin are dynamically adapting based on the load in the system. 50% of fees is burned, which indirectly benefits SAFE holders as this lowers the overall SAFE supply. The rest is retained by the validator proposing the block containing the transaction.

State Rent: Accounts and contracts on SafeCoin are charged rent in proportion to the space they occupy. 50% of the rent the protocol collects is burned, decreasing the overall SAFE supply, and the rest is distributed to validators as part of the transaction fees.


Commission Rate: Validators can set a commission fee in the protocol. This percentage is the proportional cut that validators receive from delegated stake for operating the node infrastructure on behalf of token holders.

Uptime: Validator nodes earn credits for blocks on the majority fork they successfully voted on. Stakers earn a portion of inflation rewards based on their proportional stake times the percentage of blocks their validator successfully voted on. As an example, if a validator missed to vote on 10% of blocks, its delegators will only receive 90% of the staking rewards.

Getting Started Staking

How does Cooldown work?

When deciding to stop staking, staked SAFE needs to pass a period during which stake remains eligible for penalties before it becomes liquid.

Similar to the warmup phase, this happens gradually and works in the same way that warming does, with at maximum 25% of the SAFE at stake being able to pass the cooldown phase per epoch.

Getting Started Staking

How does Warmup work?

When sending a staking transaction to the network, stake first needs to activate before it influences the consensus process and begins to earn rewards.

The time this takes is dependent on how much SafeCoin is beginning to stake relative to the SafeCoin already at stake. Up to 25% of the SAFE already at stake can warmup per epoch and start to earn staking rewards.

In the best case scenario, when a reasonably high percentage of SAFE is at stake and there is little new stake entering, this will usually mean that stake will become active in the upcoming epoch that the staking transaction was sent.

In times of high stake turnover, e.g. at network launch, stake will progressively activate meaning that only a fraction of stake will enter the validation stage each epoch.

Getting Started

Binary Downloads

The recommended build process is to build the binaries from the source files. But, if you are in a hurry or just testing then you can save some time with pre-compiled binaries.

As yet there are no official pre-compiled binaries however some community members have built their own binary archives.

Binaries compiled for Mac OS

Download: safecoin-release-osx.tar

Binaries compiled for Ubuntu 20.04

Download: safecoin-release-ubuntu.tar.gz

Disclaimer: Use at your OWN RISK!

Getting Started Staking

Can I top-up the stake-account?

You cannot send new coins to your stake-account once it is active and delegated. To stake more coins you need to create a new stake account and deposit your new coins to that using the same process.

The stake rewards automatically get deposited into your stake account for immediate compounding.

See: Staking with CLI