@zoralabs/coins-sdk
v0.3.3
Published
The `@zoralabs/coins-sdk` package allows developers to interact with the ZORA coins protocol.
Maintainers
Keywords
Readme
Coins SDK
The @zoralabs/coins-sdk package allows developers to interact with the ZORA coins protocol.
This SDK is based off of viem v2 and exposes both functions to get the viem call to use with WAGMI, and also functions that complete the actions using the simulateContract and writeContract calls. Many reasonable defaults are set for fields, so read the action files and types to determine which parameters are needed for your actions.
Devs can input their addresses in platformReferrer and traderReferrer fields to earn trade and create referral fees for their platform.
This SDK has two main categories of functionality: Onchain Actions and Offchain Queries.
All the SDK functions are accessible from the main export (for example: import {createCoin, getCoin} from "@zoralabs/coins-sdk").
All documentation for coins is available on docs.zora.co.
Contact us at x.com/zoradevs warpcast/~/channel/zora-devs.
Docs links
Onchain Actions
Queries
- Onchain queries
- API Queries
- API Key
- Cursor Pagination
- Queries
