SRC-20 Token Creation Guide
Create SRC-20 fungible tokens on Bitcoin using three simple operations: DEPLOY, MINT, and TRANSFER.
Web Interface (No Code)
- Visit stampchain.io/create-token
- Enter token details (ticker, supply, mint limit)
- Connect wallet and pay Bitcoin fees
- Token is deployed automatically
Example Token:
- Ticker:
MYART(4 letters max) - Supply:
100,000 - Mint Limit:
100(prevents whale dominance)
SDK Implementation
bash
npm install @btc-stamps/tx-buildertypescript
import { TxBuilder } from '@btc-stamps/tx-builder';
const txBuilder = new TxBuilder({ network: 'mainnet' });
// Deploy token
const deployTx = await txBuilder.src20.deploy({
ticker: 'MYART',
max: '100000',
limit: '100'
});
// Mint tokens
const mintTx = await txBuilder.src20.mint({
ticker: 'MYART',
amount: '100'
});
// Transfer tokens
const transferTx = await txBuilder.src20.transfer({
ticker: 'MYART',
amount: '50',
destination: 'bc1q...'
});Protocol Operations
SRC-20 uses JSON data stored on Bitcoin:
typescript
interface SRC20Operation {
p: 'SRC-20';
op: 'DEPLOY' | 'MINT' | 'TRANSFER';
tick: string; // 4-letter ticker
max?: string; // Total supply (DEPLOY)
lim?: string; // Mint limit (DEPLOY)
amt?: string; // Amount (MINT/TRANSFER)
}Fair Launch Principles
Follow KEVIN's successful model:
- No Pre-mining: Creator gets tokens same way as everyone else
- Reasonable Supply: Not too high (devaluation) or too low (limits access)
- Fair Mint Limits: Allow broad participation, prevent whale accumulation
- Authentic Purpose: Build genuine community value
Common Token Patterns
Community Tokens (like KEVIN):
- Supply: 21,000,000 (Bitcoin-inspired)
- Mint Limit: 1,000 (accessible participation)
Art Tokens:
- Supply: 1,000-10,000 (limited editions)
- Mint Limit: 1-10 (exclusive access)
Utility Tokens:
- Supply: Matches intended usage
- Mint Limit: Based on user needs
Infrastructure & APIs
Bitcoin Stamps tokens require:
- Counterparty node for protocol processing
- Open-source stamps indexer for data extraction
- API access via stampchain.io/api for token data and balances
Developers can run their own indexer or use existing API endpoints for token information and transaction history.
Economics & Costs
Transaction Costs:
- Deploy: ~$4-8 (20-40k sats)
- Mint: ~$2-4 (10-20k sats)
- Transfer: ~$1-3 (5-15k sats)
Costs vary with Bitcoin network congestion
Launch Strategy
- Test on testnet first
- Share concept with community
- Deploy token on mainnet
- Enable community minting
- Build real utility and value
Resources
- SRC-20 Protocol → - Technical specification
- API Integration → - Token data access
- Community Values → - Fair launch principles
- Create Token → - Web interface
Create tokens responsibly following fair launch principles established by KEVIN and the Bitcoin Stamps community.