@gala-chain/launchpad-mcp-server 5.0.4-beta.1 → 5.0.4-beta.2
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 +5 -5
- package/dist/ai-docs.json +647 -290
- package/dist/constants/mcpToolNames.d.ts +28 -1
- package/dist/constants/mcpToolNames.d.ts.map +1 -1
- package/dist/constants/mcpToolNames.js +24 -2
- package/dist/constants/mcpToolNames.js.map +1 -1
- package/dist/explain-sdk-usage-ai.json +122 -28
- package/dist/generated/version.d.ts +1 -1
- package/dist/generated/version.js +1 -1
- package/dist/prompts/index.d.ts +3 -2
- package/dist/prompts/index.d.ts.map +1 -1
- package/dist/prompts/index.js +6 -1
- package/dist/prompts/index.js.map +1 -1
- package/dist/prompts/nft.d.ts +48 -0
- package/dist/prompts/nft.d.ts.map +1 -0
- package/dist/prompts/nft.js +513 -0
- package/dist/prompts/nft.js.map +1 -0
- package/dist/schemas/common-schemas.d.ts +64 -0
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +68 -1
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/tools/dex/helpers.d.ts +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +10 -3
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/nft/index.d.ts +23 -0
- package/dist/tools/nft/index.d.ts.map +1 -0
- package/dist/tools/nft/index.js +308 -0
- package/dist/tools/nft/index.js.map +1 -0
- package/dist/tools/trading/helpers/arg-extractors.d.ts +2 -2
- package/dist/tools/utils/explainSdkUsage.d.ts +1 -0
- package/dist/tools/utils/explainSdkUsage.d.ts.map +1 -1
- package/dist/tools/utils/explainSdkUsage.js +210 -8
- package/dist/tools/utils/explainSdkUsage.js.map +1 -1
- package/package.json +9 -9
|
@@ -0,0 +1,513 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* NFT Collection Management Prompts
|
|
4
|
+
*
|
|
5
|
+
* Slash commands for creating and managing NFT collections, token classes, and minting NFTs on GalaChain.
|
|
6
|
+
*
|
|
7
|
+
* **Key Concepts:**
|
|
8
|
+
* - **Collection**: A named grouping for NFT token classes (claimed for 10,000 GALA)
|
|
9
|
+
* - **Token Class**: A specific type/rarity within a collection (created for 1,000 GALA)
|
|
10
|
+
* - **NFT Instance**: Individual NFT minted from a token class (dynamic fee based on quantity)
|
|
11
|
+
*
|
|
12
|
+
* @since 5.12.0
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.nftPrompts = exports.estimateNftOperationsPrompt = exports.createNftTokenClassPrompt = exports.manageNftCollectionsPrompt = exports.mintNftPrompt = exports.claimNftCollectionPrompt = void 0;
|
|
16
|
+
const validation_js_1 = require("../utils/validation.js");
|
|
17
|
+
const handlerHelpers_js_1 = require("./utils/handlerHelpers.js");
|
|
18
|
+
/**
|
|
19
|
+
* Claim NFT Collection - Start your NFT collection management journey
|
|
20
|
+
*
|
|
21
|
+
* Guide user through claiming a new NFT collection and optionally creating the first token class.
|
|
22
|
+
*/
|
|
23
|
+
exports.claimNftCollectionPrompt = {
|
|
24
|
+
name: 'galachain-launchpad:claim-nft-collection',
|
|
25
|
+
description: 'Claim a new NFT collection on GalaChain and optionally create your first token class (rarity tier)',
|
|
26
|
+
arguments: [
|
|
27
|
+
{
|
|
28
|
+
name: 'collectionName',
|
|
29
|
+
description: 'Name for the NFT collection - must be 3-20 characters, alphanumeric with optional hyphens (e.g., "MyEpicNFTs")',
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: 'description',
|
|
34
|
+
description: 'Description of the collection - what these NFTs represent (1-500 characters)',
|
|
35
|
+
required: true,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
name: 'firstTokenClassName',
|
|
39
|
+
description: 'Optional: Name for the first token class (rarity tier) - e.g., "Legendary", "Common" (skip to create collection only)',
|
|
40
|
+
required: false,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
name: 'tokenClassDescription',
|
|
44
|
+
description: 'Optional: Description of the first token class - e.g., "Ultra-rare legendary tier NFTs" (required if firstTokenClassName provided)',
|
|
45
|
+
required: false,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: 'maxSupply',
|
|
49
|
+
description: 'Optional: Maximum supply for the first token class (e.g., "100" for 100 max NFTs of this type)',
|
|
50
|
+
required: false,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
handler: (args) => {
|
|
54
|
+
// Validate collection name
|
|
55
|
+
if (!args.collectionName || args.collectionName.length < 3 || args.collectionName.length > 20) {
|
|
56
|
+
throw new Error('Collection name must be 3-20 characters (alphanumeric with optional hyphens)');
|
|
57
|
+
}
|
|
58
|
+
// Validate description
|
|
59
|
+
if (!args.description || args.description.length < 1 || args.description.length > 500) {
|
|
60
|
+
throw new Error('Description must be 1-500 characters');
|
|
61
|
+
}
|
|
62
|
+
// If token class name provided, validate dependent fields
|
|
63
|
+
if (args.firstTokenClassName) {
|
|
64
|
+
if (!args.tokenClassDescription) {
|
|
65
|
+
throw new Error('Token class description is required when creating first token class');
|
|
66
|
+
}
|
|
67
|
+
if (!args.maxSupply) {
|
|
68
|
+
throw new Error('Max supply is required when creating first token class');
|
|
69
|
+
}
|
|
70
|
+
(0, validation_js_1.validateNumericAmount)(args.maxSupply, 'maxSupply');
|
|
71
|
+
}
|
|
72
|
+
const workflow = `
|
|
73
|
+
**NFT Collection Claim Workflow**
|
|
74
|
+
|
|
75
|
+
${args.firstTokenClassName ? '**2-Step Process:**' : '**1-Step Process:**'}
|
|
76
|
+
|
|
77
|
+
**Step 1: Claim Collection (10,000 GALA)**
|
|
78
|
+
\`\`\`typescript
|
|
79
|
+
const claimFee = await sdk.getNftCollectionClaimFee();
|
|
80
|
+
console.log('Claim fee:', claimFee); // "10000" GALA
|
|
81
|
+
|
|
82
|
+
const result = await sdk.claimNftCollection({
|
|
83
|
+
collectionName: '${args.collectionName}',
|
|
84
|
+
description: '${args.description}',
|
|
85
|
+
});
|
|
86
|
+
console.log('✓ Collection claimed:', result.collectionName);
|
|
87
|
+
\`\`\`
|
|
88
|
+
|
|
89
|
+
${args.firstTokenClassName
|
|
90
|
+
? `**Step 2: Create First Token Class (1,000 GALA)**
|
|
91
|
+
\`\`\`typescript
|
|
92
|
+
const classResult = await sdk.createNftTokenClass({
|
|
93
|
+
collectionName: '${args.collectionName}',
|
|
94
|
+
tokenClassName: '${args.firstTokenClassName}',
|
|
95
|
+
description: '${args.tokenClassDescription}',
|
|
96
|
+
maximumSupply: '${args.maxSupply}',
|
|
97
|
+
});
|
|
98
|
+
console.log('✓ Token class created:', classResult.tokenClassName);
|
|
99
|
+
\`\`\`
|
|
100
|
+
|
|
101
|
+
**Verification:**
|
|
102
|
+
\`\`\`typescript
|
|
103
|
+
const collections = await sdk.fetchNftCollections(walletAddress);
|
|
104
|
+
const classes = await sdk.fetchNftTokenClasses({
|
|
105
|
+
collectionName: '${args.collectionName}',
|
|
106
|
+
});
|
|
107
|
+
console.log('Collections:', collections.length);
|
|
108
|
+
console.log('Token classes:', classes.length);
|
|
109
|
+
\`\`\``
|
|
110
|
+
: `**Verification:**
|
|
111
|
+
\`\`\`typescript
|
|
112
|
+
const collections = await sdk.fetchNftCollections(walletAddress);
|
|
113
|
+
const owned = collections.find(c => c.collectionName === '${args.collectionName}');
|
|
114
|
+
console.log('✓ Collection found:', owned?.collectionName);
|
|
115
|
+
\`\`\``}
|
|
116
|
+
|
|
117
|
+
**Next Steps:**
|
|
118
|
+
1. Create additional token classes (rarities) for your collection
|
|
119
|
+
2. Estimate mint fees for your desired quantity
|
|
120
|
+
3. Mint NFTs to distribute to your community
|
|
121
|
+
`;
|
|
122
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(workflow);
|
|
123
|
+
},
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Mint NFTs - Create and distribute NFT instances
|
|
127
|
+
*
|
|
128
|
+
* Guide user through estimating mint fees and minting NFTs from a token class.
|
|
129
|
+
*/
|
|
130
|
+
exports.mintNftPrompt = {
|
|
131
|
+
name: 'galachain-launchpad:mint-nft',
|
|
132
|
+
description: 'Estimate fees and mint NFT instances from a token class to a wallet address',
|
|
133
|
+
arguments: [
|
|
134
|
+
{
|
|
135
|
+
name: 'collectionName',
|
|
136
|
+
description: 'Name of your NFT collection (e.g., "MyEpicNFTs")',
|
|
137
|
+
required: true,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'tokenClassName',
|
|
141
|
+
description: 'Name of the token class (rarity tier) to mint from (e.g., "Legendary")',
|
|
142
|
+
required: true,
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
name: 'quantity',
|
|
146
|
+
description: 'Number of NFTs to mint (e.g., "10" for 10 NFTs)',
|
|
147
|
+
required: true,
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
name: 'recipientAddress',
|
|
151
|
+
description: 'Wallet address to receive the NFTs - can be yours or another address (e.g., "eth|0x...")',
|
|
152
|
+
required: false,
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
handler: (args) => {
|
|
156
|
+
// Validate inputs
|
|
157
|
+
(0, validation_js_1.validateTokenName)(args.collectionName);
|
|
158
|
+
if (!args.tokenClassName || args.tokenClassName.length < 1) {
|
|
159
|
+
throw new Error('Token class name is required');
|
|
160
|
+
}
|
|
161
|
+
(0, validation_js_1.validateNumericAmount)(args.quantity, 'quantity');
|
|
162
|
+
const workflow = `
|
|
163
|
+
**NFT Mint Workflow**
|
|
164
|
+
|
|
165
|
+
**Step 1: Estimate Mint Fee**
|
|
166
|
+
\`\`\`typescript
|
|
167
|
+
const feeEstimate = await sdk.estimateNftMintFee({
|
|
168
|
+
collectionName: '${args.collectionName}',
|
|
169
|
+
tokenClassName: '${args.tokenClassName}',
|
|
170
|
+
quantity: ${args.quantity},
|
|
171
|
+
});
|
|
172
|
+
console.log('Estimated mint fee:', feeEstimate); // Dynamic fee in GALA
|
|
173
|
+
\`\`\`
|
|
174
|
+
|
|
175
|
+
**Step 2: Check Your Balance**
|
|
176
|
+
\`\`\`typescript
|
|
177
|
+
const balance = await sdk.fetchGalaBalance();
|
|
178
|
+
console.log('Your balance:', balance.balance, 'GALA');
|
|
179
|
+
|
|
180
|
+
if (balance.balance < feeEstimate) {
|
|
181
|
+
throw new Error('Insufficient balance for mint fee');
|
|
182
|
+
}
|
|
183
|
+
\`\`\`
|
|
184
|
+
|
|
185
|
+
**Step 3: Mint NFTs**
|
|
186
|
+
\`\`\`typescript
|
|
187
|
+
const mintResult = await sdk.mintNft({
|
|
188
|
+
collectionName: '${args.collectionName}',
|
|
189
|
+
tokenClassName: '${args.tokenClassName}',
|
|
190
|
+
quantity: ${args.quantity},
|
|
191
|
+
to: '${args.recipientAddress || 'eth|0x...'}', // Recipient wallet
|
|
192
|
+
});
|
|
193
|
+
console.log('✓ Minted:', mintResult.quantityMinted);
|
|
194
|
+
console.log('Transaction ID:', mintResult.transactionId);
|
|
195
|
+
\`\`\`
|
|
196
|
+
|
|
197
|
+
**Step 4: Verify Mint**
|
|
198
|
+
\`\`\`typescript
|
|
199
|
+
const balances = await sdk.fetchNftBalances(walletAddress, '${args.collectionName}');
|
|
200
|
+
for (const balance of balances) {
|
|
201
|
+
console.log(\`\${balance.tokenClassName}: \${balance.quantity}\`);
|
|
202
|
+
}
|
|
203
|
+
\`\`\`
|
|
204
|
+
|
|
205
|
+
**Fee Structure:**
|
|
206
|
+
- Dynamic fee based on quantity and current token rarity
|
|
207
|
+
- Higher quantities may have different rates
|
|
208
|
+
- Check estimate before minting for final amount
|
|
209
|
+
|
|
210
|
+
**Next Steps:**
|
|
211
|
+
1. Verify mints completed successfully
|
|
212
|
+
2. Distribute minted NFTs to community members
|
|
213
|
+
3. Create additional token classes if needed
|
|
214
|
+
`;
|
|
215
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(workflow);
|
|
216
|
+
},
|
|
217
|
+
};
|
|
218
|
+
/**
|
|
219
|
+
* Manage NFT Collections - View and analyze your collection
|
|
220
|
+
*
|
|
221
|
+
* Help users discover and manage their owned NFT collections and token classes.
|
|
222
|
+
*/
|
|
223
|
+
exports.manageNftCollectionsPrompt = {
|
|
224
|
+
name: 'galachain-launchpad:manage-nft-collections',
|
|
225
|
+
description: 'View your owned NFT collections, token classes, and check supply information',
|
|
226
|
+
arguments: [
|
|
227
|
+
{
|
|
228
|
+
name: 'collectionName',
|
|
229
|
+
description: 'Optional: Filter to a specific collection (e.g., "MyEpicNFTs") - leave blank to see all collections',
|
|
230
|
+
required: false,
|
|
231
|
+
},
|
|
232
|
+
],
|
|
233
|
+
handler: (args) => {
|
|
234
|
+
const collectionFilter = args.collectionName ? ` '${args.collectionName}'` : '';
|
|
235
|
+
const workflow = `
|
|
236
|
+
**NFT Collection Management**
|
|
237
|
+
|
|
238
|
+
**Step 1: Fetch Your Collections**
|
|
239
|
+
\`\`\`typescript
|
|
240
|
+
const collections = await sdk.fetchNftCollections(walletAddress);
|
|
241
|
+
|
|
242
|
+
for (const collection of collections) {
|
|
243
|
+
console.log(\`Collection: \${collection.collectionName}\`);
|
|
244
|
+
console.log(\` Status: \${collection.status}\`);
|
|
245
|
+
console.log(\` Created: \${collection.createdAt}\`);
|
|
246
|
+
}
|
|
247
|
+
\`\`\`
|
|
248
|
+
|
|
249
|
+
**Step 2: View Token Classes in Collection${collectionFilter}**
|
|
250
|
+
\`\`\`typescript
|
|
251
|
+
const classes = await sdk.fetchNftTokenClasses({
|
|
252
|
+
collectionName: '${args.collectionName || 'MyEpicNFTs'}',
|
|
253
|
+
});
|
|
254
|
+
|
|
255
|
+
for (const tokenClass of classes) {
|
|
256
|
+
console.log(\` Class: \${tokenClass.tokenClassName}\`);
|
|
257
|
+
console.log(\` Current Supply: \${tokenClass.currentSupply}/\${tokenClass.maxSupply}\`);
|
|
258
|
+
console.log(\` Available for Mint: \${BigInt(tokenClass.maxSupply) - BigInt(tokenClass.currentSupply)}\`);
|
|
259
|
+
}
|
|
260
|
+
\`\`\`
|
|
261
|
+
|
|
262
|
+
**Step 3: Check Owned Balances${collectionFilter}**
|
|
263
|
+
\`\`\`typescript
|
|
264
|
+
const balances = await sdk.fetchNftBalances(
|
|
265
|
+
walletAddress,
|
|
266
|
+
'${args.collectionName || undefined}'
|
|
267
|
+
);
|
|
268
|
+
|
|
269
|
+
let total = 0n;
|
|
270
|
+
for (const balance of balances) {
|
|
271
|
+
console.log(\`\${balance.collectionName}/\${balance.tokenClassName}: \${balance.quantity}\`);
|
|
272
|
+
total += BigInt(balance.quantity);
|
|
273
|
+
}
|
|
274
|
+
console.log(\`Total NFTs: \${total}\`);
|
|
275
|
+
\`\`\`
|
|
276
|
+
|
|
277
|
+
**Collection Status Values:**
|
|
278
|
+
- \`ACTIVE\` - Collection is ready for token class creation and minting
|
|
279
|
+
- \`PENDING\` - Collection is being initialized
|
|
280
|
+
- \`ARCHIVED\` - Collection is archived (no new mints)
|
|
281
|
+
|
|
282
|
+
**Use Cases:**
|
|
283
|
+
- Monitor current token class supply levels
|
|
284
|
+
- Track total NFT holdings across your collections
|
|
285
|
+
- Identify token classes nearing max supply
|
|
286
|
+
- Plan additional mints and token class creation
|
|
287
|
+
`;
|
|
288
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(workflow);
|
|
289
|
+
},
|
|
290
|
+
};
|
|
291
|
+
/**
|
|
292
|
+
* Create NFT Token Class - Add a new rarity tier
|
|
293
|
+
*
|
|
294
|
+
* Help users create new token classes (rarity tiers) within their collection.
|
|
295
|
+
*/
|
|
296
|
+
exports.createNftTokenClassPrompt = {
|
|
297
|
+
name: 'galachain-launchpad:create-nft-token-class',
|
|
298
|
+
description: 'Create a new token class (rarity tier) within an existing NFT collection',
|
|
299
|
+
arguments: [
|
|
300
|
+
{
|
|
301
|
+
name: 'collectionName',
|
|
302
|
+
description: 'Name of your existing NFT collection (e.g., "MyEpicNFTs")',
|
|
303
|
+
required: true,
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'tokenClassName',
|
|
307
|
+
description: 'Name for the new token class/rarity - e.g., "Rare", "Epic", "Legendary" (1-50 characters)',
|
|
308
|
+
required: true,
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
name: 'description',
|
|
312
|
+
description: 'Description of this token class - what makes it special (1-500 characters)',
|
|
313
|
+
required: true,
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'maxSupply',
|
|
317
|
+
description: 'Maximum number of NFTs this token class can have (e.g., "1000")',
|
|
318
|
+
required: true,
|
|
319
|
+
},
|
|
320
|
+
],
|
|
321
|
+
handler: (args) => {
|
|
322
|
+
// Validate inputs
|
|
323
|
+
(0, validation_js_1.validateTokenName)(args.collectionName);
|
|
324
|
+
if (!args.tokenClassName || args.tokenClassName.length < 1 || args.tokenClassName.length > 50) {
|
|
325
|
+
throw new Error('Token class name must be 1-50 characters');
|
|
326
|
+
}
|
|
327
|
+
if (!args.description || args.description.length < 1 || args.description.length > 500) {
|
|
328
|
+
throw new Error('Description must be 1-500 characters');
|
|
329
|
+
}
|
|
330
|
+
(0, validation_js_1.validateNumericAmount)(args.maxSupply, 'maxSupply');
|
|
331
|
+
const workflow = `
|
|
332
|
+
**Create NFT Token Class Workflow**
|
|
333
|
+
|
|
334
|
+
**Step 1: Check Creation Fee**
|
|
335
|
+
\`\`\`typescript
|
|
336
|
+
const createFee = await sdk.getNftTokenClassCreateFee();
|
|
337
|
+
console.log('Token class creation fee:', createFee); // Usually "1000" GALA
|
|
338
|
+
\`\`\`
|
|
339
|
+
|
|
340
|
+
**Step 2: Verify Available Balance**
|
|
341
|
+
\`\`\`typescript
|
|
342
|
+
const balance = await sdk.fetchGalaBalance();
|
|
343
|
+
console.log('Your balance:', balance.balance);
|
|
344
|
+
|
|
345
|
+
if (balance.balance < createFee) {
|
|
346
|
+
throw new Error('Insufficient GALA for token class creation');
|
|
347
|
+
}
|
|
348
|
+
\`\`\`
|
|
349
|
+
|
|
350
|
+
**Step 3: Create Token Class**
|
|
351
|
+
\`\`\`typescript
|
|
352
|
+
const result = await sdk.createNftTokenClass({
|
|
353
|
+
collectionName: '${args.collectionName}',
|
|
354
|
+
tokenClassName: '${args.tokenClassName}',
|
|
355
|
+
description: '${args.description}',
|
|
356
|
+
maximumSupply: '${args.maxSupply}',
|
|
357
|
+
// Optional: Add custom data
|
|
358
|
+
data: {
|
|
359
|
+
rarity: 'epic',
|
|
360
|
+
tier: '2',
|
|
361
|
+
// Custom attributes for your NFTs
|
|
362
|
+
},
|
|
363
|
+
});
|
|
364
|
+
console.log('✓ Token class created:', result.tokenClassName);
|
|
365
|
+
console.log('Transaction ID:', result.transactionId);
|
|
366
|
+
\`\`\`
|
|
367
|
+
|
|
368
|
+
**Step 4: Verify Creation**
|
|
369
|
+
\`\`\`typescript
|
|
370
|
+
const classes = await sdk.fetchNftTokenClasses({
|
|
371
|
+
collectionName: '${args.collectionName}',
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
const newClass = classes.find(c => c.tokenClassName === '${args.tokenClassName}');
|
|
375
|
+
console.log('✓ New class verified:', newClass?.tokenClassName);
|
|
376
|
+
console.log('Max supply:', newClass?.maxSupply);
|
|
377
|
+
\`\`\`
|
|
378
|
+
|
|
379
|
+
**Collection Architecture:**
|
|
380
|
+
\`MyEpicNFTs\` (Collection)
|
|
381
|
+
├── \`Common\` (Token Class 1) - max 10,000
|
|
382
|
+
├── \`Rare\` (Token Class 2) - max 1,000
|
|
383
|
+
├── \`Epic\` (Token Class 3) - max 100
|
|
384
|
+
└── \`${args.tokenClassName}\` (Token Class 4) - max ${args.maxSupply}
|
|
385
|
+
|
|
386
|
+
**Cost Breakdown:**
|
|
387
|
+
- Collection claim: 10,000 GALA (one-time)
|
|
388
|
+
- Each token class: 1,000 GALA per class
|
|
389
|
+
- NFT minting: Dynamic fee based on quantity
|
|
390
|
+
|
|
391
|
+
**Next Steps:**
|
|
392
|
+
1. Create additional token classes if needed
|
|
393
|
+
2. Mint NFTs from this token class
|
|
394
|
+
3. Track supply levels as you mint
|
|
395
|
+
`;
|
|
396
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(workflow);
|
|
397
|
+
},
|
|
398
|
+
};
|
|
399
|
+
/**
|
|
400
|
+
* Estimate NFT Operations - Plan your NFT strategy
|
|
401
|
+
*
|
|
402
|
+
* Help users estimate fees for bundles of NFT operations.
|
|
403
|
+
*/
|
|
404
|
+
exports.estimateNftOperationsPrompt = {
|
|
405
|
+
name: 'galachain-launchpad:estimate-nft-operations',
|
|
406
|
+
description: 'Estimate fees for a bundle of NFT operations to plan your collection strategy',
|
|
407
|
+
arguments: [
|
|
408
|
+
{
|
|
409
|
+
name: 'operationType',
|
|
410
|
+
description: 'Type of operations to estimate: "full-setup" (collection+class+mints), "collection-only", "class-only", or "mint-only"',
|
|
411
|
+
required: true,
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: 'estimatedMintQuantity',
|
|
415
|
+
description: 'Estimated number of NFTs you plan to mint (e.g., "500")',
|
|
416
|
+
required: false,
|
|
417
|
+
},
|
|
418
|
+
],
|
|
419
|
+
handler: (args) => {
|
|
420
|
+
const operationType = args.operationType?.toLowerCase() || 'full-setup';
|
|
421
|
+
const mintQty = args.estimatedMintQuantity || '100';
|
|
422
|
+
const workflow = `
|
|
423
|
+
**NFT Operations Fee Estimation**
|
|
424
|
+
|
|
425
|
+
**Scenario: ${operationType.toUpperCase()}**
|
|
426
|
+
|
|
427
|
+
**Single Operation Costs:**
|
|
428
|
+
- Claim Collection: 10,000 GALA (one-time)
|
|
429
|
+
- Create Token Class: 1,000 GALA (per class)
|
|
430
|
+
- Mint NFTs: Dynamic (based on quantity and rarity)
|
|
431
|
+
|
|
432
|
+
**Example Estimation:**
|
|
433
|
+
\`\`\`typescript
|
|
434
|
+
// Full setup: Collection + Token Class + Mints
|
|
435
|
+
const bundleFee = await sdk.estimateNftOperationFees({
|
|
436
|
+
operations: [
|
|
437
|
+
{ type: 'claim_collection' },
|
|
438
|
+
{ type: 'create_token_class', collectionName: 'MyEpicNFTs' },
|
|
439
|
+
{ type: 'mint', quantity: ${mintQty} },
|
|
440
|
+
],
|
|
441
|
+
});
|
|
442
|
+
|
|
443
|
+
console.log('Total bundle fee:', bundleFee.totalFee, 'GALA');
|
|
444
|
+
for (const op of bundleFee.breakdown) {
|
|
445
|
+
console.log(\` \${op.operationType}: \${op.fee} GALA\`);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// Breakdown example:
|
|
449
|
+
// claim_collection: 10000 GALA
|
|
450
|
+
// create_token_class: 1000 GALA
|
|
451
|
+
// mint: ~${mintQty === '100' ? '500-2000' : mintQty === '500' ? '2000-8000' : '5000-20000'} GALA (variable)
|
|
452
|
+
\`\`\`
|
|
453
|
+
|
|
454
|
+
**Cost Planning by Collection Size:**
|
|
455
|
+
|
|
456
|
+
| Collection Type | Collection | Token Classes | Avg Mint (100 ea) | Total Cost |
|
|
457
|
+
|---|---|---|---|---|
|
|
458
|
+
| Small | 10,000 | 1,000×2 | ~1,000 | ~13,000 |
|
|
459
|
+
| Medium | 10,000 | 1,000×5 | ~5,000 | ~20,000 |
|
|
460
|
+
| Large | 10,000 | 1,000×10 | ~10,000 | ~31,000 |
|
|
461
|
+
|
|
462
|
+
**Estimation Workflow:**
|
|
463
|
+
\`\`\`typescript
|
|
464
|
+
// 1. Estimate individual mint
|
|
465
|
+
const mintFee = await sdk.estimateNftMintFee({
|
|
466
|
+
collectionName: 'MyEpicNFTs',
|
|
467
|
+
tokenClassName: 'Legendary',
|
|
468
|
+
quantity: ${mintQty},
|
|
469
|
+
});
|
|
470
|
+
|
|
471
|
+
// 2. Estimate multi-class scenario
|
|
472
|
+
const scenario = await sdk.estimateNftOperationFees({
|
|
473
|
+
operations: [
|
|
474
|
+
{ type: 'create_token_class', collectionName: 'MyEpicNFTs' },
|
|
475
|
+
{ type: 'create_token_class', collectionName: 'MyEpicNFTs' },
|
|
476
|
+
{ type: 'mint', quantity: ${mintQty} },
|
|
477
|
+
{ type: 'mint', quantity: ${mintQty} },
|
|
478
|
+
],
|
|
479
|
+
});
|
|
480
|
+
|
|
481
|
+
// 3. Verify balance before executing
|
|
482
|
+
const balance = await sdk.fetchGalaBalance();
|
|
483
|
+
if (balance.balance < scenario.totalFee) {
|
|
484
|
+
console.error('Insufficient balance - need more GALA');
|
|
485
|
+
}
|
|
486
|
+
\`\`\`
|
|
487
|
+
|
|
488
|
+
**Optimization Tips:**
|
|
489
|
+
- Batch operations together for better planning visibility
|
|
490
|
+
- Start with fewer token classes, expand as demand grows
|
|
491
|
+
- Higher quantities benefit from dynamic fee scaling
|
|
492
|
+
- Monitor fees as token rarity levels increase
|
|
493
|
+
|
|
494
|
+
**Next Steps:**
|
|
495
|
+
1. Estimate your specific scenario
|
|
496
|
+
2. Verify available GALA balance
|
|
497
|
+
3. Plan creation and mint phases
|
|
498
|
+
4. Execute operations in phases if needed
|
|
499
|
+
`;
|
|
500
|
+
return (0, handlerHelpers_js_1.createPromptResponse)(workflow);
|
|
501
|
+
},
|
|
502
|
+
};
|
|
503
|
+
/**
|
|
504
|
+
* Export all NFT prompts
|
|
505
|
+
*/
|
|
506
|
+
exports.nftPrompts = [
|
|
507
|
+
exports.claimNftCollectionPrompt,
|
|
508
|
+
exports.mintNftPrompt,
|
|
509
|
+
exports.manageNftCollectionsPrompt,
|
|
510
|
+
exports.createNftTokenClassPrompt,
|
|
511
|
+
exports.estimateNftOperationsPrompt,
|
|
512
|
+
];
|
|
513
|
+
//# sourceMappingURL=nft.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nft.js","sourceRoot":"","sources":["../../src/prompts/nft.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAGH,0DAGgC;AAChC,iEAAiE;AAEjE;;;;GAIG;AACU,QAAA,wBAAwB,GAAc;IACjD,IAAI,EAAE,0CAA0C;IAChD,WAAW,EACT,oGAAoG;IACtG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{
|
|
|
1196
1196
|
maximum: number;
|
|
1197
1197
|
description: string;
|
|
1198
1198
|
};
|
|
1199
|
+
/**
|
|
1200
|
+
* NFT collection name schema - for NFT collection management operations
|
|
1201
|
+
*
|
|
1202
|
+
* Validates alphanumeric collection names between 3-50 characters.
|
|
1203
|
+
* Used in collection claim, token class creation, and balance queries.
|
|
1204
|
+
*
|
|
1205
|
+
* @description NFT collection name (alphanumeric, 3-50 characters)
|
|
1206
|
+
* @type string
|
|
1207
|
+
* @pattern ^[a-zA-Z0-9]{3,50}$
|
|
1208
|
+
* @example "my-nft-collection", "galadog", "dragon2024"
|
|
1209
|
+
*/
|
|
1210
|
+
export declare const COLLECTION_NAME_SCHEMA: {
|
|
1211
|
+
type: "string";
|
|
1212
|
+
pattern: string;
|
|
1213
|
+
description: string;
|
|
1214
|
+
};
|
|
1215
|
+
/**
|
|
1216
|
+
* NFT quantity schema - for minting and balance operations
|
|
1217
|
+
*
|
|
1218
|
+
* Validates positive integer quantities for NFT minting and transfers.
|
|
1219
|
+
* Must be at least 1 (no zero values).
|
|
1220
|
+
*
|
|
1221
|
+
* @description Number of NFTs (positive integer)
|
|
1222
|
+
* @type string
|
|
1223
|
+
* @pattern ^[1-9][0-9]*$
|
|
1224
|
+
* @example "1", "10", "100", "1000"
|
|
1225
|
+
*/
|
|
1226
|
+
export declare const NFT_QUANTITY_SCHEMA: {
|
|
1227
|
+
type: "string";
|
|
1228
|
+
pattern: string;
|
|
1229
|
+
description: string;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* NFT rarity schema - for token class metadata
|
|
1233
|
+
*
|
|
1234
|
+
* Validates rarity tier names (letters only, case-insensitive).
|
|
1235
|
+
* Common values: common, uncommon, rare, epic, legendary
|
|
1236
|
+
*
|
|
1237
|
+
* @description Rarity tier (letters only)
|
|
1238
|
+
* @type string
|
|
1239
|
+
* @pattern ^[a-zA-Z]+$
|
|
1240
|
+
* @example "common", "rare", "legendary", "epic"
|
|
1241
|
+
*/
|
|
1242
|
+
export declare const NFT_RARITY_SCHEMA: {
|
|
1243
|
+
type: "string";
|
|
1244
|
+
pattern: string;
|
|
1245
|
+
description: string;
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* NFT max supply schema - for token class creation and limits
|
|
1249
|
+
*
|
|
1250
|
+
* Validates maximum supply values as whole numbers.
|
|
1251
|
+
* Used for limiting total NFT minting per token class.
|
|
1252
|
+
*
|
|
1253
|
+
* @description Maximum supply (whole number)
|
|
1254
|
+
* @type string
|
|
1255
|
+
* @pattern ^[0-9]+$
|
|
1256
|
+
* @example "1000", "10000", "1000000"
|
|
1257
|
+
*/
|
|
1258
|
+
export declare const NFT_MAX_SUPPLY_SCHEMA: {
|
|
1259
|
+
type: "string";
|
|
1260
|
+
pattern: string;
|
|
1261
|
+
description: string;
|
|
1262
|
+
};
|
|
1199
1263
|
/**
|
|
1200
1264
|
* RTMP URL schema - for streaming simulcast operations
|
|
1201
1265
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/common-schemas.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,EAgBL,WAAW,EACX,UAAU,EACV,UAAU,EACV,UAAU,EACX,MAAM,2BAA2B,CAAC;AAsCnC;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,yBAA6C,CAAC;AAE5E;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,yBAAiD,CAAC;AAElF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,yBAGpC,CAAC;AAMF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,yBAG9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,yBAAuD,CAAC;AAEnF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,yBAGnC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,yBAGp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