midnight-mcp 0.1.11 → 0.1.13

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.
@@ -86,6 +86,36 @@ export const REPO_ALIASES = {
86
86
  repo: "midnight-sea-battle-hackathon",
87
87
  },
88
88
  shipyspace: { owner: "eddex", repo: "midnight-sea-battle-hackathon" },
89
+ // Core Partner - PaimaStudios (Gaming Infrastructure)
90
+ "midnight-game-2": { owner: "PaimaStudios", repo: "midnight-game-2" },
91
+ "paima-game": { owner: "PaimaStudios", repo: "midnight-game-2" },
92
+ "dust-to-dust": { owner: "PaimaStudios", repo: "midnight-game-2" },
93
+ "midnight-wasm-prover": {
94
+ owner: "PaimaStudios",
95
+ repo: "midnight-wasm-prover",
96
+ },
97
+ "wasm-prover": { owner: "PaimaStudios", repo: "midnight-wasm-prover" },
98
+ "midnight-batcher": { owner: "PaimaStudios", repo: "midnight-batcher" },
99
+ batcher: { owner: "PaimaStudios", repo: "midnight-batcher" },
100
+ "midnight-impact-rps": {
101
+ owner: "PaimaStudios",
102
+ repo: "midnight-impact-rps-example",
103
+ },
104
+ "impact-rps": { owner: "PaimaStudios", repo: "midnight-impact-rps-example" },
105
+ "vm-bindings": { owner: "PaimaStudios", repo: "midnight-impact-rps-example" },
106
+ // Mini DApp Hackathon Winners (Sep 2025)
107
+ statera: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
108
+ "statera-protocol": {
109
+ owner: "statera-protocol",
110
+ repo: "statera-protocol-midnight",
111
+ },
112
+ lucentlabs: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
113
+ stablecoin: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
114
+ "midnight-bank": { owner: "nel349", repo: "midnight-bank" },
115
+ bank: { owner: "nel349", repo: "midnight-bank" },
116
+ zkbadge: { owner: "Imdavyking", repo: "zkbadge" },
117
+ badge: { owner: "Imdavyking", repo: "zkbadge" },
118
+ davyking: { owner: "Imdavyking", repo: "zkbadge" },
89
119
  };
90
120
  export const EXAMPLES = [
91
121
  {
@@ -178,5 +208,117 @@ export const EXAMPLES = [
178
208
  "Clear player interactions",
179
209
  ],
180
210
  },
211
+ // Mini DApp Hackathon Winners (Sep 2025)
212
+ {
213
+ name: "Statera Protocol (LucentLabs)",
214
+ repository: "statera-protocol/statera-protocol-midnight",
215
+ description: "1st place Mini DApp winner. Private overcollateralized stablecoin with shielded liquidations. Institutional-grade DeFi with KYC compliance and full transaction privacy.",
216
+ category: "defi",
217
+ complexity: "advanced",
218
+ mainFile: "contract/src/statera.compact",
219
+ features: [
220
+ "Shielded stablecoin",
221
+ "Automated liquidations",
222
+ "Off-chain KYC",
223
+ "Private minting/staking",
224
+ "Institutional DeFi",
225
+ ],
226
+ },
227
+ {
228
+ name: "Midnight Bank",
229
+ repository: "nel349/midnight-bank",
230
+ description: "2nd place Mini DApp winner. Private banking DApp demonstrating prove/hide/compute/reveal patterns. Shared accounts with PIN, multi-party authorization, and selective disclosure.",
231
+ category: "defi",
232
+ complexity: "intermediate",
233
+ mainFile: "contract/src/bank.compact",
234
+ features: [
235
+ "Encrypted balances",
236
+ "PIN-protected accounts",
237
+ "Multi-party auth",
238
+ "Selective disclosure",
239
+ "Private transfers",
240
+ ],
241
+ },
242
+ {
243
+ name: "zkBadge (Davyking)",
244
+ repository: "Imdavyking/zkbadge",
245
+ description: "3rd place Mini DApp winner. Privacy-preserving identity and access control. Issue verifiable credentials (e.g., age proof) without revealing personal data. Only 'verified' status stored on-chain.",
246
+ category: "identity",
247
+ complexity: "intermediate",
248
+ mainFile: "contract/src/zkbadge.compact",
249
+ features: [
250
+ "ZK credentials",
251
+ "Off-chain verification",
252
+ "On-chain badges",
253
+ "Access control",
254
+ "Reputation system",
255
+ ],
256
+ },
257
+ // Core Partner - PaimaStudios (Gaming Infrastructure)
258
+ {
259
+ name: "Midnight Game 2 (PaimaStudios)",
260
+ repository: "PaimaStudios/midnight-game-2",
261
+ description: "Full production game from core Midnight partner. Complete Phaser frontend, CLI admin tools, and batcher integration. Demonstrates advanced game mechanics with battles, quests, spirits, and upgrades using ZK proofs.",
262
+ category: "game",
263
+ complexity: "advanced",
264
+ mainFile: "contract/src/template.compact",
265
+ features: [
266
+ "Phaser game frontend",
267
+ "Batcher mode (no wallet needed)",
268
+ "Admin CLI tools",
269
+ "Battle system circuits",
270
+ "Quest mechanics",
271
+ "Spirit upgrades",
272
+ "Code generation for circuits",
273
+ ],
274
+ },
275
+ {
276
+ name: "WASM Prover (PaimaStudios)",
277
+ repository: "PaimaStudios/midnight-wasm-prover",
278
+ description: "Browser-based WASM ZK prover for Midnight transactions. Enables client-side proving without external services. Essential infrastructure for decentralized DApps.",
279
+ category: "infrastructure",
280
+ complexity: "advanced",
281
+ mainFile: "src/lib.rs",
282
+ features: [
283
+ "Browser-based proving",
284
+ "Multi-threaded WASM",
285
+ "WebWorker integration",
286
+ "KZG trusted setup handling",
287
+ "No server dependency",
288
+ "Webpack demo included",
289
+ ],
290
+ },
291
+ {
292
+ name: "Midnight Batcher (PaimaStudios)",
293
+ repository: "PaimaStudios/midnight-batcher",
294
+ description: "Transaction batching service for Midnight. Enables wallet-less DApp interactions by handling transaction fees and submission. Production-ready Rust implementation.",
295
+ category: "infrastructure",
296
+ complexity: "advanced",
297
+ mainFile: "src/main.rs",
298
+ features: [
299
+ "Wallet-less transactions",
300
+ "Fee sponsorship",
301
+ "Contract whitelisting",
302
+ "Pre-proving service",
303
+ "WebSocket indexer sync",
304
+ "Local chain setup scripts",
305
+ ],
306
+ },
307
+ {
308
+ name: "Impact VM RPS Example (PaimaStudios)",
309
+ repository: "PaimaStudios/midnight-impact-rps-example",
310
+ description: "Low-level Impact VM programming example. Shows how to write Midnight contracts without Compact, directly using Impact opcodes and zkir. Rock-Paper-Scissors with commitment schemes.",
311
+ category: "infrastructure",
312
+ complexity: "advanced",
313
+ mainFile: "lib/src/lib.rs",
314
+ features: [
315
+ "Impact VM direct programming",
316
+ "Bypass Compact compiler",
317
+ "zkir circuit building",
318
+ "Commitment schemes",
319
+ "TypeScript WASM bindings",
320
+ "Full RPS game logic",
321
+ ],
322
+ },
181
323
  ];
