Skip to content

inklbot/celestia-ITN-PayForBlob-Transactions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Overview

This guide provides two methods for running PayForBlob Transactions.

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

Phase_3 Guide

Method_1 guide

Enter this command 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

Method_1 Example

Run 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.

Method_2 guide

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

image
Now you're all set.
Then type CTRL+A+D simultaneously to return to the original terminal.


Method_2 Example


Access the dashboard via the website at http://<server-ip>:5000/


image

Execution button executes PayForBlob transactions.

image


Method_3 guide(Windows 10)

Requires Python3 and the paramiko, configparser, and tkinter modules.

pip install paramiko configparser

Method_3 Example

Run PFB.py

image

SSH connection information, except for the password, is then stored in config.ini

image

Then click the PFB Tx button to execute the PayForBlob transaction.

image

image

That's it!

PHASE 3 Guide

This guide was written using Method 1 - CLI

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

image

image

Using your web browser, navigate to the link below.

image

Make sure the Status is Success, and the signer matches the Wallet Address listed in Celestia Knack - Account Settings

image

That's it! If everything is perfect, submit your Tx Hash

Errors

image

rpc error: code = NotFound desc ~ this error appears to be caused by the absence of assets in the wallet

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published