Skip to content

This repository provides a streamlined implementation of the Bitcoin BRC-20 protocol, specifically designed for handling 5-byte operations. The project focuses on simplicity, scalability, and compatibility with the broader Bitcoin ecosystem while maintaining the core principles of decentralization and security.

Notifications You must be signed in to change notification settings

milojeBtc/btc-brc20-5bytes-public

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Bitcoin BRC-20 5Bytes

Overview

This repository provides a streamlined implementation of the Bitcoin BRC-20 protocol, specifically designed for handling 5-byte operations. The project focuses on simplicity, scalability, and compatibility with the broader Bitcoin ecosystem while maintaining the core principles of decentralization and security.

Features

  • Advantages of 5-Byte Standard: The 5-byte BRC-20 standard offers improved efficiency and scalability compared to previous versions by reducing data overhead. This enables faster transaction processing, lower storage requirements, and better compatibility with lightweight applications.
  • 5-Byte Compatibility: Optimized for operations using the 5-byte standard, enabling efficient and lightweight token transfers.
  • Express Framework: Built using the Express.js framework for rapid API development and robust backend functionality.
  • TypeScript Support: Fully typed for enhanced developer productivity, maintainability, and reduced runtime errors.
  • MongoDB Integration: A reliable and scalable database for storing and managing transaction data.
  • Unisat API Integration: Utilizes the Unisat API for seamless interaction with the Bitcoin network, eliminating the need for a local Bitcoin Core instance.

Getting Started

Prerequisites

Ensure you have the following installed:

  • Node.js (>= 16.0.0)
  • MongoDB (>= 4.4)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/btc-brc20-5bytes-private.git
    cd bitcoin-brc20-5bytes
  2. Install dependencies:

    npm install
  3. Configure the environment variables: Create a .env file in the root directory and populate it with the required variables. See .env.example for reference.

  4. Start the development server:

    npm run dev
  5. Access the application at http://localhost:3000.

Usage

  • API Endpoints: A comprehensive set of API endpoints is provided for creating, managing, and transferring BRC-20 tokens. Refer to the API Documentation for details.
  • CLI Tool: A command-line interface is available for performing common operations. Run npm run cli --help for usage instructions.

Contributing

We welcome contributions from the community! To contribute:

  1. Fork the repository.
  2. Create a feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -m 'Add feature-name'
  4. Push to the branch: git push origin feature-name
  5. Open a pull request.

Connect With Me:

Mail Badge Telegram Badge Skype Badge Discord Badge

About

This repository provides a streamlined implementation of the Bitcoin BRC-20 protocol, specifically designed for handling 5-byte operations. The project focuses on simplicity, scalability, and compatibility with the broader Bitcoin ecosystem while maintaining the core principles of decentralization and security.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published