API & SDK Overview
Crosterix offers a modular JavaScript/TypeScript SDK that runs directly in the browser. It connects with public APIs like 1inch, 0x, Lit Protocol, Lighthouse, Supabase, Socket, and Li.Fi but executes all logic client-side for privacy.
Key SDK Modules
Module
Description
External API Used
privateSwap()
Swap tokens privately with stealth address routing
1inch / 0x API
generateStealthAddress()
Create one-time stealth addresses using ECDH
Built-in
encryptFile() / decryptFile()
Encrypt and decrypt files via wallet keys
Lit Protocol
uploadToIPFS()
Upload encrypted files to Lighthouse
Lighthouse API
createFileLink()
Store link metadata with expiry timer
Supabase
bridgeAssets()
Move assets across chains with stealth endpoints
Socket / Li.Fi
Last updated
