LogoLogo
  • DECENOMY Documentation
  • Basics
    • ▪️What is a Blockchain?
    • ▪️What is a Masternode?
    • ▪️What is a Spork?
    • ▪️Staying safe on Discord
    • ▪️How to secure your environment
    • ▪️Staking statistics on VaultWatch
  • Tutorials
    • DECENOMY Explorer
      • ▪️Overview
      • ▪️Latest blocks
      • ▪️Masternodes
      • ▪️Network
      • ▪️Search by Block and/or Hash
      • ▪️Search by Tx ID
      • ▪️Search by Address
      • ▪️Explorer API
    • DECENOMY Multinode Script
      • ▪️Environment basis
      • ▪️Script Screen Overview
      • ▪️Menu Structure
      • ▪️Main Menu
      • ▪️Coin Selection
        • Reinstall masternode multinode
        • Masternode multinode management
        • Stats wallet and masternode
        • Wallet management
        • Others
    • DECENOMY Wallet
      • ▪️How to use the DECENOMY wallets
      • ▪️Encrypting a wallet
      • ▪️Extra connections (addnodes)
      • ▪️Fast sync with a Bootstrap
      • ▪️Wallet update
      • ▪️How to Identify and Fix a Fork
      • ▪️Staking process on desktop wallet
      • ▪️Staking process on a VPS
      • ▪️Staking Best Practices
      • ▪️Backup Wallet on an external device
      • ▪️Restoring a backup from an external device
    • DECENOMY Masternodes
      • ▪️Masternode Multinode easy to deploy
      • ▪️Masternode Hosting With Flits Wallet App
      • ▪️Masternode collateral update
      • ▪️Setting Up a Virtual Private Server (VPS)
      • ▪️Using a Terminal Emulator - PuTTy
    • Exchange
      • ▪️How to buy Decenomy coins on Birake Exchange
        • User Account Creation and KYC Verification
        • Deposits and Withdrawals
        • Trade (Buy and Sell)
      • ▪️Birake Exchange Affiliate Program
    • Flits Wallet App
      • ▪️Getting Started with Flits Wallet App
      • ▪️How to Use the Flits Wallet App
      • ▪️How to Recover An Old Wallet Using the Seed Phrase
      • ▪️Adding and Removing a Wallet
      • ▪️Wallet Operations ( Send, Receive, Transaction history)
      • ▪️How to Top up Fee Credits
      • ▪️How to Deploy Masternodes in the Flits Wallet App
      • ▪️Settings Overview
      • ▪️Running Flits Wallet App on Windows and MacOS - Bluestacks
      • ▪️Flits Wallet In-app Support
      • ▪️Using the Flits Extraction Tool
      • ▪️Installing Flits Wallet App APK File on Android
  • Coins
    • ▪️Azzure (AZR)
    • ▪️Beacon (BECN)
    • ▪️Birake (BIR)
    • ▪️Cryptoflow (CFL)
    • ▪️Cryptosaga (SAGA)
    • ▪️Dash Diamond (DASHD)
    • ▪️Eskacoin (ESK)
    • ▪️Flits (FLS)
    • ▪️Jackpot (777)
    • ▪️Kyanite (KYAN)
    • ▪️Mobility Coin (MOBIC)
    • ▪️Monk (MONK)
    • ▪️One World (OWO)
    • ▪️Peony (PNY)
    • ▪️Sapphire (SAPP)
    • ▪️Suvereno (SUV)
    • ▪️Ultra Clear (UCR)
  • Blockchain Development
    • DECENOMY Standard Wallet
    • DECENOMY Testnet tKYAN
      • Compile Your Own tKYAN Binaries
      • Pre Build tKYAN Binaries
    • Improvements
      • Last Paid V2, a deterministic approach
      • Masternode Payment V2, a sequential and fairer distribution
      • Multinode, Multi-Instance Hosting on Masternode Full Nodes
      • Masternode Collateral Window, Mitigating Network Instabilities
      • The Emergence of a Progressive Masternode Collateral System
      • Dynamic Collateral
      • EBF system
      • Dynamic Rewards
    • Commands
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Tutorials
  2. DECENOMY Wallet

Staking process on a VPS

Staking on a Virtual Private Server (VPS) is similar to staking on a desktop wallet, but instead of running the staking process on your local computer, it runs on a remote server.

PreviousStaking process on desktop walletNextStaking Best Practices

Last updated 1 year ago

Was this helpful?

How to stake on a VPS

In this guide, we are going to explain how to stake on a VPS server.

This guide is for advanced users and assumes that you know how to safely use an Ubuntu server.

We assume that you will run all the commands as root user.

First, we need to connect to our server via SSH and download the wallet we want to install, from our official links on GitHub.

In this case, we have chosen KYAN.

We choose the Linux version and copy the link.

To download the wallet we use wget command.

wget https://github.com/kyancoin/KYAN/releases/download/v1.0.0.1/KYAN-1.0.0.1-Linux.zip

Now we copy the KYAN executables in /usr/local/bin folder to make them available as system command

cp kyanite* /usr/local/bin/

Let’s start the KYAN daemon and encrypt the wallet.

kyanited -daemon

kyanite-cli encryptwallet “YOUR-PASSWORD-HERE”

We can now create a system service to make sure our wallet will always run. nano /etc/systemd/system/kyanite.service

This command will open nano text editor where we paste the following.

[Unit]

Description=KYAN service

After=network.target

StartLimitIntervalSec=0

[Service]

Type=forking

Restart=always

RestartSec=10

User=root

ExecStart=/usr/local/bin/kyanited -conf=/root/.kyanite/kyanite.conf -datadir=/root/.kyanite

ExecStop=-/usr/local/bin/kyanite-cli -conf=/root/.kyanite/kyanite.conf -datadir=/root/.kyanite stop

[Install]

WantedBy=multi-user.target

We can now exit nano and save (ctrl+x, y, enter).

To apply the change we run this command systemctl daemon-reload

Now we need to setup the kyanite.conf file, we use nano again

nano /root/.kyanite/kyanite.conf

Paste the following lines in it:

daemon=1 server=1 rpcuser=kyanite rpcpassword=YOUR-RPC-PASS rpcallowip=127.0.0.1

staking=1

Save and exit nano.

The configuration is now complete and we can start the kyanite service and generate a new address.

systemctl start kyanite.service

kyanite-cli getnewaddress

While we wait for the wallet synchronisation we can transfer our funds to the address we just generated.

As the last step we need to unlock our wallet for staking. kyanite-cli walletpassphrase “YOUR-PASSWORD-HERE” 99999999999999 true

N.B. Coins need 600 network confirmations to start staking

You can verify staking status using the command below

kyanite-cli getstakingstatus

All the fields must return “true”

It is highly recommended to delete terminal history when we enter sensitive information like wallet passwords. It can be done simply using history -c command.

The wallet links can be found at

We now extract the archive using unzip command (if the command is not available you can run apt install unzip) unzip KYAN-1.0.0.1-Linux.zip

▪️
https://github.com/kyancoin/KYAN/releases