Skip to content

Setup Mining Without VPS.

Mac and Windows: Broadway Pixels ® edited this page Jun 23, 2019 · 2 revisions

Windows

Use the following instructions to mine a block.

Open your wallet, and make sure your wallet is connected with a node. Your wallet is connected when you see the icon wallet connections X11 in the lower right corner of your wallet.

The message “Syncing Headers (0,0%)” will disappear once you mine your first block.

Close your wallet and create the file broadway.conf in the folder “%APPDATA%\broadway\”.

Paste the following text into broadway.conf and save the file.

rpcuser=rpc_usernamehere rpcpassword=makeapasswordheredonotgivetoanyone rpcallowip=127.0.0.1 rpcport=10167 listen=1 server=1

Open your wallet.

Create a .bat file named mine.bat or download mine.bat and place it in the same folder where you extracted the Broadway Wallet zip file and paste the following text into mine.bat if you rather create the bat yourself.

@echo off set SCRIPT_PATH=%cd% cd %SCRIPT_PATH% echo Press [CTRL+C] to stop mining. :begin broadway-cli.exe generate 1 goto begin

Save the file.

Execute mine.bat to start mining your first block.

It will take about +/- 30 minutes to mine your first block, depending on your computer hardware.

Mac

Open your wallet, and make sure your wallet is connected with a node. Your wallet is connected when you see the icon Wallet connections X11 in the lower right corner of your wallet.

The message “Syncing Headers (0,0%)” will disappear once you mine your first block.

Close your wallet and create the file broadway.conf in the folder “$HOME/Library/Application Support/Broadway/”.

Paste the following text into broadway.conf and save the file.

rpcuser=rpc_usernamehere rpcpassword=makeapasswordheredonotgivetoanyone rpcallowip=127.0.0.1 rpcport=10167 listen=1 server=1

Open your wallet.

Create a file named mine.sh or download via mine.sh or paste the following text into mine.sh if you rather create the .sh yourself.

#!/bin/bash SCRIPT_PATH=pwd; cd $SCRIPT_PATH echo Press [CTRL+C] to stop mining. while : do ./broadway-cli generate 1 done

Save the file.

Click the Finder icon in your dock. Click Go. Click Utilities. Double-click Terminal.

Go to the directory where you extracted the Broadway Wallet.

E.G. cd Downloads

Execute the following command in Terminal to make mine.sh executable.

chmod +x mine.sh

Execute the following command in Terminal to start mining your first block.

./mine.sh

It will take about +/- 30 minutes to mine your first block, depending on your computer hardware.

Clone this wiki locally