1.1.1 • Published 7 months ago

degenhive_pool_sdk v1.1.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 months ago

DegenHive SDK

The official SDK for DegenHive - a gamified meta-DEX and liquid staking platform on the Sui Network. This SDK provides developers with a comprehensive suite of tools to interact with DegenHive's smart contracts, making it easy to integrate DegenHive's features into your applications.

Features

  • 🔄 Meta-DEX Operations : Create pools, simulate and execute swaps, FlashLoans etc
  • 🏊‍♂️ Liquidity Pool Management : Add/Remove Liquidity, Stake dragon-bee NFTs to direct emissions and earn rewards
  • 🔒 Liquid Staking Functions : Stake / unstake SUI
  • 🎮 Dragon-Trainer Functions: Trade, breed and battle with dragon-bee NFTs and earn rewards

Installation

npm install degenhive_pool_sdk

Add to your package.json:

{
  "type": "module"
}

Quick Start

import { DegenHiveSDK, Network } from "degenhive_pool_sdk";
import { SuiClient } from "@mysten/sui.js/client";

// Initialize SDK
const sdk = new DegenHiveSDK({
  network: Network.MAINNET, // or Network.TESTNET
  client: new SuiClient({ url: "https://fullnode.mainnet.sui.io:443" })
});

Documentation

For detailed documentation, visit our Developer Docs.

Core Features

  1. Meta-DEX Operations

    • Swap tokens
    • Manage liquidity
    • Query pool statistics
  2. Liquid Staking

    • Stake SUI
    • Claim rewards
    • Manage validator delegations
  3. Gamification

    • Query player stats
    • Manage in-game assets
    • Participate in competitions

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Support

License

This project is licensed under the Apache License - see the LICENSE file for details.

1.1.1

7 months ago

1.2.0

7 months ago

1.1.0

7 months ago

1.0.5

7 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago