IOS
CROSSx iOS SDK
Native Swift SDK for OAuth authentication, embedded wallet management, and EVM RPC access.
What you can do
- Authenticate users with OAuth (Google / Apple) or JWT token injection
- One-step login + wallet creation (
signInWithCreate) - Restore/refresh session state (
initialize,ensureLoggedIn,refreshToken) - Get wallet addresses, create wallet, and select HD wallet
- Verify wallet status (
checkWallet) and PIN (verifyPassword) - Sign message / typed data / transaction via SDK confirmation UI
- Send transaction and wait for receipt
- Use RPC helpers (
walletRpc,getBalance,getTokenBalance,getNonce) - Protect PIN with biometric authentication (Face ID / Touch ID)
- Customize theme (Light / Dark / System, semantic color tokens)
Quick start path
- Getting Started
Install SDK, configure callback scheme, createCROSSxSDK. - Authentication
Implement callback handling, login methods, and session lifecycle. - Wallet
Integrate sign/send, receipt polling, and chain management. - API Reference
Check full signatures and object details.
Minimum integration example
let config = SDKConfig(
projectId: "your-project-id",
appName: "My App"
)
let sdk = try CROSSxSDK(config: config)Notes
- Chain routing is explicit for wallet/RPC flows (
chainIdrequired where applicable, useeip155:<number>such aseip155:612044). walletRpcis call/read oriented (for exampleeth_call), not transaction sign/send.CROSSxPrivateSDKprovides sensitive operations (mnemonic, private key, withdraw, Share-C recovery) and requires a separate HMAC key.
Updated 11 days ago