# @haven1/blockchain-sdk

### Key Features

* **Chain Configurations**: Access predefined settings for the Haven1 blockchain, including chain ID, network URLs, and other parameters.
* **ABI Definitions**: Includes ABI files for key Haven1 smart contracts, allowing seamless interaction with the blockchain.
* **Contract Addresses**: Provides a centralized source of Haven1 contract addresses to eliminate hardcoding.
* **Utility Functions**: Built-in utilities to simplify common blockchain tasks such as initializing providers or interacting with contracts.

### Dependencies

This package requires **ethers.js** as a peer dependency to handle low-level blockchain interactions.

## Installation

Install the `@haven1/blockchain-sdk` package using your preferred package manager.

{% tabs %}
{% tab title="npm" %}

```sh
npm install @haven1/blockchain-sdk
```

{% endtab %}

{% tab title="yarn" %}

```sh
yarn add @haven1/blockchain-sdk
```

{% endtab %}

{% tab title="pnpm" %}

```sh
pnpm add @haven1/blockchain-sdk
```

{% endtab %}
{% endtabs %}

### Summary

The `@haven1/blockchain-sdk` is a comprehensive toolkit designed to facilitate seamless integration with the Haven1 blockchain. It offers a range of features including chain configurations, ABI definitions, and utility functions, all aimed at simplifying blockchain interactions. By centralizing contract addresses and providing pre-configured settings, this SDK reduces the complexity of blockchain development and ensures efficient and reliable integration.

### Namespaces

* DevnetContract
* TestnetContract
