Installation

The Hydra SDK is published as individual packages on NPM, allowing you to install only what you need for your project.

System Requirements

Before installing the SDK, ensure your system meets these requirements:

  • Node.js: >= 18.20.0
  • npm: >= 8.0.0 (or pnpm >= 8.0.0, yarn >= 1.22.0)
  • TypeScript: >= 5.0.0 (optional but recommended)

Core Packages

Install Individual Packages

Install only the packages you need:

bash
# Core wallet functionality
npm install @hydra-sdk/core

# Hydra Layer 2 integration  
npm install @hydra-sdk/bridge

# Transaction building utilities
npm install @hydra-sdk/transaction

# Cardano WASM bindings (usually installed automatically)
npm install @hydra-sdk/cardano-wasm

Install Complete Bundle

For most projects, install the core packages together:

bash
# Install all essential packages
npm install @hydra-sdk/core @hydra-sdk/bridge @hydra-sdk/transaction

Next Steps

Now that you have the SDK installed, continue with: