Welcome to the Beginner's Guide to mining Block Collider! Whether you are new to mining a blockchain or are an experienced pro, mining the Block Collider network is easy and this guide serves as the recommended method of getting started.
Mining Block Collider is the main way to earn rewards (NRG tokens) from the network, as well as the only way to access the Borderless Marketplace.
BACKGROUND ON WHAT IS MINING
For quick refresher on what it means to mine a blockchain, checkout Sections 1 & 2 on this site: https://www.buybitcoinworldwide.com/mining/
- Windows 8 Pro (hypervisor support) to Windows 10 (hypervisor support)
- Linux: Ubuntu 16.04 LTS or greater up to Ubuntu 19.04
- Mac: OSX 10.8+
- 22 GB HDD, 8GB RAM (minimum 6GB)
To begin mining, proceed with the following steps:
In order to mine Block Collider you will need to assign an account (AKA: 'wallet') to your miner so any potential rewards from mining have a place to be stored. The specific account ('wallet') you will need is a Block Collider wallet, for the Block Collider currency: NRG.
Making a wallet is very simple, you can follow the steps below to generate your Block Collider wallet!
This process has a few steps but is very straight forward, and will be familiar to those who have created blockchain wallets in the past.
First go to this page:
Borderless Portfolio Page
Then click the box labelled Generate BSEC Wallet:
There are many other fields and a larger user interface on the Portfolio web page. For the purpose of setting up a miner, ignore them for now. Block Collider and Borderless have extensive training guides on what those fields are, why they are important, and how to navigate the site. If you want to view the advanced guides, simply click here: https://docs.blockcollider.org/docs/step-2-starting-borderless
You now have a file that has everything you need to mine! Next, you need to save it to your computer. Click Just Download Wallet. This will automatically save a wallet file to your computer. The file can be opened in Text Editor or similar programs and contains your Public and Private keys.
You MUST save your wallet file (wallet.json) or you will not be able to access your wallet in the future.
This should worry you.
While cryptocurrencies provide unparalleled technological security, the cost of this security is that there is no "undo" button or "password reset" for your wallet. If you lose your Private Key, there is no failsafe.
We recommend taking the security and privacy of your wallet very seriously. Rule of thumb is do everything as slow as possible, especially the first time.
Here is a video with some popular ways of ensuring that your wallet (that new file) is secure: https://www.youtube.com/watch?v=Dtsmrb4Gyck
In the screen above, there is a string of text that is labelled Public Address:
Copy that text of the "<YOUR_PUBLIC_ADDRESS>" on that page, or leave it open and available to copy, because you will need to paste the <YOUR_PUBLIC_ADDRESS> into a command later that will start your miner and give you credit for using your computer to run the network.
Starting up the Block Collider miner from scratch is very useful for advanced users. In order to level the playing field for users just getting started, a tool called "Docker" will help take care of the complicated bits and allow us to run our miner using one command!
The steps to download Docker Community Edition are straightforward. Depending on your computer's operating system, click the correct link below:
- Mac*: https://store.docker.com/editions/community/docker-ce-desktop-mac
- Windows*: https://store.docker.com/editions/community/docker-ce-desktop-windows
- Other: https://www.docker.com/community-edition#/download
*Older versions of Mac or Windows may not be able to use Docker Desktop and may consider trying Docker Toolbox. However, while some individuals running on old machines have successfully used Docker Toolbox, this is not officially supported.
"Docker for Mac" download page. Click Get Docker to download and get started.
Once the Docker application is installed, all that is necessary to begin mining is to run the command that gets your computer started!
If you are using a Windows machine open the pre-installed program called Command Prompt (may also be called "CMD Prompt").
If you are using a Mac or Linux computer then open the application called Terminal (pre-installed on all Mac/Linux machines).
The command below is the recommended template for your "start running my miner" command. You only need to update one thing:
- Replace <YOUR_PUBLIC_ADDRESS> in the command below with the Public Address you copied earlier in step #1 when you created your wallet.
docker run --rm --name bcnode \ --memory-reservation="6900m" \ -p 3000:3000 -p 16060:16060 -p 16061:16061 -p 36061:36061 -p 36060:36060 \ -e BC_MINER_KEY="<YOUR_PUBLIC_ADDRESS>" \ -e BC_NETWORK="main" \ -e BC_FORCE_MINE=true \ -e MIN_HEALTH_NET=true \ -e NODE_OPTIONS=--max_old_space_size=6096 \ blockcollider/bcnode:latest \ start --rovers --rpc --ws --ui --node --scookie "scookie" 2>&1
NOTE: WINDOWS USERS
A few users have reported the backslash "\" does not work in some windows shells. If so replace the <YOUR_PUBLIC_ADDRESS> with your Public Address in the following single line command.
docker run --rm --name bcnode --memory-reservation="6900m" -p 3000:3000 -p 16060:16060 -p 16061:16061 -p 36061:36061 -p 36060:36060 -e BC_MINER_KEY="<YOUR_PUBLIC_ADDRESS>" -e BC_NETWORK="main" -e BC_FORCE_MINE=true -e MIN_HEALTH_NET=true -e NODE_OPTIONS=--max_old_space_size=6096 blockcollider/bcnode:latest start --rovers --rpc --ws --ui --node --scookie "scookie" 2>&1
NOTE: Change "scookie" for advanced RPC calls or use of Portfolio.
For the purposes of mining, "scookie" in the command above is not important to know about and can be left as is. If you want to use the more advanced features of Block Collider like RPC calls or viewing balances on the Portfolio page, "scookie" will need to be a unique value that only you know (can be changed each time you run the miner).
More information on the RPC Call process is detailed in the RPC API documentation.
NOTE: Ngrok Tunnel for Portfolio
For users who wish to see their balances in portfolio.blockcollider.org, adding the variable
-e BC_TUNNEL_HTTPS=true \ to the command, will create an ngrok* https tunnel to your docker containers server. The tunnel of the address is logged during the startup in the app log (SCREENSHOT). This can replace "localhost" in the BC Miner Hostname input in the settings section of portfolio.blockcollider.org. You can also view the tunnel address by making the RPC call "getSettings". You can read more about that here: https://docs.blockcollider.org/docs/rpc-api
*ngrok is a third party service and miners should use it at their own discretion
Copy and paste that command, with the updated text, into your Terminal or Command Prompt.
Hit the return/enter key and that’s it!
You are officially powering up Block Collider on your machine.
It may take 20 or 30 minutes for everything to sync between you and the network. Once complete, you are officially mining Block Collider!!
Now that you’re mining the Block Collider, you are being rewarded in NRG!
For more information on NRG, check out this link: https://docs.blockcollider.org/docs/nrg-emb-and-l-emb-tokenomics-of-block-collider#section-what-is-nrg
You can view your accumulated NRG balance by visiting https://multiverse.blockcollider.org and searching for your "YOUR_PUBLIC_ADDRESS" that you copied earlier.
An alternative method of checking your balance can be achieved by going to the Borderless Portfolio Page and viewing the NRG balances section from the wallet you created before. If your session has ended (and you are taken to the "Generate BSEC Wallet" page from earlier) simply select the Import option and then upload the .json file you downloaded and saved from earlier.
Updated 3 days ago