Skip to content

Setup Guide

Mac and Windows: Broadway Pixels ® edited this page Apr 16, 2019 · 2 revisions

Step 1: Prep the Wallet

Open Your wallet and wait until the wallet has downloaded the complete blockchain. Go to “Tools”. Click “Debug console”. This is the console where You will execute all commands. Create a masternode private key. Code: masternode genkey

Example output 75eqvNfaEfkd3YTwQ3hMwyxL2BgNSrqHDgWc6jbUh4Gdtnro2Wo

Show your collateral address. Code: getaccountaddress "MN1"

Example output Nad4xtgdwf7c5y45ruy5MWtVY43zYMCvva

Keep note of the masternode private key and the collateral address.

Step 2: Setup the VPS.

Install Ubuntu Server 18.04 on a VPS. Update your Ubuntu machine. Code: sudo apt-get update sudo apt-get upgrade

Install the required dependencies. Code: sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils python3 libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-test-dev libboost-thread-dev libboost-all-dev libboost-program-options-dev

sudo apt-get install libminiupnpc-dev libzmq3-dev libprotobuf-dev protobuf-compiler unzip software-properties-common

Install Berkeley DB. Code: sudo add-apt-repository ppa:bitcoin/bitcoin sudo apt-get update sudo apt-get install libdb4.8-dev libdb4.8++-dev

Download the daemon and tools from BW. (Links coming soon) wget …..

Extract the tar files. Code: tar -xzvf broadway-daemon-linux.tar.gz tar -xzvf broadway-qt-linux.tar.gz

Install the daemon and tools. Code: sudo mv broadwayd broadway-cli broadwaytx /usr/bin/

Create the config file. Code: mkdir $HOME/.broadway nano $HOME/. broadway/broadway.conf

Paste the following lines in broadway.conf. Code: #---- rpcuser=rpc_broadway rpcpassword=kuw05sqio7bcm8z96o7redv17xws1lw6xpd1qf33 rpcallowip=127.0.0.1 #---- listen=1 server=1 daemon=1 maxconnections=64 #---- masternode=1 masternodeprivkey=REPLACE_WITH_MASTERNODE_PRIVATE_KEY externalip=REPLACE_WITH_EXTERNAL_IP_OF_VPS #----

Replace the text “REPLACE_WITH_MASTERNODE_PRIVATE_KEY” with the “masternode private key” that you created using the command “masternode genkey”.

E.G. masternodeprivkey=75eqvNfaEfkd3YTwQ3qrw25L2BgNSrqHDgWc6jbUh4Gdtnro2Wo Replace the text “REPLACE_WITH_EXTERNAL_IP_OF_VPS” with the external IP address of your VPS.

E.G. externalip=111.111.111.111 Start your node with the following command; broadwayd

Step 3: Finish the Wallet Setup.

Transfer 10 BW to the “collateral address” that you created using the command “getaccountaddress "MN1"”. Wait until the transaction has the required masternode confirmations. Go to Tools. Click Debug console. Enter the following command. masternode outputs

Example output [ { "06e38868bb8f9958e34d5155437d009b72dff33fc28874c87fd42e51c0f74fdb" : "0", } ]

Go to “Tools”. Click “Open Masternode Configuration File”. Modify the following line and paste it into notepad. MN1 REPLACE_WITH_EXTERNAL_IP_OF_VPS:7672 REPLACE_WITH_MASTERNODE_PRIVATE_KEY REPLACE_WITH_TRANSACTION_HASH 0

So, an example would be;

MN1 111.111.111.111:7672 75eqvNfaEfkd3YTwQ3qrw25L2BgNSrqHDgWc6jbUh4Gdtnro2Wo

MN1 - Alias for your masternode. 111.111.111.111 - External IP of your VPS. 7672 - P2P port of BW coin.

REPLACE_WITH_MASTERNODE_PRIVATE_KEY - Masternode private key from the command “masternode genkey”. REPLACE_WITH_MASTERNODE_PRIVATE_KEY REPLACE_WITH_TRANSACTION_HASH. -Transaction hash from the command “masternode outputs”. 0 - Single digit from the command “masternode outputs”. Save the file and close notepad. Shutdown Your wallet and re-open your wallet. Go to “Settings”. Click “Unlock Wallet”. Enter your wallet passphrase and unlock your wallet. Go to “Tools”. Click “Debug console”. Start your masternode using the command. masternode start-alias MN1

It will take 30-90 minutes to activate the masternode.

Clone this wiki locally