Explore, test, and validate the S4 Ledger Python SDK. Hash, anchor, and verify defense records in your browser.
/api/*
What's real: Every API call in this playground hits the live S4 Ledger REST API. Hashes are computed server-side via SHA-256. Anchor operations create real XRPL transactions on mainnet. The SDK code shown here is identical to what runs when installed via pip install s4-ledger-sdk.
What's demo: The $SLS token fee (0.01 per anchor) is live on mainnet. Each anchor costs 0.01 SLS, paid from the operational wallet to the treasury.
How S4 Ledger saves money here: Building custom integrations between logistics systems and blockchain typically costs $200K–$500K and takes 6–12 months. The S4 SDK provides a 3-line integration that works in minutes — reducing integration costs by 95%+ and enabling small contractors to adopt blockchain verification without dedicated engineering teams.
Production mode: Install via pip, configure with your API key, and integrate directly into existing Python workflows — CI/CD pipelines, ERP plugins, maintenance management systems, or batch processing scripts. The SDK handles all XRPL wallet management, transaction construction, and retry logic automatically.
Requires Python 3.8+ and xrpl-py