Skip to content Search Apps Documentation Source Content Run Reset Eval Playground 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

Quote

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

Quote is what Mint(cid, count, …) pays at height h, as JSON: {count, unitPrice, cost, protocolFee, protocolBps, engineFee, engineBps, engineAuthor, payees:[{address, amount}]}; unitPrice -1 outside phases.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia3/mint/v1.Quote(,,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g1jz6j9hj6rdf5ltl2kcrpa4jwtdh3w30z0yul06/sinopia3/mint/v1, for example a function call with arguments.