Overview
The OKX Connect protocol enables seamless integration between decentralized applications (DApps) and OKX mobile wallets, including:
- OKX Mobile App Wallet (for standard browser/DApp interactions)
- Telegram Mini Wallet (*via Telegram's built-in mini-program functionality)
This guide applies to DApps operating within Telegram or mobile browsers.
Integration Methods
Option 1: SDK Integration (Recommended for Developers)
- Add a "Connect OKX Wallet" button to your DApp interface
Implement the SDK to enable:
- Mobile app wallet triggering
- Address retrieval
- Transaction signing
- Secure wallet interactions
Option 2: Prebuilt UI Components (For Rapid Deployment)
- Automatically detects Telegram environment
Presents users with dual options:
- Continue in Telegram with Mini Wallet
- Switch to Mobile App Wallet
Preparation Checklist
Before proceeding, ensure you have:
โ
For Mobile App Wallet:
๐ Download OKX Wallet App
โ
For Telegram Mini Wallet:
๐ Access OKX Wallet Bot (@OKX_WALLET_BOT)
Network-Specific Guides
Select your deployment network from the options below:
| Blockchain | Documentation Link |
|---|---|
| EVM Chains | Integration Guide |
| Bitcoin | Integration Guide |
| Solana | Integration Guide |
| TON | Integration Guide |
| Cosmos/Sei | Integration Guide |
๐ View all supported networks
Frequently Asked Questions (FAQ)
Q: Can I use both integration methods simultaneously?
A: Yes, the SDK allows flexible implementation of both approaches based on your DApp's requirements.
Q: Is there a testnet environment available?
A: All supported networks provide testnet compatibility. Refer to specific chain documentation for details.
Q: How do I handle wallet connection errors?
A: Common solutions include:
- Verifying wallet version compatibility
- Checking network configurations
- Ensuring proper callback URL setups
Q: What are the security considerations?
A: Always:
- Validate wallet responses server-side
- Implement session timeouts
- Use official SDKs from trusted sources
Next Steps
- Choose your preferred integration method
- Implement using the appropriate SDK/UI components
- Test thoroughly across target environments
- Deploy to production
๐ Get developer support for implementation assistance.