You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/friendly-cups-clean.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,9 @@
2
2
"@zoralabs/coins-sdk": minor
3
3
---
4
4
5
-
Create coin flow now uses server-generated calldata via the SDK API. This enables smart account compatibility and future extensibility while simplifying client-side logic.
5
+
Creator coins can only be created via the Zora app. This SDK allows you to create content coins paired with existing creator coins.
6
+
7
+
Create content flow uses server-generated calldata via the SDK API.
6
8
7
9
-**Server-generated calldata**: `createCoinCall` now requests calldata from the SDK API and returns an array of transaction parameters `{ to, data, value }[]` instead of a Viem `SimulateContractParameters` object.
8
10
-**Direct transaction sending**: `createCoin` constructs and sends the transaction using `walletClient.sendTransaction` with manual gas estimation and an option to skip validation.
@@ -12,11 +14,11 @@ Create coin flow now uses server-generated calldata via the SDK API. This enable
12
14
API changes (breaking changes):
13
15
-**Args shape updated**
14
16
- Removed: `initialPurchase`, and `currency: DeployCurrency`.
15
-
- Renamed: `owners` to `additionalOwners` - adds additional owners to the coin, `payoutRecipient` to `overridePayoutReceipient` overrides the creator as the payout recipient.
- New enums: `CONTENT_COIN_CURRENCIES`(`CREATOR_COIN`, `ETH`, `ZORA`) and `StartingMarketCap` (`LOW`, `HIGH`).
17
+
- Renamed: `owners` to `additionalOwners` - adds additional owners to the coin, `payoutRecipient` to `payoutRecipientOverride` overrides the creator as the payout recipient.
- New types/constants: `ContentCoinCurrency` with runtime constants `CreateConstants.ContentCoinCurrencies`(`CREATOR_COIN`, `ETH`, `ZORA`, `CREATOR_COIN_OR_ZORA`) and `StartingMarketCap` with runtime constants `CreateConstants.StartingMarketCaps` (`LOW`, `HIGH`).
18
20
-**Removed local pool/hook logic**: Internal pool config selection and prepurchase hook generation are removed and handled by the API.
19
-
-**Options updated**: `createCoin(..., options)` adds `skipValidateTransaction?: boolean` (skips a dry-run call and uses a fixed gas fallback) and continues to accept `account`.
21
+
-**Options updated**: `createCoin({ ..., options })` adds `skipValidateTransaction?: boolean` (skips a dry-run call and uses a fixed gas fallback) and continues to accept `account`.
0 commit comments