https://github.com/bittraveler/bitcoin-cat-examples
Bitcoin Fractal CAT Examples: CAT20, CAT721 Tokens
https://github.com/bittraveler/bitcoin-cat-examples
bitcoin cat-protocol cat20 cat721 fractal opcat
Last synced: about 1 month ago
JSON representation
Bitcoin Fractal CAT Examples: CAT20, CAT721 Tokens
- Host: GitHub
- URL: https://github.com/bittraveler/bitcoin-cat-examples
- Owner: bittraveler
- Created: 2025-01-27T12:12:14.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-02-06T08:46:53.000Z (3 months ago)
- Last Synced: 2025-02-06T09:36:15.088Z (3 months ago)
- Topics: bitcoin, cat-protocol, cat20, cat721, fractal, opcat
- Language: TypeScript
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Bitcoin Fractal CAT Examples
This repository provides detailed examples of Bitcoin Fractal CAT token implementations, specifically for CAT20 and CAT721 tokens. These examples demonstrate how to create, manage, and interact with these token standards on the Bitcoin blockchain.
## Introduction
Bitcoin Fractal CAT (Contract-Assisted Tokens) is a framework for issuing and managing fungible and non-fungible tokens on Bitcoin. It enables tokenized assets to be created directly on the Bitcoin blockchain while maintaining security and decentralization.
## What is Bitcoin Fractal CAT?
Bitcoin Fractal CAT is an evolving token standard built on Bitcoin's UTXO model. It leverages contract-assisted transactions to enable token issuance, transfers, and management without requiring a separate smart contract platform.
## Token Standards
### CAT20 (Fungible Token)
CAT20 is a fungible token standard that allows the creation and transfer of tokenized assets similar to ERC-20 on Ethereum. Key features include:- Fixed or dynamic supply
- Transferable between Bitcoin addresses
- Uses UTXO-based accounting### CAT721 (Non-Fungible Token)
CAT721 is a non-fungible token (NFT) standard on Bitcoin, similar to ERC-721 on Ethereum. Each token is unique and indivisible, allowing the representation of digital assets like art, collectibles, and real-world assets.- Unique token IDs
- Immutable metadata
- Ownership verification on Bitcoin## Use Cases
Bitcoin Fractal CAT tokens enable various applications, including:
- **Tokenized Assets:** Represent real-world assets such as real estate and stocks.
- **Gaming:** In-game assets, rewards, and collectibles.
- **NFTs:** Digital art, music, and virtual goods.
- **Loyalty Programs:** Reward systems for businesses and platforms.
- **Decentralized Finance (DeFi):** Liquidity pools and staking mechanisms.## Getting Started
### Prerequisites
To work with Bitcoin Fractal CAT tokens, ensure you have the following:- A Bitcoin wallet that supports CAT transactions.
- Node.js and npm installed for development.
- Basic knowledge of Bitcoin transactions and UTXOs.### Installation
1. Clone this repository:
```sh
git clone https://github.com/bittraveler/bitcoin-cat-examples.git
cd bitcoin-cat-examples
```
2. Install dependencies (if applicable):
```sh
npm install
```## Examples
### Creating a CAT20 Token
Step-by-step guide to issuing a new CAT20 token on Bitcoin, including setting supply, token symbol, and initial distribution.### Transferring CAT20 Tokens
Explanation of how to transfer CAT20 tokens between addresses and how to track transactions on the blockchain.### Minting a CAT721 Token
Guide on creating a unique CAT721 NFT, setting metadata, and verifying authenticity.### Verifying Token Ownership
Steps to confirm token ownership and retrieve metadata from the blockchain.## Contributing
We welcome contributions to improve these examples! Feel free to submit pull requests or open issues.