TypeScript SDK for interacting with Hookah's webhook and event monitoring system for Radix DLT.
npm install hookah-sdkTypeScript SDK for interacting with Hookah's webhook and event monitoring system for Radix DLT.


``bash`
pnpm add hookah-sdk
- 🔄 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
`typescript
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',
});
``
For detailed documentation, visit our documentation site.
This project is licensed under the MIT License - see the LICENSE file for details.
For support, please:
- 💬 Join our Telegram community
---