SRC-20 Token Development: How It Works
SRC-20 tokens are fungible tokens on Bitcoin, built on the Bitcoin Stamps protocol. Here is how deploy, mint and transfer work, and what building one involves.
On this page
Short answer
SRC-20 token development means creating a fungible token on the Bitcoin network using the Bitcoin Stamps protocol, which stores token data in unspent transaction outputs. A token is created with a deploy transaction, minted by later transactions and moved with transfer transactions, with all fees paid in bitcoin. Development work centres on the deploy and mint logic, wallets, indexers and marketplaces.
What is SRC-20 token development?
SRC-20 token development is the work of creating and supporting a fungible token on the Bitcoin network using the Bitcoin Stamps protocol. It is not a smart contract: Bitcoin has no general token contract like Ethereum, so SRC-20 stores token data inside Bitcoin transactions themselves.
The standard was launched in March 2023 by a developer known as Mike In Space, as part of the Bitcoin Stamps project. The aim was permanence: because the data sits in unspent transaction outputs, which full nodes must keep to validate the chain, it cannot be pruned away the way witness data can.
Development covers the token's deploy and mint rules, the wallets that can hold it, the indexer that tracks balances, and the marketplace where it trades. Each piece is simpler than a smart-contract token, but the pieces must agree on the same rules or balances will differ.
How do Bitcoin Stamps store token data?
Bitcoin Stamps store data by encoding it as a base64 string prefixed with "STAMP:" and embedding it in a Bitcoin transaction output, using a bare multisig construction. Every full node keeps unspent outputs, so the data stays part of the chain's state rather than living in data that nodes may later discard.
For SRC-20, the encoded data is a small JSON object that states the operation, the token name, and the amounts involved. A deploy transaction defines the token; a mint transaction creates new supply against that deployment; a transfer transaction moves a balance from one address to another.
Token names are one to five characters long. The deploy transaction sets the total supply and the limit on how many tokens each mint can create. Once deployed, the rules are fixed: nobody can change the supply cap or the name afterwards.
Since Bitcoin block 796,000, SRC-20 transactions have been encoded directly on the Bitcoin chain, without the Counterparty protocol that the project used in its early proof-of-concept phase. Fees for every step are paid in bitcoin.
SRC-20 vs BRC-20: what is the difference?
SRC-20 and BRC-20 are both fungible token standards on Bitcoin, and both use deploy, mint and transfer operations. The difference is where the data lives and what that means for permanence and cost.
| Factor | SRC-20 | BRC-20 |
|---|---|---|
| Protocol | Bitcoin Stamps | Ordinals |
| Where data lives | Unspent transaction outputs | Witness data on satoshis |
| Pruning | Data cannot be pruned by nodes | Witness data can be pruned |
| Token name length | One to five characters | Four characters |
| Fees | Paid in bitcoin | Paid in bitcoin |
| Tooling | Smaller, Stamps-specific | Larger, Ordinals ecosystem |
The permanence of SRC-20 comes at a price: storing data in unspent outputs is more expensive per byte than witness data, and the outputs stay in the UTXO set, which every node must carry. BRC-20 is cheaper to use and has wider wallet and marketplace support, while SRC-20 appeals to projects that value permanence over cost.
How to build an SRC-20 token, step by step
Building an SRC-20 token follows the same deploy, mint and transfer pattern as using one, with the extra work of wallets, indexing and listing. The chain steps are simple; the surrounding software is where most of the effort goes.
- Define the token. Choose a name of one to five characters, a total supply, and a per-mint limit. Check that the name is not already taken.
- Deploy it. Send a deploy transaction that writes the token's rules to the chain. This is the one transaction that creates the token.
- Open minting. Let holders mint up to the per-mint limit until the total supply is reached, or mint the supply yourself if the design calls for it.
- Run an indexer. An indexer reads the chain, applies the deploy and mint rules, and tracks who holds how much. Wallets and marketplaces rely on it.
- Support a wallet. Holders need a wallet that understands Stamps, such as the Stamp Wallet, to see balances and send transfers.
- List it for trading. Marketplaces that support SRC-20, such as OpenStamp, let holders trade. Check each marketplace's listing rules before applying.
- Publish the rules. Document the supply, the mint limit and the contract of the token so holders and marketplaces can verify them.
Test the whole flow on a small scale first: deploy a test token, mint a few units, transfer them between two wallets, and check that your indexer agrees with the public explorers before you invite real holders.
Example (hypothetical): deploying a 21 million supply token
Example (hypothetical): a team deploys a token called HERT with a total supply of 21,000,000 and a per-mint limit of 1,000 tokens. Minting the full supply needs 21,000,000 divided by 1,000, which is 21,000 separate mint transactions.
If each mint transaction costs 0.0002 BTC in fees, minting the whole supply costs 21,000 times 0.0002, which is 4.2 BTC. That figure is only the chain fees; it does not include the deploy transaction, the indexer, wallet integration or marketplace listing.
The arithmetic shows why the per-mint limit matters. A limit of 100 would need 210,000 mints and ten times the fees, while a limit of 10,000 would need only 2,100 mints. Set the limit with the fee budget in mind, because it cannot be changed after deployment.
What does it cost, and what are the limits?
The cost of an SRC-20 token is mostly Bitcoin transaction fees, which rise and fall with network congestion. Deploy, mint and transfer each need their own transaction, so a token with many small mints costs far more to issue than one with a few large ones.
Beyond fees, the limits are structural. Bitcoin has no smart contracts for SRC-20, so there is no on-chain logic for vesting, staking or automated market making. Anything beyond holding and transferring needs off-chain software or a separate protocol.
- No programmability. Rules beyond deploy, mint and transfer need off-chain code.
- Thin liquidity. Fewer marketplaces and wallets support SRC-20 than BRC-20 or ERC-20.
- Indexer dependence. Balances exist only as the indexer reads them; a broken indexer means wrong balances.
- Permanent UTXO cost. Stamp data stays in the UTXO set, which nodes must store.
Budget for the indexer and wallet work as well as the fees. A token that deploys cleanly but has no wallet support is one holders cannot use.
What are the common mistakes?
The most common SRC-20 mistakes are treating it like an ERC-20 token, picking the wrong mint limit, and launching without indexer or wallet support.
- Expecting smart contracts. SRC-20 has no on-chain logic beyond deploy, mint and transfer.
- A mint limit that is too small. Thousands of tiny mints can cost more in fees than the token is worth.
- Skipping the indexer. Without one, nobody can reliably see balances, including your own team.
- No wallet support at launch. Holders who cannot see or move their tokens will not stay holders.
- Ignoring the fee market. Deploying during high congestion wastes bitcoin that patient timing would have saved.
Key takeaways
- SRC-20 is a Bitcoin token standard built on the Stamps protocol
- Token data lives in unspent outputs, so nodes cannot prune it
- Deploy, mint and transfer are the only three operations
- The per-mint limit decides the total cost of issuing supply
- An indexer and wallet support matter as much as the deploy itself
Frequently asked questions
What is the difference between SRC-20 and BRC-20?
Both are fungible token standards on Bitcoin with deploy, mint and transfer operations. SRC-20 stores data in unspent transaction outputs through the Bitcoin Stamps protocol, so the data cannot be pruned. BRC-20 stores data in witness data through Ordinals, which is cheaper but can be pruned by nodes.
What is a Bitcoin Stamp?
A Bitcoin Stamp is data, such as an image or token instruction, encoded as a base64 string and embedded in a Bitcoin transaction output. Stamps were first used for permanent digital art, and the SRC-20 standard applies the same idea to fungible tokens.
Do I need a smart contract to create an SRC-20 token?
No. SRC-20 has no smart contracts. A token is created by sending a deploy transaction that writes its rules to the chain, and later transactions mint and transfer it. The rules are enforced by indexers and wallets that read the chain, not by code running on it.
How much does it cost to launch an SRC-20 token?
The chain cost is the deploy transaction plus one fee per mint and per transfer, all paid in bitcoin, so it depends on the fee market and on how many mints the supply needs. Development costs for the indexer, wallet support and marketplace listing are usually larger than the chain fees.
Which wallets support SRC-20 tokens?
The Stamp Wallet is the wallet built for the Stamps ecosystem, and it supports minting, deploying and transferring SRC-20 tokens. Other wallets may support them as the ecosystem grows, so check the wallet's documentation before asking holders to use it.
Can SRC-20 tokens be traded?
Yes, on marketplaces that support the standard, such as OpenStamp. Trading depends on the marketplace's indexer agreeing on balances, so a token with no marketplace support has no liquid market even if it deployed successfully.