For the complete documentation index, see llms.txt
Compact standard library
CompactStandardLibrary ∙ Detailed API reference
This API provides standard types and circuits for use in Compact programs. Key parts of the API are:
- Common data types:
- Coin management data types:
- Common functions:
- Hashing functions:
- Elliptic curve types and functions:
JubjubPointJubjubScalarconstructJubjubPointjubjubPointXjubjubPointYSecp256k1PointSecp256k1BaseSecp256k1Scalarsecp256k1PointXsecp256k1PointYSecp256r1PointSecp256r1BaseSecp256r1Scalarsecp256r1PointXsecp256r1PointYCurve25519PointCurve25519BaseCurve25519Scalarcurve25519PointXcurve25519PointYecAddecNegecMulecMulGeneratorhashToCurve
- Field arithmetic functions:
- Merkle tree functions:
- Coin management functions:
tokenTypenativeTokenownPublicKeycreateZswapInputcreateZswapOutputmintShieldedTokenevolveNoncereceiveShieldedsendShieldedsendImmediateShieldedmergeCoinmergeCoinImmediateshieldedBurnAddressmintUnshieldedTokensendUnshieldedreceiveUnshieldedunshieldedBalanceunshieldedBalanceLtunshieldedBalanceGteunshieldedBalanceGtunshieldedBalanceLte
- Block time functions:
- Cryptographic signature types and functions:
- Ledger fields:
kernel-- see Ledger data types for its operations
- Events that can be emitted with
emit: