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.
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.
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.
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 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
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.
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.
- Clone this repository:
git clone https://github.com/bittraveler/bitcoin-cat-examples.git cd bitcoin-cat-examples
- Install dependencies (if applicable):
npm install
Step-by-step guide to issuing a new CAT20 token on Bitcoin, including setting supply, token symbol, and initial distribution.
Explanation of how to transfer CAT20 tokens between addresses and how to track transactions on the blockchain.
Guide on creating a unique CAT721 NFT, setting metadata, and verifying authenticity.
Steps to confirm token ownership and retrieve metadata from the blockchain.
We welcome contributions to improve these examples! Feel free to submit pull requests or open issues.