182
324
  //# sourceMappingURL=constants.js.map
@@ -239,5 +239,56 @@ export const DEFAULT_REPOSITORIES = [
239
239
  patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
240
240
  exclude: ["node_modules/**", "dist/**"],
241
241
  },
242
+ // Mini DApp Hackathon Winners (Sep 2025)
243
+ {
244
+ owner: "statera-protocol",
245
+ repo: "statera-protocol-midnight",
246
+ branch: "main",
247
+ patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
248
+ exclude: ["node_modules/**", "dist/**"],
249
+ },
250
+ {
251
+ owner: "nel349",
252
+ repo: "midnight-bank",
253
+ branch: "main",
254
+ patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
255
+ exclude: ["node_modules/**", "dist/**"],
256
+ },
257
+ {
258
+ owner: "Imdavyking",
259
+ repo: "zkbadge",
260
+ branch: "main",
261
+ patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
262
+ exclude: ["node_modules/**", "dist/**"],
263
+ },
264
+ // Core Partner - PaimaStudios (Gaming Infrastructure)
265
+ {
266
+ owner: "PaimaStudios",
267
+ repo: "midnight-game-2",
268
+ branch: "main",
269
+ patterns: ["**/*.compact", "**/*.ts", "**/*.tsx", "**/*.js", "**/*.md"],
270
+ exclude: ["node_modules/**", "dist/**", "phaser/node_modules/**"],
271
+ },
272
+ {
273
+ owner: "PaimaStudios",
274
+ repo: "midnight-wasm-prover",
275
+ branch: "main",
276
+ patterns: ["**/*.rs", "**/*.ts", "**/*.md"],
277
+ exclude: ["target/**", "node_modules/**", "pkg/**"],
278
+ },
279
+ {
280
+ owner: "PaimaStudios",
281
+ repo: "midnight-batcher",
282
+ branch: "main",
283
+ patterns: ["**/*.rs", "**/*.ts", "**/*.md"],
284
+ exclude: ["target/**", "node_modules/**"],
285
+ },
286
+ {
287
+ owner: "PaimaStudios",
288
+ repo: "midnight-impact-rps-example",
289
+ branch: "main",
290
+ patterns: ["**/*.rs", "**/*.ts", "**/*.md"],
291
+ exclude: ["target/**", "node_modules/**", "www/pkg/**"],
292
+ },
242
293
  ];
243
294
  //# sourceMappingURL=config.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "midnight-mcp",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Model Context Protocol Server for Midnight Blockchain Development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",