Skip to main content
AutoLayer validates configuration before opening its listener. Start from apps/api/.env.example; do not copy development values into production.

Core service

Cryptography and signing

The paymaster and relayer must be distinct funded accounts. Production deployments should load them through workload identity and KMS/HSM-backed secret delivery instead of checked-in files.

Networks and pricing

STELLAR_MAINNET_RPC_URL selects pubnet RPC. Testnet and pubnet remain explicit in every request. X402_MAX_TRANSACTION_FEE_STROOPS is a hard settlement ceiling; per-automation prices and quote TTL are separately configurable.

Scheduler and gateway

Agenda polling, concurrency, and lock lifetime must be tuned together. A job lock must exceed the expected simulation/submission/confirmation path. xWrapper request size, response size, timeout, rate, monthly quota, and redirect policy are enforced server-side.
Keep XWRAPPER_API_KEYS for administrative or self-hosted operator access. Browser users authenticate through wallet sessions and personal API keys.