@gala-chain/launchpad-sdk 3.4.6 → 3.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +37 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Gala Launchpad SDK
|
|
1
|
+
# Gala Launchpad SDK
|
|
2
2
|
|
|
3
3
|
A comprehensive TypeScript SDK for the Gala Launchpad Backend API, providing type-safe authentication, trading, and real-time features for DeFi applications.
|
|
4
4
|
|
|
@@ -68,15 +68,49 @@ console.log(pools.hasNext); // Computed convenience properties
|
|
|
68
68
|
## 📦 Installation
|
|
69
69
|
|
|
70
70
|
```bash
|
|
71
|
-
npm install @gala-chain/launchpad-sdk
|
|
71
|
+
npm install @gala-chain/launchpad-sdk
|
|
72
72
|
```
|
|
73
73
|
|
|
74
74
|
Or with yarn:
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
|
-
yarn add @gala-chain/launchpad-sdk
|
|
77
|
+
yarn add @gala-chain/launchpad-sdk
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
+
|
|
81
|
+
## 🤖 AI Agent Integration
|
|
82
|
+
|
|
83
|
+
### For Claude Desktop Users
|
|
84
|
+
|
|
85
|
+
Install the MCP server to enable Claude to interact with Gala Launchpad directly:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
claude mcp add "galachain-launchpad" -- env PRIVATE_KEY=<YOUR_PRIVATE_KEY> ENVIRONMENT=development npx -y @gala-chain/launchpad-mcp-server@latest
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**Environment Variables:**
|
|
92
|
+
- `PRIVATE_KEY` - Your wallet private key (required)
|
|
93
|
+
- `ENVIRONMENT` - Backend environment: `development` | `production` (default: development)
|
|
94
|
+
- `DEBUG` - Enable debug logging: `true` | `false` (default: false)
|
|
95
|
+
- `TIMEOUT` - Request timeout in milliseconds (default: 30000)
|
|
96
|
+
|
|
97
|
+
**Features**: 37 tools for complete Gala Launchpad operations
|
|
98
|
+
|
|
99
|
+
See: [MCP Server Documentation](../../mcp-server/README.md)
|
|
100
|
+
|
|
101
|
+
### For AI Developers
|
|
102
|
+
|
|
103
|
+
Need help with SDK integration, trading bots, or MCP server development?
|
|
104
|
+
|
|
105
|
+
Ask **[@agent-galachain-launchpad-developer](./docs/GALACHAIN-LAUNCHPAD-DEVELOPER.md)** - a specialized AI agent trained on:
|
|
106
|
+
- Complete SDK API (37 methods)
|
|
107
|
+
- Trading patterns and DeFi best practices
|
|
108
|
+
- MCP server architecture
|
|
109
|
+
- Error handling strategies
|
|
110
|
+
- Performance optimization
|
|
111
|
+
|
|
112
|
+
**Full Integration Guide**: [AI Agent Guide](./docs/AI-AGENT-GUIDE.md)
|
|
113
|
+
|
|
80
114
|
## 🏁 Quick Start
|
|
81
115
|
|
|
82
116
|
### Using Helper Functions (Recommended)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-sdk",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7",
|
|
4
4
|
"description": "TypeScript SDK for Gala Launchpad Backend API - Production-ready DeFi token launchpad integration with wallet-based authentication, GalaChain trading, and comprehensive user operations. 100% tested (22/22 endpoints working).",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|