This project is a simple web application to submit PayForBlob transactions to a specified node. Users can input data of various types (text, number, or URL), encode the data into a hexadecimal format, generate a random namespace ID, and submit the PayForBlob transaction. Users can also verify the transaction with the provided functionality.
- Input data in different formats (text, number, or URL)
- Encode data into a hex string
- Generate a random namespace ID
- Submit PayForBlob transactions to a specified node
- Verify the submitted transaction
- Use proxied request to overcome CORS restrictions
- Web server (e.g., Apache or Nginx)
- PHP >=7.2.5, <8.3 (compatible with the web server)
- Clone the repository or download the project files.
- Place the project files in the web server's root directory or a subdirectory.
- Run
php composer.phar update
to install dependencies.
- Open the web application in a browser.
- Choose the data type you want to submit (text, number, or URL).
- Input the data in the provided textarea.
- Click the "Hex Encode" button to convert the input data into a hex string.
- Click the "Generate Random" button to generate a random namespace ID.
- (Optional) Change the Node URL if needed.
- Click the "Submit PFB" button to submit the PayForBlob transaction.
- After submitting, click the "Verify Shares" button to verify the submitted transaction.
This project is open source and available under the MIT License.