<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.biblepay.org/index.php?action=history&amp;feed=atom&amp;title=Create_Sanctuary</id>
	<title>Create Sanctuary - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.biblepay.org/index.php?action=history&amp;feed=atom&amp;title=Create_Sanctuary"/>
	<link rel="alternate" type="text/html" href="https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;action=history"/>
	<updated>2026-04-11T02:16:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.12</generator>
	<entry>
		<id>https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6841&amp;oldid=prev</id>
		<title>Admin at 15:48, 13 April 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6841&amp;oldid=prev"/>
		<updated>2022-04-13T15:48:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:48, 13 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l53&quot; &gt;Line 53:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 53:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the command is successful, it will emit about 10 lines of technical details about your new sanctuary.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the command is successful, it will emit about 10 lines of technical details about your new sanctuary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You are &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;primary &lt;/del&gt;concerned with the BLS public and private keys.&amp;#160; Copy the BLS public and private keys to notepad and label them the same names.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You are &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;primarily &lt;/ins&gt;concerned with the BLS public and private keys.&amp;#160; Copy the BLS public and private keys to notepad and label them the same names.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Step 6:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;li&amp;gt;Step 6:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6840&amp;oldid=prev</id>
		<title>Admin at 15:47, 13 April 2022</title>
		<link rel="alternate" type="text/html" href="https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6840&amp;oldid=prev"/>
		<updated>2022-04-13T15:47:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 15:47, 13 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot; &gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case send 1000 bbp from your controller wallet to the address on the screen (copy it to clipboard) and send to it, then wait 3 blocks then try again.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In this case send 1000 bbp from your controller wallet to the address on the screen (copy it to clipboard) and send to it, then wait 3 blocks then try again.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the command is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;successfuly&lt;/del&gt;, it will emit about 10 lines of technical details about your new sanctuary.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the command is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;successful&lt;/ins&gt;, it will emit about 10 lines of technical details about your new sanctuary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You are primary concerned with the BLS public and private keys.&amp;#160; Copy the BLS public and private keys to notepad and label them the same names.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You are primary concerned with the BLS public and private keys.&amp;#160; Copy the BLS public and private keys to notepad and label them the same names.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6839&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;''' How to create a deterministic Sanctuary '''   Ground Rules: You must have a controller wallet (this is your home wallet that is used to manage one or more sanctuaries). Th...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.biblepay.org/index.php?title=Create_Sanctuary&amp;diff=6839&amp;oldid=prev"/>
		<updated>2022-04-13T15:44:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039; How to create a deterministic Sanctuary &amp;#039;&amp;#039;&amp;#039;   Ground Rules: You must have a controller wallet (this is your home wallet that is used to manage one or more sanctuaries). Th...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;''' How to create a deterministic Sanctuary '''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ground Rules:&lt;br /&gt;
