Dial SDK
The Dial SDK provides Web3-native communication primitives, enabling developers to integrate wallet-to-wallet calling, messaging, video conferencing, and live streaming directly into their applications.
Overview
Built for the decentralized web, the Dial SDK allows users to communicate using their wallet addresses as their identityโno phone numbers or centralized accounts required.
โจ Key Features
- ๐ Wallet-to-Wallet Calls - Audio and video calling using wallet addresses
- ๐ง Voicemail & Call History - Persistent voicemail storage and call logs
- ๐ Missed Call Notifications - Real-time notifications for missed calls
- ๐ฌ Messaging - Direct wallet-to-wallet messaging
- ๐ฅ Video Conferencing - Multi-party video collaboration spaces
- ๐ช Gated Video Rooms - Token-gated access to video rooms
- ๐ก Live Streaming - Broadcast to your Web3 community
๐ Quick Start
import { DialClient } from '@dial/sdk';
import { SiweMessage } from 'siwe';
// Initialize universal client
const dial = new DialClient({
apiKey: process.env.DIAL_API_KEY
});
// Get nonce and create SIWE message
const nonce = await dial.auth.getNonce();
const siweMessage = new SiweMessage({
domain: 'dial.wtf',
address: walletAddress,
statement: 'Sign in to Dial',
uri: 'https://dial.wtf',
version: '1',
chainId: 1,
nonce,
});
// Sign and authenticate
const message = siweMessage.prepareMessage();
const signature = await wallet.signMessage(message);
const userDialer = await dial.asUser({
siwe: { message, signature }
});
// Make a call
const call = await userDialer.calls.start({
to: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb',
type: 'video'
});๐ฆ Installation
npm install @dial/sdk
# or
yarn add @dial/sdk
# or
pnpm add @dial/sdk๐บ๏ธ Platform Support
Current Release
- โ TypeScript/JavaScript - Full support for web and Node.js
Roadmap
- ๐ React Native - Cross-platform mobile (Q2 2025)
- ๐ Swift/iOS - Native iOS SDK (Q3 2025)
- ๐ Kotlin/Android - Native Android SDK (Q3 2025)
- ๐ Flutter - Cross-platform Dart SDK (Q4 2025)
๐ Documentation
- Installation & Setup
- Authentication
- Pricing & Access
- Dial Profile
- Calls
- Messaging
- Voicemail
- Video Conferencing
- Gated Rooms
- Live Streaming
- Examples
๐ Resources
Last updated on