HOW TO SETUP HOT TESTNET LINUX SANCTUARY (MASTERNODE)References:
https://www.reddit.com/r/BiblePay/comments/6ummuj/how_to_mine_biblepay_on_linux/http://wiki.biblepay.org/Create_Masternode#BiblePay_Sanctuaries_Setup_-_Linux_Serverhttp://wiki.biblepay.org/Create_Sanctuary_2=====================================================
A. Setup Remote Linux Server
http://wiki.biblepay.org/Create_Sanctuary_2#PART_B_-_Rent_Linux_Cloud_MachineB. Install, Run and Stop BiblePay
http://wiki.biblepay.org/Create_Sanctuary_2#PART_C_-_Install_Sanctuary_Linux_Wallethttps://www.reddit.com/r/BiblePay/comments/6ummuj/how_to_mine_biblepay_on_linux/C. Set Wallet to Testnet
cd ~/.biblepaycore
vi biblepay.conf
testnet=1
:wq
cd home/biblepay/src
./biblepayd -daemon
=====================================================
1. Ask for 500,005 tBBP (test BiblePay) on the forum, post your address:
./biblepay-cli getaccountaddress ""
2. Create a new address to send escrow to:
./biblepay-cli getaccountaddress MN1
Copy the Address Output
yaSJC1njhL6aMgVcVSUFLVujegXDG73uYo
3. Send 500,000 tBBP to escrow address:
./biblepay-cli sendtoaddress yaSJC1njhL6aMgVcVSUFLVujegXDG73uYo 500000
Copy the TXID Output
da2c3baaec7206bc1ea01df1f230e4c4dfa77a5a37ce3a9bf3a078078664c772
4. Turn on mining for a few minutes to make blocks advance
./biblepay-cli setgenerate true 1
./biblepay-cli getinfo
./biblepay-cli getmininginfo
./biblepay-cli setgenerate false
5. Get the VOUT
./biblepay-cli masternode outputs
Copy the VOUT Output
1 or 0
6. Get the Private Key
./biblepay-cli masternode genkey
Copy the Private Key Output
92gwjXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7. Stop BiblePay
./biblepay-cli stop
7. Add Sanctuary to masternode.conf
cd ~/.biblepaycore/testnet3
vi masternode.conf (i insert, :wq to write and quit)
[SANCTUARY_ALIAS] SPACE [SANCTUARY_PUBLIC_IP:40001] SPACE [SANCTUARY_PRIVATE_KEY] SPACE [ESCROW_TXID] SPACE [ESCROW_VOUT]
MN1 34.208.206.95:40001 92gwjXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX da2c3baaec7206bc1ea01df1f230e4c4dfa77a5a37ce3a9bf3a078078664c772 1
8 Add flags to biblepay.conf:
Note: I added same to both biblepay.conf files, in main folder and in testnet3
rpcuser=RandomUsername
rpcpassword=RandomPassword
rpcallowip=127.0.0.1
rpcport=9998
listen=1
server=1
daemon=1
logtimestamps=1
maxconnections=256
externalip=34.208.206.95
masternode=1
masternodeprivkey=92gwjXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9. Open Ports in Firewall
sudo apt-get update
sudo apt-get install ufw
sudo ufw allow ssh/tcp
sudo ufw limit ssh/tcp
sudo ufw allow 40001/tcp
sudo ufw allow 9998/tcp
sudo ufw logging on
sudo ufw enable
sudo ufw status
10. Start masternode
./biblepay-cli masternode start-alias MN1
NOTE: Weird mine was already started somehow
11. Masternode Debugging
./biblepay-cli mnsync status
./biblepay-cli masternode list
./biblepay-cli masternode status
Wait for Masternode info to sync, AssetID 999 MASTERNODE_SYNC_FINISHED:
./biblepay-cli mnsync status
12. Install Watchman
sudo apt update
sudo apt -y install git python-virtualenv virtualenv
cd ~/.biblepaycore
git clone
https://github.com/biblepay/watchman.gitcd watchman
virtualenv venv
venv/bin/pip install -r requirements.txt
13. Set Watchman to Testnet
vi watchman.conf
Comment network=mainnet (add # in front)
Uncomment network=testnet (remove # in front)
:wq
cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py
Make sure this command gives no output and then add it to crontab
crontab -e
# i insert
* * * * * cd ~/.biblepaycore/watchman && ./venv/bin/python bin/watchman.py >/dev/null 2>&1
# :wq
14. Wait for Masternode Status to go from PRE_ENABLED to ENABLED,
turn on mining if no one is mining
./biblepay-cli masternode list
=====================================================
Let me know if this is correct, seems to be working for me so far, but Im still in PRE_ENABLED state