Skip to content

Staking with Obsidiand

Pixxl edited this page Jun 28, 2018 · 2 revisions

If you are running the Obsidian Blockchain headless (via obsidiand binary process) you can use the commands below to enable staking on your machine. If you do not have obsidiand installed, you can view the guide for staking on a VPS to understand the build process for the wallet binary file. Wallet Setup on VPS.

Enable staking on obsidiand

No warranties for any losses!

  1. Run obsidiand
  • You can also run obsidiand -daemon to have Obsidian run as a background process
  1. When starting obsidiand for the first time, you get an auto-generated unencrypted wallet. To finish setup and allow for future staking you must encrypt it:
  • Run obsidiand encryptwallet PASSWORD123
  • You will be alerted that the obsidiand process will close and you will need to restart
  1. Decrypt the wallet for staking (this will allow you to either stake or send Obsidian)
  • obsidiand walletpassphrase SECRET123 60 true
  • SECRET123 is your password, 60 is the amount of time in seconds to unlock, true is for staking only
  • 60=seconds to unlock, 9999999=very long time

Sending Obsidian to your wallet

No warranties for any losses!

  1. Retrieve your Obsidian (ODN) address to send ODN too.
  • obsidiand getaccountaddress 0
  • e.g. XE3CBtjvk4shWRDoENZDESUcePzMaAtj32
  1. Send Obsidian to the address output.
  2. Check if the transaction has come through:
  • obsidiand listunspent
  • When the transaction comes through, see above to enable staking
  1. View Staking Details or Node Details
  • obsidiand getstakinginfo
  • obsidiand getinfo
  1. ???
  2. Profit?!

Pro-tips

  • It takes ~100 confirmations for your ODN to "mature" and qualify for staking!
  • Send a small amount of ODN to ensure your wallet is working, better safe than sorry!