Core
Confidential
Configure scalar FHE-encrypted spending guardrails via the Ika Encrypt network.
Pre-alpha — not production ready
aura-sdk targets Solana devnet only. APIs may change without notice. Do not use for real funds until a stable release and audit are published.
Confidential guardrails store the daily limit, per-transaction limit, and spent-today counter as separate scalar ciphertext accounts. The scalar graph updates encrypted state in-place and decrypts only the small violation code.
configure_confidential_guardrails
client.configure_confidential_guardrails(
&owner,
treasury,
daily_limit_ciphertext,
per_tx_limit_ciphertext,
spent_today_ciphertext,
now,
)?;Confidential Policy Shape
| Field | Role |
|---|---|
daily_limit_ciphertext | Encrypted daily limit |
per_tx_limit_ciphertext | Encrypted transaction limit |
spent_today_ciphertext | Encrypted running spend counter |
policy_output_ciphertext | Encrypted scalar violation code |