@hydra-sdk/bridge
v1.3.1
Published
Hydra SDK - Bridge library for integrating with Hydra Layer 2 on Cardano
Maintainers
Readme
@hydra-sdk/bridge
Hydra L2 bridge: Head lifecycle, real-time tx, UTxO mgmt. See docs/master-index.md.
🚀 Quick Start
pnpm add @hydra-sdk/bridgeimport { HydraBridge, HexcoreConnector } from '@hydra-sdk/bridge'
const connector = new HexcoreConnector({ socketIoUrl: 'wss://your-hydra-api.com/hydra' })
const bridge = new HydraBridge({ connector })
bridge.connect()✨ Key Features
- 🔌 Multiple Connections (WebSocket, Socket.IO)
- 🌐 Hydra Head Lifecycle management (Init, Open, Close, Fanout)
- 📡 Real-time Events for network state monitoring
- 💰 UTxO Management with snapshot queries
- 🔄 Commit/Decommit operations for fund management
- 🔐 JWT Authentication support
📚 Documentation
For comprehensive guides, examples, and API reference:
Docs: hydrasdk.com/docs | Technical
🛠️ Build Configuration
The SDK works with modern build tools. For detailed setup instructions, visit our Configuration Guide.
