Skip to main content
You will configure a QRC-20 token, deploy it through approval-gated post-quantum signing, mint an initial supply, and verify the result.

Prerequisites

  • A Qustody tenant and an API key with tokens:create, tokens:deploy, and tokens:mint permissions.
  • A vault account with native currency for gas (vault_123 in the examples).
  • An approval policy attached to the vault that requires at least one approver for token operations.
  • A registered wallet whose post-quantum public key is held by the configured external signer.

Step 1 — Configure the token

Response carries id: "token_abc123" and status: "DRAFT".

Step 2 — Estimate the deployment

Confirm the gas estimate and that checks.deployerHasFunds is true.

Step 3 — Request deployment

Response: status: "PENDING_AUTHORIZATION".

Step 4 — Approve

An approver user must call:
The deployment continues through PENDING_SIGNATURE → SIGNED → BROADCASTING → CONFIRMING → COMPLETED.

Step 5 — Track deployment

Subscribe to token.deployed (or poll GET /v1/tokens/token_abc123/deployment). Once COMPLETED, you receive the on-chain contractAddress.

Step 6 — Mint initial supply

Approve, then wait for token.minted.

Step 7 — Verify balance

You should see 1000000000000000000000 (1000 × 10^18 = 1000 EIT).

Common errors