Skip to content

Husoam/Celestia-PayForBlob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Celestia-PayForBlob

http://143.42.50.231:8008/
This is an example of Keplr extension that injects the cosmJS compatible offline signer.
In addition, the user will enter values through the UI and the PlayForBlob operation will be performed on the backend.

Requirements

First, you must set up Celestia Node.
You can view https://docs.celestia.org/developers/node-tutorial/ for setting up a node
And video tutorial here

Install dependencies

npm install
npm install --save-dev webpack
npm install --save cosmos-sdk

For Cors Policy Error
https://www.npmjs.com/package/local-cors-proxy

npm install -g local-cors-proxy

API endpoint that we want to request that has CORS issues:

http://localhost:26659

Start Proxy:

lcp --proxyUrl http://localhost:26659

Then in your client code, new API endpoint:

http://localhost:8010/proxy/

End result will be a request to http://localhost:26659 without the CORS issues!

Run development Server

npm run dev

Note

This is my first ui work and code design in blockchain.
I may have installed extra, missing or unnecessary packages.
UI can connect with your Keplr wallet, but cannot sign the submit transaction on the network and broadcast it now.
You can support main.js or elsewhere for development.
For other commands see comments on src/main.js
Thanks,enjoy. 😇

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published