Skip to main content

Install

Configure

The API deployment and Stellar network are separate choices. Every proposal must explicitly use TESTNET or PUBLIC; AutoLayer never infers mainnet from a wallet or API hostname.

Create a Soroban automation

Argument types are address, i128, u128, string, symbol, and bool. Integer values are decimal strings to preserve full Soroban precision in JavaScript.

Activation lifecycle

  1. propose persists the configuration and returns smart-account session material.
  2. The connected wallet invokes create_session with createSessionArgsXdr.
  3. preparePayment returns one unsigned SEP-43 authorization entry.
  4. The wallet signs the auth entry and settlePayment confirms the activation charge.
  5. activate verifies the on-chain policy and schedules the first run.
Never log signed auth entries, wallet challenge XDR, delegate material, or payment signatures.

Lifecycle methods

Use get, fetchAll, pause, resume, and cancel to observe and control persisted automations. Completion is derived when runCount reaches maxUses; cancellation revokes future scheduling but cannot reverse confirmed Stellar transactions.