This guide will walk you how to setup Blockfrost Ice Breakers for Ice Breaker pools who have the Ice Breaker NFT. We will use standard paths and setup used by coincashew users.
Credits to Earn Coin Pool for documenting the procedure.
If you get the following error "No apt package "rustup"... Use the following command instead;
rustup install stable
Then switch to latest stable Rust by running:
Clone repo to your $NODE_HOME by running:
Switch folders by running:
Checkout main branch by running:
Build by running:
Check build version by running:
✅Should return:
Step 2 - Configure
We can use the --init flag to generate your configuration file by running:
Select the options below and replace your socket path, also replace your receive address that you provided to Blockfrost and the icebreakers secret that was emailed to you.
Make sure port 3000 is not already being used, if so, select an unused port number.
✅Config has been written to:
Step 3 - Open Firewall
Make sure the firewall is open on the port you selected above by running:
Check firewall by running:
Step 4 - Move Blockfrost Platform
Run the binary by running:
Step 5 - Create Start Up Script
Start by create a blank file by running:
Replace secret with your ice breakers secret. Replace reward_addr with your receive address and replace node_socket_path with your path below and then paste in the file and save.
Set execute permissions by running:
Step 6 - Create as a Service
Start by create a blank file by running:
Replace the <user> below with your username and double checks the paths for WorkingDirectory and ExecStart
Then paste into file and save.
Move to system folder and set permissions by running:
Enable the service by running:
Testing by restarting the service to see if it is working by running:
Step 7 - Clean up
If the status is good, go ahead and clean up the files.
Congratulations you did it!
Contributors
Thanks to the following pools for helping to put together these guides. Please consider delegating to their pools to support them. Are you a pool? Consider buying them a coffee
cd $NODE_HOME
git clone https://github.com/blockfrost/blockfrost-platform
cd blockfrost-platform
git checkout main
cargo build --release
./target/release/blockfrost-platform --version
blockfrost-platform 0.0.1
./target/release/blockfrost-platform --init
> Run in solitary mode? No
> Enable metrics? Yes
> Which network are you connecting to? Mainnet
> Mode? Compact
> What should be the log level? Debug
> Enter the server IP address: 0.0.0.0
> Enter the port number: 3000
> Enter path to Cardano node socket: /home/<user>/cardano-my-node/db/socket
> Enter the reward address: addr1....
> Enter the icebreakers secret: 123456789...
cd $NODE_HOME/blockfrost-platform/target/release
sudo mv -f blockfrost-platform /usr/local/bin/blockfrost-platform
blockfrost-platform
cd $NODE_HOME
sudo nano start-blockfrost-platform.sh
#!/bin/bash
# You can modify these variables for your specific setup
# NETWORK=mainnet
SECRET=123456789...
REWARD_ADDR=addr1...
NODE_SOCKET_PATH=/home/<user>/cardano-my-node/db/socket
/usr/local/bin/blockfrost-platform --network ${NETWORK:=mainnet} \
--node-socket-path $NODE_SOCKET_PATH \
--secret $SECRET \
--reward-address $REWARD_ADDR