A Bit of Background§
Cryptocurrencies are all the rage these days. A single Bitcoin is worth the price of a small house in some places, or more than a single car most everywhere. Bitcoin is a major success story for cryptocurrencies, but it and other coins like it have a pretty major impact on the consumption of electricity.
Estimates show Bitcoin using more electricity than some small countries if you total the entire consumption from all nodes across the world. That's a lot of power being used, and unless we happen across a signicant reduction in the cost of electricity, eventually it will become unsustainable. There are alternatives.
Proof of Capacity Cryptocurrency§
Proof of Capacity cryptocurrencies offer a much reduced electrical footprint by trading the Proof of Work algorithms for an algorithm that pre-computes most of the necessary data only once and stores it on hard drives. Then, when it's time to create a new entry in the distributed database, the miners search specific places on the hard drives, do a little math on the values found there, and produce a 'deadline', which is simply a number in seconds until the next block in the blockchain can be created.
A recent entry into the Proof of Capacity space is a coin called Chia, supposedly created by the creator of bit torrent. It has done quite a bit to popularize the incredibly small environmental impact of Proof of Capacity. However, it's the new kid on the block. They also aren't pure Proof of Capacity as it also takes into account time.
The original Proof of Capacity cryptocurrency, Burstcoin, has been running since 10pm GMT on the 10th of August, 2014. A new block is forged approximately every 4 minutes and the blockchain is at block 878078 as of the writing of this article. Burstcoin has been running stable for many years. It's an open source, community driven project with several different wallet softwares and a Smart Contract system that lets programs run in the blockchain itself. As of block 878000, Burstcoin is not only Proof of Capacity either, but now encourages staking your coins to provide a boost to mining.
Let's set up a full node for Burstcoin.
You can use the same download for both Windows and Linux because Burstcoin's current software is written in Java. Download the latest zip release here and unzip it to anywhere on your PC.
Windows is Easy Peasy§
The Windows setup is super easy. Open the folder you just unzipped and double click the
burst.exe file. If you don't have Java installed, you will be notified that it's a requirement and a browser will open to the download page. You can feel free to install Java globally through the downloads on that website.
If you're like me, however, you believe Java is a giant security hole that should never be installed globally. You can, as an alternative, download a portable Java installation and set up a batch file to launch the Burstcoin node from the portable Java with these instructions:
- Download jPortable from here and launch the installer
- Select you language of choice
Next, then agree to the terms
- Create a new folder called
Javain your burstcoin folder (right next to burstcoin.exe)
- Set the
Destination Folderto the Java folder you just created and click
- Create a new file in the burstcoin folder (right next to burstcoin.exe) and name it
burst.batin a text editor and copy this command into it, then save and close it:
start .\Java\bin\javaw.exe -jar burst.jar
- Double click
burst.batand you should see the BRS log window appear.
Congratulations, you've installed and started the Burstcoin Reference Software for the first time. After a couple seconds of it running, 3 buttons will appear. The node will function fully as is but there is an opportunity to earn a few free Burstcoins per day from the NDS-A. Scroll past the Linux section to read up on how.
Linux is Also Easy...and Harder, Depending§
Earlier I mentioned that you can use the same download for both Windows and Linux. Under Linux you'll launch the burst.jar file directly by running
java -jar burst.jar from inside the burstcoin folder using a terminal. You could probably also make the jar file executable by typing
chmod +x burst.jar and then double-clicking it in the file explorer.
Or you could use Docker. I will show you how to run the BRS in docker because it makes things easy and provides the same environment for all Linux platforms, regardless of the distribution. This way will also run headless. You won't get the same console UI you see in the Windows version.
There are some prerequisites for doing this:
- You have to install Docker. Do not use the Snap package as it does not work for this. Install Docker using their official installation instructions. Here's a shortcut to the Ubuntu installation instructions.
- You also have to install docker-compose. Follow the instructions here.
- Open a terminal or console.
mkdir ~/burstcoin && cd ~/burstcointo create and navigate to a new folder in your home folder.
nano -w docker-compose.ymlto create a new file and open it. Paste the following in there.
version: "3.8" services: brs: image: damccull/brs-docker:latest deploy: replicas: 1 restart: always ports: - "8121:8121" - "8123:8123" - "8125:8125" volumes: - "./brs.properties:/brs/conf/brs.properties" - burst_db:/brs/burst_db logging: driver: "json-file" options: max-file: "5" max-size: "10m" volumes: burst_db: external: true
yto close and save the file.
curl -L -o ~/burstcoin/brs.properties https://raw.githubusercontent.com/burst-apps-team/burstcoin/v3.0/conf/brs-default.propertiesto download the BRS 3.0.0 default config file to your computer.
docker-compose up -dto launch the BRS software.
- You may now browse to "localhost:8125" and log into either the Phoenix or Classic wallets.
Congratulations, you've installed and started the Burstcoin Reference Software, running headless under Docker. The node will function fully as is but there is an opportunity to earn a few free Burstcoins per day from the NDS-A. See the next section on how.
You'll need to shut down the BRS and restart it if you make configuration changes in the brs.properties file. You can do that with
docker-compose down while in the burstcoin folder.
Network Distribution Strengthen-Award (NDS-A)§
Back in December, 2018, an organization called the Burst Marketing Fund started giving out payments to all full node operators who met specific requirements. It's still going on and will net you a couple free Burstcoins per day just for operating a full node, which is what you set up earlier. Might as well get paid for it.
To start earning the NDS-A, you need to ensure a few things are set up properly.
- You need the latest version of the BRS. You just downloaded and set this up so you should be fine there.
- You need to make a few changes in your configuration file.
- In the BRS window, click the
Edit conf filebutton. It should open a text editor to the configuration file.
- In the BRS window, also click the
Phoenix Walletbutton. It will open a web page to the new Phoenix Burstcoin wallet. Either create a new account or import an existing one. If you're setting up a full node, you probably already have an account. If not, please ask on the official Discord for help getting this done.
- Log into the Phoenix wallet with your account.
- On the top left of the Phoenix wallet is a pretty little icon below your Burstcoin address. Copy the Burstcoin address by either selecting it and pressing CTRL-C on the keyboard, or clicking the dropdown below the icon and clicking
- In the configuration file you opened in step 1, find the line that says
P2P.myPlatform = PCand replace the
PCportion with your Burstcoin address.
- Still in the configuration file, find the line that says
P2P.shareMyAddress =and change it to say
P2P.shareMyAddress = yes.
- UPnP might automatically work, but I suggest following your router's instructions (found on the internet) to manually forward port
8123to the computer running this new BRS node.
- Ensure your node stays up all the time. NDS-A only distributes to online nodes.
- In the BRS window, click the
- Lastly, check the Burstcoin Network Explorer and search for your IP or your Burstcoin address. Look for a
Yesin the NDS-A column to verify that you will be receiving the award.
End of Line§
In this article, I explained how to fully set up a Burstcoin full node and even earn yourself some NDS-A Burstcoins. There's a lot I didn't cover, so if you have additional questions, please join the community on Discord.