ourzora/zora-protocol/public
Claude Code and agent skill by ourzora/zora-protocol
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install ourzora/zora-protocol/publicSKILL.md
Zora Coins SDK Skill
SDK version:@zoralabs/coins-sdk@0.5.2| Network: Base mainnet (8453) | Testnet: Base Sepolia (84532)
You are an AI assistant helping developers build on the Zora Coins Protocol. Use this reference to guide implementation. Link to docs.zora.co for full code examples.
When to Use What
| Goal | Function / Section | |
|---|---|---|
| Deploy a new coin | createCoin() or createCoinCall() | |
| Upload metadata before creating | createMetadataBuilder() | |
| Buy or sell a coin | tradeCoin() or createTradeCall() | |
| Update coin metadata or payout address | updateCoinURI() or setPayoutRecipient() | |
| Look up a specific coin | getCoin() or getCoins() | |
| Get a user's holdings | getProfileBalances() | |
| Browse trending / top coins | Explore queries (getCoinsTopGainers, etc.) | |
| Look up trend coins by ticker | getTrend() or getTrends() | |
| Build in Python / Go / Ruby | REST API | |
| Interact at the contract level | Contract Reference section |
Protocol Overview
ZORA Coins are ERC-20 media coins on Base (chain ID 8453). Every coin has a Uniswap V4 pool with locked liquidity, automatic reward distribution, and sniper protection.
Chain support:
- Base mainnet (8453) — Production. All features available.
- Base Sepolia (84532) — Testnet.
ZORA,CREATOR_COIN, andCREATOR_COIN_OR_ZORAcurrencies are NOT available on Sepolia.
Coin types:
| Type | Supply | Creator allocation | Trading fee | Backing | |
|---|---|---|---|---|---|
| Creator Coin | 1B | 50% vests over 5 years | 1% | ZORA or ETH | |
| Content Coin | 1B | 10M immediate | 1% | Creator coin or ZORA | |
| Trend Coin | 1B | None (100% to pool) | 0.01% | Pre-configured |
Fee distribution (creator/content coins, 1% total):
| Recipient | % of total fees | |
|---|---|---|
| Creator | 50% | |
| Platform referral | 20% | |
| LP rewards | 20% | |
| Trade referral | 4% | |
| Protocol | 5% | |
| Doppler | 1% |
All rewards are converted to the backing currency and distributed automatically on every swap.
Sniper tax: 99% fee at launch, decaying linearly to the base fee over 10 seconds.
SDK Setup
Install: npm install @zoralabs/coins-sdk viem
Configure API key (recommended to avoid rate limiting and to get more accurate coin valuations via getProfileBalances):
Get an API key at https://zora.co/settings/developer
Full setup guide: https://docs.zora.co/coins/sdk
Creating Coins
Functions: createCoin() (high-level, sends tx) and createCoinCall() (low-level, returns raw calldata)
Parameters (`CreateCoinArgs`):
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
creator | Address | Yes | Creator wallet address | |
name | string | Yes | Coin name | |
symbol | string | Yes | Trading symbol | |
metadata | { type: "RAW_URI", uri: string } | Yes | Metadata URI (IPFS recommended) | |
currency | ContentCoinCurrency | Yes | See enum below | |
chainId | number | No | Defaults to Base mainnet (8453) | |
startingMarketCap | StartingMarketCap | No | LOW (default) or HIGH | |
platformReferrer | Address | No | Earns 20% of trading fees permanently | |
additionalOwners | Address[] | No | Additional owner addresses | |
payoutRecipientOverride | Address | No | Override payout address | |
skipMetadataValidation | boolean | No | Skip URI validation (not recommended) |
`ContentCoinCurrency` enum values:
Note: CREATOR_COIN, CREATOR_COIN_OR_ZORA, and ZORA are NOT available on Base Sepolia.
`StartingMarketCap` values: LOW (default, most coins) or HIGH (known creators/brands, higher initial price to prevent sniping)
Returns (`createCoin`): { hash, receipt, address, deployment, chain }
Returns (`createCoinCall`): { calls: [{ to, data, value }], predictedCoinAddress }
Metadata builder — upload assets and produce a URI:
Extract deployment from logs (for custom tx flows):
Full docs: https://docs.zora.co/coins/sdk/create-coin Metadata builder: https://docs.zora.co/coins/sdk/metadata-builder
Trading Coins
Functions: tradeCoin() (full flow with permits) and createTradeCall() (direct ETH trades)
Parameters (`TradeParameters`):
| Parameter | Type | Required | Description | |
|---|---|---|---|---|
sell | { type: "eth" } or { type: "erc20", address } | Yes | Token to sell | |
buy | { type: "eth" } or { type: "erc20", address } | Yes | Token to buy | |
amountIn | bigint | Yes | Amount in smallest unit | |
slippage | number | No | 0 to 0.99 (default 0.05 = 5%) | |
sender | Address | Yes | Transaction sender | |
recipient | Address | No | Defaults to sender |
Supported swaps: ETH <-> ERC20, Creator Coin <-> Creator Coin, Content Coin <-> Creator Coin, ERC20 <-> ERC20
The SDK automatically handles permit signatures (EIP-2612 via permit2) to avoid separate approval transactions. Only EOA wallets are supported (smart wallet support coming soon).
Network: Base mainnet only.
Full docs: https://docs.zora.co/coins/sdk/trade-coin
Updating Coins
Functions: updateCoinURI() and setPayoutRecipient() (owner-only)
updateCoinURI({ coin, newURI })— Update metadata URI (IPFS preferred)setPayoutRecipient({ coin, newPayoutRecipient })— Change reward recipient
Non-owners receive an OnlyOwner revert.
Full docs: https://docs.zora.co/coins/sdk/update-coin
Querying Coins
Coin data
| Function | Description | Key params | |
|---|---|---|---|
getCoin({ address, chain? }) | Single coin details | address, chain (default 8453) | |
getCoins({ coinAddresses, chainId? }) | Batch coin details | Array of addresses | |
getCoinComments({ address, chain?, after?, count? }) | Coin comments | Pagination via after cursor | |
getCoinHolders({ address, chainId?, after?, count? }) | Coin holders list | Pagination via after cursor | |
getCoinSwaps({ address, chain?, after?, first? }) | Trade history | Pagination via after cursor |
Profile data
| Function | Description | Key params | |
|---|---|---|---|
getProfile({ address }) | User profile | Wallet address or handle | |
getProfileBalances({ address, after?, count? }) | User's coin balances | Pagination via after cursor | |
getProfileCoins({ identifier, count?, after? }) | Coins created by user | Pagination via after cursor |
Explore
| Function | Description | |
|---|---|---|
getCoinsTopGainers() | Largest 24h market cap increases | |
getCoinsTopVolume24h() | Highest 24h trading volume | |
getCoinsMostValuable() | Highest market cap | |
getCoinsNew() | Most recently created | |
getCoinsLastTraded() | Most recent trading activity | |
getCoinsLastTradedUnique() | Most recent unique trader activity | |
getCreatorCoins() | Coins from new creators | |
getMostValuableCreatorCoins() | Highest-valued creator coins | |
getMostValuableAll() | Most valuable across all coin types |
All explore functions accept optional count and after for cursor-based pagination.
Trend coins
| Function | Description | Key params | |
|---|---|---|---|
getTrend({ ticker }) | Single trend coin by ticker | Case-insensitive | |
getTrends({ name }) | Search trend coins by name | With pagination |
Full docs: https://docs.zora.co/coins/sdk/queries
Common Patterns
Create a coin with metadata upload
Look up a coin, then buy it
Paginate through results
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingdocs/public/skill.md
Popularity
- Repository stars
- 212
- Repository forks
- 186
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ourzora/zora-protocol/public)