Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

mint/v1 package

Overview

Package mint is the platform's first minter (design §2.5.3): sale phases, fixed price or Dutch auction, live and merkle allowlists, lifetime wallet caps, and payment settlement. It is replaceable: core binds each collection to the minter that created it, so a future mint/v2 serves new collections without touching sales in progress.

Creator flow (one multi-message transaction from the frontend; safety does not depend on atomicity because nobody can mint a Draft):

Example
1Create -> AddPhase x1..3 -> Launch

Collector flow: Mint, with Price / Phases / Eligible as the read side.

Function

Price

func Price(cid string, h int64) int64
Ask AI Claude ChatGPT

Price is the unit price at height h, or -1 when no phase covers h.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g19dzk54hhsdc3gllpksuj6gu4a3e6fl8cr6rn4w/minhwa2/mint/v1.Price(,)"

Result