EasySanc

From BiblePay Wiki
Revision as of 23:32, 20 June 2021 by Admin (talk | contribs) (Created page with "''' Easiest Way to Create a Deterministic Sanctuary ''' A deterministic sanctuary is the latest version that conforms to the Dash 0.16 codebase, meaning it receives determini...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Easiest Way to Create a Deterministic Sanctuary

A deterministic sanctuary is the latest version that conforms to the Dash 0.16 codebase, meaning it receives deterministic payments in contrast to legacy voted payments.

This means sanctuary owners cannot complete a new sanctuary by following the legacy guide.


1. Go to Receiving Addresses | New. Name the new address a good name for your sanc, such as Joe1 or Sanc1 etc. Copy the new address to the clipboard.

2. Go to Send Money. Send 4,500,001 to the address in the clipboard.

3. Go to Overview and look at the transaction list. Double click on the last transaction for 4,500,001. Copy the TXID to the clipboard. Before you close the window, verify the output ordinal of the 4,500,001 (its usually ordinal 0).

4. Open ~/.biblepay/masternode.conf in your favorite editor such as nano or notepad. Add a line that looks like this if your sanc name is joe1:

joe1 1.2.3.4:40001 mnp txid n

Replace the IP address with the IP address of your cold sanctuary. Replace txid with the txid in the clipboard. Replace the n with the txid ordinal (usually 0).

Save the file.

5. Wait a couple blocks to ensure your 4,500,001 is at least 2 deep. Go to Tools | Information | Console. Type 'upgradesanc joe1'.

If you get an error for insufficient funds, go to File | Address Book and copy the address for 'joe1-d', and send 250 bbp to it, and then wait a couple more blocks for the funds to mature then try 'upgradesanc joe1' again.

Once successful, copy the blsprivatekey to your clipboard.

6. Wait a couple blocks to ensure the upgrade is 2 deep. Type 'revivesanc joe1'. At this point you should see your sanctuary in the Sanctuaries tab.

7. Remote into your cold sanctuary. Edit the ~/.biblepay/biblepay.conf file.

Paste your Sanctuary BLS Private Key into this file this way by replacing the n's with your key:

masternodeblsprivkey=nnnnnnn

8. Restart your cold sanctuary. After a couple blocks type 'masternode status'. It should say "READY".