Skip to content

Repository files navigation

Midnight test tokens

LIVE https://mint-test-tokens.pages.dev

Native test-token issuers and a canonical, static registry for Preview, Preprod, Stagenet, and local Midnight stacks.

The registry contract and deployment commands are documented in docs/registry.md. Public files live at metadata/metadata.{network}.json. A local deployment creates metadata/metadata.undeployed.json atomically; that file is deliberately ignored by Git and is the local integration source of truth. Set MN_METADATA_OUTPUT_DIR to publish the same fixed filename directly into a stack-specific shared directory or volume.

The contracts expose immutable OpenZeppelin-compatible name, symbol, and decimals metadata, a final-address-derived tokenColor, and a positive, caller-selected Uint<64> mint amount. Website faucet presets are registry metadata and are not enforced by the contracts.

npm install
npm run check

The static minting directory lives in frontend/. It loads the registry at runtime, connects a compatible Midnight wallet, reads the exact shielded and unshielded balances, and submits fixed faucet amounts through isolated Midnight 1.x and 2.x browser adapters.

Release uploads must use the exact-commit Docker export documented in the frontend release procedure. Do not upload frontend/dist from a working checkout: it may contain an older host build even when a disposable Docker gate passed. The publishable directory and its SHA-256/provenance sidecars identify the source commit that was actually tested.

A preview may honestly publish registries whose status is unavailable, with no active deployment identities and disabled mint controls. Describe that URL as an unavailable-token preview. A mint-ready public release requires the tracked registry and on-chain deployment checks to pass first.

Public registry status

The Cloudflare Pages branch preview is codex-00002-mint-test-tokens.mint-test-tokens.pages.dev. Verify its JSON revision against the tracked files after each publication.

Network Protocol Tracked status Registry revision
Preview Midnight 1.x Ready; six verified active deployment identities c15d38f3a00a319c15ff10e39a2d4926763a4438e7fbb3bfc202bd15aa5a7d28
Preprod Midnight 1.x Ready; six verified active deployment identities ebd5eaba58ab2a7789d1e13cac3c1cc793f163e2e6f372f7839029c7f2d9f4bc
Stagenet Midnight 2.x Ready; six verified active deployment identities 59041d2fd2acfdad53e437e5a4d2ba88a6f24e4f9e55869b66f465f3da11a0d1

The site evaluates each selected network independently. Preview, Preprod and Stagenet each publish six verified active deployment identities.

About

Native Midnight test tokens, canonical network metadata, and a static minting site

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages