AURA
Core

Proposals

Propose public and scalar FHE-encrypted transactions for policy evaluation.

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.

propose_transaction

use aura_sdk::types::ProposeTransactionArgs;

client.propose_transaction(&ai_authority, treasury, ProposeTransactionArgs {
    amount_usd: 250,
    target_chain: 2,
    tx_type: 0,
    protocol_id: None,
    current_timestamp: now,
    expected_output_usd: None,
    actual_output_usd: None,
    quote_age_secs: None,
    counterparty_risk_score: Some(15),
    recipient_or_contract: "0xdeadbeef...".to_string(),
    sanctions_proof: vec![],
})?;

propose_confidential_transaction

Propose a confidential transaction using scalar FHE ciphertexts.

client.propose_confidential_transaction(
    &ai_authority,
    accounts,
    args,
    &[&policy_output_signer],
)?;

Public vs Confidential

PublicConfidential
Amount visible on-chainYesNo, amount is an Encrypt ciphertext
Policy evaluationImmediate on-chain rulesScalar FHE graph through Ika Encrypt
Extra accounts neededNoCiphertext, Encrypt config, deposit, and CPI authority accounts

On this page