Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
privacy-boost send \ --token 0x4200000000000000000000000000000000000006 \ --amount 0.1 \ --recipient 0x04...194-char-privacy-address \ --human
Building proof... (this may take a moment) Proof generated successfully Transfer submitted! Transaction: 0x9abc...def0 Amount: 0.1 ETH Recipient: 0x04ab...ef01 (privacy address)
--token
--amount
--recipient
--human
let result = sdk.send( "0x4200000000000000000000000000000000000006", "100000000000000000", // 0.1 tokens in wei "0x04...recipient-privacy-address", )?; println!("Transfer TX: {}", result.tx_hash); println!("Fee: {}", result.fee);
pub struct TransferResult { pub tx_hash: String, pub fee: String, }
if !sdk.is_valid_privacy_address(recipient) { println!("Invalid privacy address"); return; } let result = sdk.send(token_address, amount, recipient)?;
let identity = sdk.resolve_identity("0x...wallet-address")?; println!("Privacy address: {}", identity.privacy_address); sdk.send(token_address, amount, &identity.privacy_address)?;
match sdk.send(token_address, amount, recipient_privacy_address) { Ok(result) => println!("Transfer TX: {}", result.tx_hash), Err(CliError::InsufficientBalance) => println!("Not enough shielded balance"), Err(CliError::InvalidAddress) => println!("Invalid privacy address"), Err(CliError::NotAuthenticated) => println!("Please login first"), Err(CliError::NetworkError { message }) => println!("Network error: {}", message), Err(e) => println!("Transfer failed: {:?}", e), }
privacy-boost send --token $TOKEN --amount 0.1 --recipient $PRIVACY_ADDR --human privacy-boost balance --token $TOKEN