Start Running your BEACON Today
Follow the steps below to set up and run your Blockcast BEACON Docker image:
Make sure you have Docker installed and running in the background
Retrieve the Blockcast Beacon Docker Compose Manifest
Download the Blockcast BEACON docker compose file from our git repo.
Or run
git clone https://github.com/Blockcast/beacon-docker-compose.git
Or save the file attachment, rename to
docker-compose.yml
and put into New Folder on your Desktop to isolate from other Docker Compose runtimes.
Launch and start running Blockcast Beacon
Start running your Blockcast BEACON with command
docker compose up -d
from the folder wheredocker-compose.yml
is savedVerify everything is up and healthy with
docker compose ps
NAME COMMAND SERVICE STATUS PORTS beacon-docker-compose-watchtower-1 "/watchtower" watchtower running (healthy) 8080/tcp beacond "envdir /var/opt/mag…" beacond running blockcastd "/usr/bin/blockcastd…" blockcastd running control_proxy "/usr/bin/control_pr…" control_proxy running
Otherwise check the logs of the service that is not Up with
docker compose logs <NAME>
you can share with us for support.
Generate hardware and challenge key
When BEACON runtime is up
run
docker compose exec blockcastd blockcastd init
It would generate an output that contains your device's Hardware ID, Challenge Key and a Registration URL:
Hardware ID: ------------ c6ff0e6f-bc4d-4151-47c3-07df0e3cf53f Challenge Key: -------------- MCowBQYDK2VwAyEAXP49l4pBK1V5qy7vbRJYv3etRdEr7ycsQAvrgS+hQY0= Register URL: ------------- https://app.blockcast.network/register?hwid=c6ff0e6f-bc4d-4151-47c3-07df0e3cf53f&challenge-key=MCowBQYDK2VwAyEAXP49l4pBK1V5qy7vbRJYv3etRdEr7ycsQAvrgS%2BhQY0%3D
Note:
Hardware ID is a unique public identifier for your device.
Challenge Key is a Solana formatted public key that is unique to your device.
Backup your private key (in
~/.blockcast/certs/gw_challenge.key
) and keep it safe with the hardware ID, otherwise you will lose the ability to prove ownership of this device.
5. Register your docker instance on the web portal
Go to our web portal https://app.blockcast.network/ and log in/register
Copy and paste the Registration URL from the console output with your pre-filled Hardware ID and Challenge Key into your browser, OR
Go to Manage Nodes page, press Register Node button, and manually enter your keys in the portal registration flow
You will need to enable location access from your browser. Here is how to enable it on Chrome. If you are using other browsers, it might look different.
Confirm your instance is online and healthy
If your node is registered successfully and running, your node should show
Healthy
status in a few minutes in the node list table on the/manage-nodes
page.Clicking on the node entry in the node list table lands you onto the node details page, you should be able to see the uptime, connectivity, rewards info of that particular node. The nodes need to be online for 6 hours in order for the first connectivity test to run. The first batch of rewards does not kick in until 24 hours of being continuously online.
Last updated
Was this helpful?