Skip to main content
Deploys new CampaignInfo contracts. Each campaign gets its own on-chain CampaignInfo instance with its own address, NFT collection, and configuration.

Methods

Reads

Writes

CreateCampaignParams

The createCampaign method accepts a params object:

CampaignData

Usage examples

Create a campaign

Discover the deployed CampaignInfo address

After createCampaign, the factory emits a CampaignCreated event that carries the new CampaignInfo address. Two approaches are available — prefer the receipt-based one. Approach 1 — Decode the CampaignCreated event from the receipt (recommended). Deterministic and works immediately regardless of RPC indexing lag.
Approach 2 — Lookup via identifierToCampaignInfo (convenience). Handy when you only have the identifier and did not keep the receipt. On some RPC providers the mapping may briefly return the zero address right after the transaction, so prefer Approach 1 when the receipt is available.

Verify a campaign address

Simulate before creating