This Github repository has already been submitted to Celestia ITN Bonus Tasks
So copying and submitting assignments is not a good idea and should only be used for inspiration
Method_1 - CLI
The CLI version helps you create PayForBlob Tx
with a simple one-line command on the server running celestia-node
Method_2 - UI
The GUI version uses Python to connect to ssh and run PayForBlob Tx with a simple button
Method_3 - GUI
The GUI version helps you create PayForBlob Tx
from anywhere after a simple setup on the server running celestia-node
wget https://raw.githubusercontent.com/inklbot/celestia-itn/main/blob.sh && sed -i 's/\r//' blob.sh && chmod +x blob.sh && sudo /bin/bash blob.sh
When you ran the `blob.sh`
Go through the attached mintscan link and check if the TxHash, Height, and Wallet address are correct
Go to tiascan and check the PayForBlob Count.
Install screen, python3, pip
and install flask
module
sudo apt install screen python3 python3-pip -y
pip install flask
Download web_server.py
wget https://raw.githubusercontent.com/inklbot/celestia-ITN-PayForBlob-Transactions/main/web_server.py https://raw.githubusercontent.com/inklbot/celestia-itn/main/blob.sh
Create dashboard
folder and download index.html
mkdir dashboard
cd dashboard
wget https://raw.githubusercontent.com/inklbot/celestia-ITN-PayForBlob-Transactions/main/index.html
cd ..
Split terminal using screen
screen -S web_server
Run web_server.py
in a split terminal
python3 web_server.py
Now you're all set.
Then type CTRL+A+D
simultaneously to return to the original terminal.
Access the dashboard via the website at http://<server-ip>:5000/
Execution
button executes PayForBlob transactions.
Requires Python3 and the paramiko, configparser, and tkinter modules.
pip install paramiko configparser
SSH connection information, except for the password, is then stored in config.ini
Then click the PFB Tx
button to execute the PayForBlob transaction.
That's it!
wget https://raw.githubusercontent.com/inklbot/celestia-itn/main/blob.sh && sed -i 's/\r//' blob.sh && chmod +x blob.sh && sudo /bin/bash blob.sh
Using your web browser, navigate to the link below.
Make sure the Status is Success, and the signer matches the Wallet Address listed in Celestia Knack - Account Settings
That's it! If everything is perfect, submit your Tx Hash
rpc error: code = NotFound desc ~
this error appears to be caused by the absence of assets in the wallet