Spawn documentation
Learn how to launch tokens, use the NFT marketplace, and call Spawn contracts on Robinhood Chain.
Spawn has two on-chain products on Robinhood Chain: a token launchpad backed by Uniswap V3 markets and a fixed-price NFT marketplace for ERC-721 assets. This documentation covers the browser workflows and the contracts behind them.
Choose a path
| Goal | Start here |
|---|---|
| Create a token and its first market | Launch a token |
| Buy or sell a launched token | Trade tokens |
| Create a collection and mint items | Create a collection |
| List, buy, or cancel an NFT | Marketplace overview |
| Build a contract integration | Connect with ethers |
| Query indexed market data | HTTP API |
What runs on-chain
Token creation, initial liquidity, swaps, NFT ownership, listing terms, sale settlement, royalties, and proceeds are enforced by contracts. Successful wallet transactions become public chain state and cannot be reversed by Spawn.
Spawn also maintains a discovery index. It turns contract events into token feeds, NFT collection pages, activity lists, and price history. The index improves browsing while contract state remains authoritative for trading decisions.
Launchpad model
Every launch creates an ERC-20 with a fixed supply of one billion tokens. The factory creates its Uniswap V3 pool and executes the required first buy in the same transaction. Launch metadata, including the description and social links, is stored by the token contract.
Trades go through the Spawn router. It obtains a quote from the configured Uniswap V3 quoter, applies the current router fee, and submits a swap with a caller-selected minimum output.
NFT marketplace model
The collection factory deploys owner-controlled ERC-721 collections with ERC-2981 royalty support. A collection owner can mint items whose metadata points to immutable content uploaded through Spawn.
The marketplace supports fixed-price native ETH listings. Sellers grant token-specific approval, then create a listing whose platform fee and royalty settlement are captured at that price. A purchase transfers the NFT and credits each recipient's withdrawable balance.
Contract integrations
The examples use ethers v6 with minimal human-readable ABIs. You can copy an example into a browser application, replace the sample token or collection address, and connect it to an EIP-1193 wallet.
Start with network and contract addresses, then use the read examples before sending a write transaction.