degenhive_pool_sdk
v1.1.1
Published
SDK to interact with DegenHive's move modules.
Downloads
38
Maintainers
Readme
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
Meta-DEX Operations
- Swap tokens
- Manage liquidity
- Query pool statistics
Liquid Staking
- Stake SUI
- Claim rewards
- Manage validator delegations
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.