Zora Coins SDK Skill

Deploy, trade, and query Zora Coins on Base using the @zoralabs/coins-sdk.

211|185|Updated Feb 1, 2023
One-click install
npx skills add https://github.com/ourzora/zora-protocol --skill zora-coins-sdk-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Zora Coins SDK Skill
Source: https://github.com/ourzora/zora-protocol/tree/main/docs/public
Command: npx skills add https://github.com/ourzora/zora-protocol --skill zora-coins-sdk-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly deploy Zora Coins, upload metadata, execute trades, and query coin and profile data without stitching together low-level contract details.

Core Features & Use Cases

  • Create coins with metadata using createCoin() or createCoinCall(), including the metadata builder flow for IPFS URIs.
  • Trade coins efficiently using tradeCoin() (permit-based permits) and createTradeCall() for calldata generation.
  • Query coins and user data with getCoin(), getCoins(), getProfileBalances(), and explore/trend queries for discovery.
  • Update coin configuration via updateCoinURI() and setPayoutRecipient() for owner-managed changes.

Quick Start

Ask for a ready-to-run TypeScript snippet that creates a metadata URI with createMetadataBuilder(), deploys a new Zora Coin with createCoin(), and verifies it by calling getCoin().

Frequently Asked Questions about Zora Coins SDK Skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Zora Coin on Base using the coins-sdk?

To deploy a Zora Coin on Base, use the createCoin() or createCoinCall() functions from the @zoralabs/coins-sdk. You can build the required metadata URI using createMetadataBuilder() before executing the deployment transaction.

How do I trade Zora Coins using permit-based ETH or ERC20 swaps?

You can trade Zora Coins using permit-based ETH or ERC20 swaps by calling tradeCoin() for direct execution or createTradeCall() to generate calldata for transaction signing.

How do I query coin and profile data on the Zora network?

Query coin and profile data on Zora by using getCoin() for individual coin details, getCoins() for multiple coins, and getProfileBalances() for user holdings, alongside explore and trend endpoints for discovery.

Can I update Zora Coin metadata or payout recipients after deployment?

Yes, you can update Zora Coin configuration after deployment by calling updateCoinURI() to change metadata and setPayoutRecipient() to modify the payout recipient address for owner-managed updates.

Do I need API keys and specific chain targeting to use the Zora Coins SDK?

Yes, using the Zora Coins SDK requires setup with API keys and correct chain targeting configured specifically for Base mainnet to ensure transactions execute on the proper network.

What is the best way to create metadata for Zora Coin deployment?

The best way to create metadata for Zora Coin deployment is using the createMetadataBuilder() flow, which generates IPFS URIs required by the createCoin() function to properly associate content with the coin.