Quickstart
See our complete wallet implementation on Github for a production-ready example of integrating Intersend apps into a wallet.
1. Install the SDK
2. Set Up Provider
Wrap your application with the UniversalPortabilityProvider:
3. Implement Message Handlers
Your wallet needs to listen for events from Intersend—such as requests to connect, sign a message, or approve a transaction.
Create these two hooks to handle communication between your wallet and embedded dApps:
4. Create dApp Store Container
Intersend can serve as your “dApp store” aggregator. You can display all available apps, letting users pick which to launch. For instance:
5. Render dApp Interface
When the user selects a dApp, you embed it:
Message Protocol
The SDK uses a secure postMessage protocol with these main events:
INTERSEND_CONNECT_REQUEST
: Initial wallet connection requestSIGN_MESSAGE_REQUEST
: Request to sign a messageTRANSACTION_REQUEST
: Request to send a transactionSWITCH_CHAIN_REQUEST
: Request to switch chain*_RESPONSE
: Corresponding response events
All sensitive operations (signing, approvals) are handled by your wallet’s existing security infrastructure, ensuring a safe and consistent user experience.
Contact Us
- Email: hello@intersend.io
- Telegram: @erturkarda