You must have a controller wallet (this is your home wallet that is used to manage one or more sanctuaries).&lt;br /&gt;
The lines below marked with controller must be run by your home wallet.  The Sanctuary wallet is your VPS that runs the actual Sanctuary Software.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Step 1:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
From the Controller Wallet, launch Biblepay QT.  Go to File | Receiving Addresses.  Create a new address for your sanctuary (by clicking new), then edit&lt;br /&gt;
it and label it with a good name (for example, sanc1)  Write this sanctuary name down in notepad.  Copy that address to your clipboard. Close the dialog.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Step 2:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we will fund the sanctuary.  Go to Send.  Paste the Address of the Sanctuary (from the first step) in the To box.  Populate amount 4,500,001.&lt;br /&gt;
Send.&lt;br /&gt;
&amp;lt;li&amp;gt;&lt;br /&gt;
Step 3:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Go to the Transaction List, and find the transaction that you sent.  Double click on it.  Copy the transaction ID to your clipboard.  Now we need to find out the TXID ordinal.  Launch Notepad, and paste the txid in notepad and label it Collateral TXID.&lt;br /&gt;
Now go to Tools | Debug Console.  Type:&lt;br /&gt;
&amp;lt;pre&amp;gt;getrawtransaction txid 1&amp;lt;/pre&amp;gt;&lt;br /&gt;
The command will show the details of the transaction you just sent.  &lt;br /&gt;
Scan the output of this command for the leg of the transaction that has an amount of 4,500,001.  Once you find that leg, copy the &amp;quot;n&amp;quot; value of it.  Usually, this will be 0 or 1.  Copy that &amp;quot;n&amp;quot; value to notepad and label it &amp;quot;txid-ordinal&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Step 4:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we need to add an entry to the Controller wallets masternode.conf file.&lt;br /&gt;
In mainnet, this file is located at ~/.biblepay/masternode.conf.  In TestNet, this is located at ~/.biblepay/testnet3/masternode.conf.  Note that on windows, you need to replace ~/.biblepay with %appdata%\biblepay.&lt;br /&gt;
Nano this file.  We need to store a new entry in it like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;sanctuary_name sanctuary_vms_ip:sanctuary_port mnp collateral_txid collateral_txid_ordinal&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should replace sanctuary_name with the name that you wrote in notepad.&lt;br /&gt;
Replace vms_ip with the ip address of your sanctuary.&lt;br /&gt;
Replace port with 40000 for mainnet, or 40001 for testnet.&lt;br /&gt;
Leave mnp as is.&lt;br /&gt;
Replace collateral_txid with the TXID in notepad.&lt;br /&gt;
Replace txid_vout_ordinal with the TXID ordinal from notepad.&lt;br /&gt;
Save the file.&lt;br /&gt;
Exit nano.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Step 5:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we need to upgrade the sanctuary to deterministic from the Controller wallet.&lt;br /&gt;
From the RPC console, type:&lt;br /&gt;
&amp;lt;pre&amp;gt;upgradesanc sanc_name&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note!  If the response says: 'unable to find funds at address nnn', this simply means you need a little BBP to cover maintenance.&lt;br /&gt;
In this case send 1000 bbp from your controller wallet to the address on the screen (copy it to clipboard) and send to it, then wait 3 blocks then try again.&lt;br /&gt;
&lt;br /&gt;
If the command is successfuly, it will emit about 10 lines of technical details about your new sanctuary.&lt;br /&gt;
You are primary concerned with the BLS public and private keys.  Copy the BLS public and private keys to notepad and label them the same names.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Step 6:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we are ready to spin up the actual VMS sanctuary.  &lt;br /&gt;
From the VMS Sanctuary, first install either biblepay-qt or biblepayd (the sanctuary will run from either one).  Most people use biblepayd.&lt;br /&gt;
cd ~/.biblepay&lt;br /&gt;
From here, we need to enter the BLS_PRIVATE_KEY in the biblepay.conf file!&lt;br /&gt;
nano ~/.biblepay/biblepay.conf (this is for mainnet).  For Testnet:  nano ~/.biblepay/biblepaytest.conf&lt;br /&gt;
Insert the following line&lt;br /&gt;
&amp;lt;pre&amp;gt;masternodeblsprivkey=nnn&amp;lt;/pre&amp;gt;&lt;br /&gt;
Replace nnn with your actual bls_private_key (from notepad).&lt;br /&gt;
Save the file.&lt;br /&gt;
&amp;lt;li&amp;gt;Step 7:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Now we can start the sanctuary.&lt;br /&gt;
Start the sanctuary, wait for it to sync, then type:&lt;br /&gt;
&amp;lt;pre&amp;gt;masternode status&amp;lt;/pre&amp;gt;&lt;br /&gt;
At this point if it says READY: you have a perfectly running sanctuary.&lt;br /&gt;
Now all you need to do is monitor the POSE status from the controller, and ensure it stays at 0.&lt;br /&gt;
If it goes up, you can always revive your sanctuary with 'exec revivesanc sancname'.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>