hookah-sdk
v1.0.0
Published
TypeScript SDK for interacting with Hookah's webhook and event monitoring system for Radix DLT.
Maintainers
Readme
Hookah.ing
TypeScript SDK for interacting with Hookah's webhook and event monitoring system for Radix DLT.
📦 Installation
pnpm add hookah-sdk✨ Features
- 🔄 Full TypeScript support
- 🔐 Built-in authentication handling
- 📊 Comprehensive API coverage
- 🚀 Promise-based async operations
- 📝 Extensive documentation
- ⚡ Optimized for performance
- 🔑 Authentication with Radix DLT using ROLA (Radix Off-Ledger Authentication)
- 📦 tRPC client for type-safe API interactions
- 📝 Event monitoring and webhook management
- 🚀 Built with Effect.ts for robust error handling and dependency management
🚀 Quick Start
import { createHookahSdk } from 'hookah-sdk';
const keypair = new PrivateKey.Ed25519(PRIVATE_KEY);
const sdk = createHookahSdk({
publicKey: keypair.publicKey(),
personaLabel: 'ED',
signer: async (message) => keypair.signToSignature(message).hex(),
});
// Authenticate
await sdk.auth();
// Get typed tRPC client for API interactions
const client = await sdk.getTrpcClient();
// Use the client to manage webhooks
await client.webhook.create.mutate({
url: 'https://your-webhook-endpoint.com',
});📖 Documentation
For detailed documentation, visit our documentation site.
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🔗 Links
💬 Support
For support, please:
- 💬 Join our Telegram community
