@quantabit/live-sdk
v1.0.2
Published
QuantaBit Live SDK - Live streaming room management, chat/gifts, and co-streaming
Maintainers
Readme
@quantabit/live-sdk
QuantaBit Live SDK - Live streaming room management, chat/gifts, and co-streaming
📦 Installation
npm install @quantabit/live-sdk
# or
yarn add @quantabit/live-sdk🚀 Quick Start
Using Hooks
import { useLiveRooms, useLiveRoom, useGifts, useLive } from '@quantabit/live-sdk';
function MyComponent() {
const result = useLiveRooms();
const result = useLiveRoom();
const result = useGifts();
return <div>...</div>;
}🪝 Hooks
| Hook | Description |
| ---- | ----------- |
| useLiveRooms | Live Rooms management |
| useLiveRoom | Live Room management |
| useGifts | Gifts management |
| useLive | Live management |
📖 Type Definitions
import { LiveStatus, LiveType, LiveMessageType, GiftType } from '@quantabit/live-sdk';🌐 Internationalization
import { setLanguage, t } from '@quantabit/live-sdk';
setLanguage("en");📄 License
MIT License
🌐 Brand & Links
- Official Mainnet: QuantaBit Chain
- Developer Platform: Developer Platform
- Open Platform: Open Platform
- Payment Platform: Pay Platform
- Feedback: Feedback
