Skip to content

Environments and prerequisites

CHYPE overview

Choose the CHYPE operation you need to perform before configuring an environment. Balance queries, transfers, minting, redemption, batch distribution, and UTXO management do not all share the same prerequisites.

EnvironmentUse it forBefore proceeding
DevelopmentLocal development and early workflow testingConfirm the current participant, registry, BitSafe API, credential, and test-asset setup.
TestnetIntegration testing against shared infrastructureConfirm endpoint ownership, faucet availability, reset policy, and differences from production.
MainnetProduction workloadsUse only an Engineering-approved compatibility row, production credentials, monitoring, recovery procedures, and security review.

Obtain current endpoints, party identifiers, and package identifiers from the maintained environment reference. Check its owner and last-verified date before use.

Canton Devnet and Testnet both use HyperEVM testnet, with a separate bridge contract for each. Canton Mainnet uses HyperEVM Mainnet.

EnvironmentHyperEVM networkBridge contract
DevnetHyperEVM testnet (chain ID 998)0xfBC38458ffb91D6Fd731151D46345E89ffc42358
TestnetHyperEVM testnet (chain ID 998)0x1E5439257A314d11e6b0779297Ca92887Ed56087
MainnetHyperEVM (chain ID 999)0x2940FcBb3C32901Df405da0E96fd97D1E2a53f34

Each address is an upgradeable proxy, so the address stays the same when the contract code is upgraded. bitsafe-token-lib v0.6.0 uses these addresses, and the ENVIRONMENT value selects one.

All CHYPE development paths require:

  • Access to a supported Canton participant.
  • A Canton party authorized for the intended operation.
  • A supported authentication configuration and a safe method for storing credentials.
  • A compatible Rust toolchain when using the current Rust library.
  • A pinned bitsafe-token-lib release and compatible shared canton-lib crates.
  • Network access to the required Canton and external service endpoints.
  • A test plan that states the expected ledger and application result.
OperationAdditional prerequisites
Check balances or contractsLedger host, authenticated party, and compatible query interface.
Send, receive, accept, reject, or cancelDigital Asset Registry Utility components, receiver party details, required transfer context, and sufficient holdings.
Mint CHYPEBitSafe API access, required Minter credential, compatible CHYPE DAR packages, account rules, and a HyperEVM deposit flow.
Redeem CHYPEBitSafe API access, required Minter credential, compatible CHYPE DAR packages, sufficient holdings, and a valid HyperEVM destination address.
Batch distributionTransfer prerequisites plus recipient input validation, limits, callbacks or result capture, and reconciliation.
UTXO managementCurrent holdings, approved split or consolidation policy, and a clear reason for changing the holding layout.

The examples on this page use:

  • bitsafe-token package version 0.6.0.
  • canton-lib dependencies pinned to v0.13.0.
  • A Canton API client generated from Canton 3.6.1 specifications.

For deployment, use the approved compatibility matrix for the BitSafe token library, shared Canton library, Canton version, DAR packages, API behavior, and target environment.

Configuration falls into four groups:

  1. Canton connection: ledger host and party identity.
  2. Authentication: approved identity-provider host, realm or audience, client identity, and secret-handling method.
  3. CHYPE network: the ENVIRONMENT value (devnet, testnet, or mainnet). It selects the Decentralized Party, the registry, the BitSafe API, and the HyperEVM bridge for the target network.
  4. Mint and redeem: BitSafe API selection and HyperEVM destination details where needed.

Never commit .env files, tokens, passwords, client secrets, party-specific credentials, or production addresses. Use placeholders in public examples and document how readers obtain real values through approved channels.

  • The target environment is approved for the intended test.
  • The Canton participant is reachable.
  • Authentication succeeds for the intended party.
  • The pinned library set builds successfully.
  • Required DAR packages are installed and validated.
  • Registry and BitSafe services required by the operation are reachable.
  • The party has the required credential and holdings.
  • The expected result and rollback or recovery path are documented.
  • Logs and identifiers needed for support can be collected without exposing secrets.

Start with a read-only operation such as a connection or balance check. A successful preflight should confirm:

  • Authentication completed.
  • The intended party was used.
  • The ledger query returned a valid response.
  • The application can parse the response with the pinned library set.

Continue to a state-changing operation only after the read-only check passes.

Verify your setup: CHYPE developer Quick Start.