mint_token
Mint a custom-named shielded token on a token-factory deployment, with your seed as issuer and a sponsor paying. Returns the token identity and waits for settlement.
Instructions
Mint a shielded token with a name of your own on a token-factory deployment. This process is the issuer: its issuer secret derives from the caller seed, the mint is built, proven and signed here, and a sponsor pays; the seed never leaves this process. The factory has to be on the sponsor's contract list and mint on its circuit list. The same name from another issuer is another token. The answer names the token ({ tokenType, domain, issuerKey }); a landed mint makes the type known to the sponsor (swaps, offer board). The recipient defaults to this wallet (get_attester_identity); another wallet takes both of its keys. The tool waits until the job settled (about 1 minute) and returns { status, txHash, transactionHash, result }. failed: next says what to do. If the call was cut off or came back pending, run it again with the same arguments: it picks up the job it started and submits nothing new (the answer says deduplicated). A second, separate call with the same arguments needs a new idempotencyKey.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Token name, at most 32 UTF-8 bytes; with the issuer it names the token type | |
| amount | Yes | Atoms to mint; a decimal string is exact | |
| idempotencyKey | No | Dedupes retries | |
| contractAddress | Yes | A token-factory deployment | |
| recipientCoinPublicKey | No | Zswap coin public key of the receiving wallet (64 hex); default this wallet's own | |
| recipientEncryptionPublicKey | No | The receiving wallet's encryption public key (64 hex); required with a recipient other than this wallet |