@gala-chain/launchpad-mcp-server 4.0.15-beta.7 → 4.0.15-beta.9
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/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/tools/index.d.ts +2 -2
- package/dist/tools/index.js +3 -3
- package/dist/tools/utils/createSolanaWallet.d.ts +5 -0
- package/dist/tools/utils/createSolanaWallet.d.ts.map +1 -0
- package/dist/tools/utils/createSolanaWallet.js +21 -0
- package/dist/tools/utils/createSolanaWallet.js.map +1 -0
- package/dist/tools/utils/index.d.ts.map +1 -1
- package/dist/tools/utils/index.js +2 -0
- package/dist/tools/utils/index.js.map +1 -1
- package/package.json +2 -2
package/dist/tools/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* @see src/utils/tool-registry.ts
|
|
8
8
|
*/
|
|
9
9
|
/**
|
|
10
|
-
* Enhanced tool registry with validation (
|
|
10
|
+
* Enhanced tool registry with validation (113 tools total):
|
|
11
11
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
12
12
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
13
13
|
* - DEX/GalaSwap: 28 tools (swap/quote, liquidity, pool discovery, leaderboard, volume, token discovery)
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* - Creation: 5 tools (token creation, launch, calculateInitialBuy)
|
|
16
16
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
17
17
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
18
|
-
* - Utilities:
|
|
18
|
+
* - Utilities: 19 tools (config, version, environment, wallet, Solana wallet, cache, cleanup, key derivation)
|
|
19
19
|
* - Bridge: 18 tools (cross-chain bridging + bridgeable token queries)
|
|
20
20
|
*/
|
|
21
21
|
export declare const registry: import("../utils/tool-registry.js").ToolRegistry;
|
package/dist/tools/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const toolCategories = [
|
|
|
70
70
|
},
|
|
71
71
|
];
|
|
72
72
|
/**
|
|
73
|
-
* Enhanced tool registry with validation (
|
|
73
|
+
* Enhanced tool registry with validation (113 tools total):
|
|
74
74
|
* - Pools: 19 tools (pool operations + 2 watchers: onDexPoolCreation, onLaunchpadTokenCreation)
|
|
75
75
|
* - Trading: 13 tools (buy, sell, calculate amounts, graduation)
|
|
76
76
|
* - DEX/GalaSwap: 28 tools (swap/quote, liquidity, pool discovery, leaderboard, volume, token discovery)
|
|
@@ -78,10 +78,10 @@ const toolCategories = [
|
|
|
78
78
|
* - Creation: 5 tools (token creation, launch, calculateInitialBuy)
|
|
79
79
|
* - Transfers: 2 tools (GALA and token transfers)
|
|
80
80
|
* - Locks: 2 tools (token lock/unlock for staking, escrow)
|
|
81
|
-
* - Utilities:
|
|
81
|
+
* - Utilities: 19 tools (config, version, environment, wallet, Solana wallet, cache, cleanup, key derivation)
|
|
82
82
|
* - Bridge: 18 tools (cross-chain bridging + bridgeable token queries)
|
|
83
83
|
*/
|
|
84
|
-
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories,
|
|
84
|
+
exports.registry = (0, tool_registry_js_1.createToolRegistry)(toolCategories, 113);
|
|
85
85
|
/**
|
|
86
86
|
* Complete tool array (for backward compatibility)
|
|
87
87
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSolanaWallet.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/createSolanaWallet.ts"],"names":[],"mappings":"AAAA;;GAEG;AAKH,eAAO,MAAM,sBAAsB,sCAYjC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Create Solana Wallet Tool
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.createSolanaWalletTool = void 0;
|
|
7
|
+
const launchpad_sdk_1 = require("@gala-chain/launchpad-sdk");
|
|
8
|
+
const tool_factory_js_1 = require("../../utils/tool-factory.js");
|
|
9
|
+
exports.createSolanaWalletTool = (0, tool_factory_js_1.createNoParamTool)({
|
|
10
|
+
name: 'gala_launchpad_create_solana_wallet',
|
|
11
|
+
description: 'Create a new Solana wallet with a random keypair. Returns wallet address and private key (base58 format).',
|
|
12
|
+
handler: () => {
|
|
13
|
+
const wallet = (0, launchpad_sdk_1.createSolanaWallet)();
|
|
14
|
+
return {
|
|
15
|
+
address: wallet.address,
|
|
16
|
+
publicKey: wallet.publicKey,
|
|
17
|
+
privateKey: wallet.privateKey,
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=createSolanaWallet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createSolanaWallet.js","sourceRoot":"","sources":["../../../src/tools/utils/createSolanaWallet.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,6DAA+D;AAC/D,iEAAgE;AAEnD,QAAA,sBAAsB,GAAG,IAAA,mCAAiB,EAAC;IACtD,IAAI,EAAE,qCAAqC;IAC3C,WAAW,EACT,2GAA2G;IAC7G,OAAO,EAAE,GAAG,EAAE;QACZ,MAAM,MAAM,GAAG,IAAA,kCAAkB,GAAE,CAAC;QACpC,OAAO;YACL,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,UAAU,EAAE,MAAM,CAAC,UAAU;SAC9B,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAsBH,eAAO,MAAM,YAAY,wCAoBxB,CAAC"}
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.utilityTools = void 0;
|
|
7
7
|
const createWallet_js_1 = require("./createWallet.js");
|
|
8
|
+
const createSolanaWallet_js_1 = require("./createSolanaWallet.js");
|
|
8
9
|
const getAddress_js_1 = require("./getAddress.js");
|
|
9
10
|
const getEthereumAddress_js_1 = require("./getEthereumAddress.js");
|
|
10
11
|
const getPublicKeyFromPrivateKey_js_1 = require("./getPublicKeyFromPrivateKey.js");
|
|
@@ -24,6 +25,7 @@ const switchEnvironment_js_1 = require("./switchEnvironment.js");
|
|
|
24
25
|
const cleanup_js_1 = require("./cleanup.js");
|
|
25
26
|
exports.utilityTools = [
|
|
26
27
|
createWallet_js_1.createWalletTool,
|
|
28
|
+
createSolanaWallet_js_1.createSolanaWalletTool,
|
|
27
29
|
getAddress_js_1.getAddressTool,
|
|
28
30
|
getEthereumAddress_js_1.getEthereumAddressTool,
|
|
29
31
|
getPublicKeyFromPrivateKey_js_1.getPublicKeyFromPrivateKeyTool,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uDAAqD;AACrD,mDAAiD;AACjD,mEAAiE;AACjE,mFAAiF;AACjF,+FAA6F;AAC7F,iDAA+C;AAC/C,iEAA+D;AAC/D,6DAA2D;AAC3D,+DAA6D;AAC7D,uDAAqD;AACrD,mDAAiD;AACjD,mDAAiD;AACjD,iDAA+C;AAC/C,iDAA+C;AAC/C,iDAA+C;AAC/C,2DAAyD;AACzD,iEAA+D;AAC/D,6CAA2C;AAE9B,QAAA,YAAY,GAAG;IAC1B,kCAAgB;IAChB,8BAAc;IACd,8CAAsB;IACtB,8DAA8B;IAC9B,0EAAoC;IACpC,4BAAa;IACb,4CAAqB;IACrB,wCAAmB;IACnB,0CAAoB;IACpB,kCAAgB;IAChB,8BAAc;IACd,8BAAc;IACd,4BAAa;IACb,4BAAa;IACb,4BAAa;IACb,sCAAkB;IAClB,4CAAqB;IACrB,wBAAW;CACZ,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tools/utils/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,uDAAqD;AACrD,mEAAiE;AACjE,mDAAiD;AACjD,mEAAiE;AACjE,mFAAiF;AACjF,+FAA6F;AAC7F,iDAA+C;AAC/C,iEAA+D;AAC/D,6DAA2D;AAC3D,+DAA6D;AAC7D,uDAAqD;AACrD,mDAAiD;AACjD,mDAAiD;AACjD,iDAA+C;AAC/C,iDAA+C;AAC/C,iDAA+C;AAC/C,2DAAyD;AACzD,iEAA+D;AAC/D,6CAA2C;AAE9B,QAAA,YAAY,GAAG;IAC1B,kCAAgB;IAChB,8CAAsB;IACtB,8BAAc;IACd,8CAAsB;IACtB,8DAA8B;IAC9B,0EAAoC;IACpC,4BAAa;IACb,4CAAqB;IACrB,wCAAmB;IACnB,0CAAoB;IACpB,kCAAgB;IAChB,8BAAc;IACd,8BAAc;IACd,4BAAa;IACb,4BAAa;IACb,4BAAa;IACb,sCAAkB;IAClB,4CAAqB;IACrB,wBAAW;CACZ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gala-chain/launchpad-mcp-server",
|
|
3
|
-
"version": "4.0.15-beta.
|
|
3
|
+
"version": "4.0.15-beta.9",
|
|
4
4
|
"description": "MCP server for Gala Launchpad - 105 tools (pool management, event watchers, GSwap DEX trading, price history, token creation, wallet management, DEX pool discovery, liquidity positions, token locks, locked token queries, composite pool data, cross-chain bridging, key derivation) supporting optional wallet (read-only and full-access modes). Production-grade AI agent integration for Claude Desktop with comprehensive validation and 80%+ test coverage",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"@gala-chain/api": "^2.4.3",
|
|
75
75
|
"@gala-chain/connect": "^2.4.3",
|
|
76
|
-
"@gala-chain/launchpad-sdk": "4.0.15-beta.
|
|
76
|
+
"@gala-chain/launchpad-sdk": "4.0.15-beta.8",
|
|
77
77
|
"@humanwhocodes/config-array": "^0.13.0",
|
|
78
78
|
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
79
79
|
"axios": "^1.12.2",
|