🛠️Haven1 SDK

Haven1 official developer kit, featuring comprehensive SDKs for Blockchain, React, Wagmi, and API Client integration.

Getting Started with Haven1 SDK

Welcome to Haven1! This guide will help you quickly get started with our SDK.

Features

Easy Integration: Seamlessly integrate with the Haven1 blockchain using our comprehensive SDK.

TypeScript Support: Enjoy full TypeScript support for type safety and better development experience.

Haven1 SDK Packages

This guide will help you quickly get started with each of the Haven1 SDK packages, including Blockchain, React, Wagmi, and API Client.

Blockchain SDK

Installation

npm install @haven1/blockchain-sdk

Usage: If your project is based on ethers, this package provides essential configurations and utilities for interacting with the Haven1 blockchain, including chain configurations, contract addresses, ABI definitions, and utility functions.

Dependencies: ethers, axios

Peer Dependencies: react, react-dom

Wagmi SDK

Installation

npm install @haven1/wagmi-sdk

Usage: If your project is based on wagmi, this package provides hooks and utilities for managing blockchain interactions, including wallet connections and contract calls.

Dependencies: wagmi, ethers

Peer Dependencies: @tanstack/react-query, react, viem, wagmi, @haven1/sdk-api-client, @haven1/react-sdk, @haven1/blockchain-sdk

React SDK

Installation

npm install @haven1/react-sdk

Usage: This package includes Haven1 design system React components and hooks for building user interfaces that interact with the Haven1.

Dependencies: react, react-dom, @haven1/blockchain-sdk

Peer Dependencies: react-router-dom

API Client SDK

Installation

npm install @haven1/sdk-api-client

Usage: This package provides a Open API standard client for interacting with the Haven1 API. It handles authentication and SDK API requests.

Dependencies: axios

Peer Dependencies: react, react-dom

Each package comes with detailed documentation to help you explore more advanced features and configurations.

Ensure you have the necessary peer dependencies installed in your project to avoid any issues during development.

Last updated