Skip to content

Javascript code to use OP_PUSHDATA to upload files or write plain text to Bitcoin mainchain, test network, and regtest network.

Notifications You must be signed in to change notification settings

bigg-S/Bitcoin-Javascript-Gist---OP_DATA

Repository files navigation

Bitcoin-Javascript-Gist---OP_DATA

Javascript code to use OP_PUSHDATA to upload files or write plain text to Bitcoin mainchain, test network, and regtest network.

Table of Contents

Getting Started

Prerequisites

Install Node.js

Installation

  1. Clone the repository from GitHub:

    git clone https://github.com/bigg-S/Bitcoin-Javascript-Gist---OP_DATA.git
    
  2. Change directory into the project directory and install the necessary dependencies:

    npm install
  3. Build the project:

    npm run build

    The project is ready now

Configuration

  1. Start the cors-anywhere server:

    npm run cors
  2. Serve the projet:

    npm start

Usage

1. Upload file or enter plain text in the provided fields
2. Click on "Process Inputs" button to upload the data to bitcoin networks

Acknowledgments

Special thanks to the following libraries and frameworks used in this project:

  • Node.js
  • Axios
  • Webpack

About

Javascript code to use OP_PUSHDATA to upload files or write plain text to Bitcoin mainchain, test network, and regtest network.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published