midnight-mcp 0.1.10 → 0.1.12
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/tools/repository/constants.js +113 -0
- package/dist/utils/config.js +37 -0
- package/package.json +1 -1
|
@@ -78,6 +78,27 @@ export const REPO_ALIASES = {
|
|
|
78
78
|
starter: { owner: "MeshJS", repo: "midnight-starter-template" },
|
|
79
79
|
midnames: { owner: "midnames", repo: "core" },
|
|
80
80
|
did: { owner: "midnames", repo: "core" },
|
|
81
|
+
// Sea Battle Hackathon Winners (Feb 2025)
|
|
82
|
+
"naval-battle": { owner: "ErickRomeroDev", repo: "naval-battle-game_v2" },
|
|
83
|
+
"edda-labs": { owner: "ErickRomeroDev", repo: "naval-battle-game_v2" },
|
|
84
|
+
"sea-battle-hackathon": {
|
|
85
|
+
owner: "eddex",
|
|
86
|
+
repo: "midnight-sea-battle-hackathon",
|
|
87
|
+
},
|
|
88
|
+
shipyspace: { owner: "eddex", repo: "midnight-sea-battle-hackathon" },
|
|
89
|
+
// Mini DApp Hackathon Winners (Sep 2025)
|
|
90
|
+
statera: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
|
|
91
|
+
"statera-protocol": {
|
|
92
|
+
owner: "statera-protocol",
|
|
93
|
+
repo: "statera-protocol-midnight",
|
|
94
|
+
},
|
|
95
|
+
lucentlabs: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
|
|
96
|
+
stablecoin: { owner: "statera-protocol", repo: "statera-protocol-midnight" },
|
|
97
|
+
"midnight-bank": { owner: "nel349", repo: "midnight-bank" },
|
|
98
|
+
bank: { owner: "nel349", repo: "midnight-bank" },
|
|
99
|
+
zkbadge: { owner: "Imdavyking", repo: "zkbadge" },
|
|
100
|
+
badge: { owner: "Imdavyking", repo: "zkbadge" },
|
|
101
|
+
davyking: { owner: "Imdavyking", repo: "zkbadge" },
|
|
81
102
|
};
|
|
82
103
|
export const EXAMPLES = [
|
|
83
104
|
{
|
|
@@ -124,5 +145,97 @@ export const EXAMPLES = [
|
|
|
124
145
|
"Advanced state management",
|
|
125
146
|
],
|
|
126
147
|
},
|
|
148
|
+
// Sea Battle Hackathon Winners (Feb 2025)
|
|
149
|
+
{
|
|
150
|
+
name: "Sea Battle (Brick Towers)",
|
|
151
|
+
repository: "bricktowers/midnight-seabattle",
|
|
152
|
+
description: "1st place hackathon winner. Fully playable battleship game with token staking (100 shielded tBTC). Features ZK-protected ship placements and moves.",
|
|
153
|
+
category: "game",
|
|
154
|
+
complexity: "advanced",
|
|
155
|
+
mainFile: "contract/src/seabattle.compact",
|
|
156
|
+
features: [
|
|
157
|
+
"ZK game mechanics",
|
|
158
|
+
"Shielded token staking",
|
|
159
|
+
"Turn-based gameplay",
|
|
160
|
+
"Private state management",
|
|
161
|
+
"Lace wallet integration",
|
|
162
|
+
],
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
name: "Naval Battle (Edda Labs)",
|
|
166
|
+
repository: "ErickRomeroDev/naval-battle-game_v2",
|
|
167
|
+
description: "2nd place hackathon winner. Clean implementation with 4 ZK circuits: join game, commit grid, start game, make move. Modern drag-and-drop UI.",
|
|
168
|
+
category: "game",
|
|
169
|
+
complexity: "intermediate",
|
|
170
|
+
mainFile: "contract/src/naval.compact",
|
|
171
|
+
features: [
|
|
172
|
+
"4 ZK circuits",
|
|
173
|
+
"Drag-and-drop UI",
|
|
174
|
+
"Real-time updates",
|
|
175
|
+
"Clean circuit design",
|
|
176
|
+
"Open-source docs",
|
|
177
|
+
],
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
name: "Sea Battle (ShipySpace)",
|
|
181
|
+
repository: "eddex/midnight-sea-battle-hackathon",
|
|
182
|
+
description: "3rd place hackathon winner. Great beginner-friendly example showing core game mechanics without centralized server. Good first ZK project reference.",
|
|
183
|
+
category: "game",
|
|
184
|
+
complexity: "beginner",
|
|
185
|
+
mainFile: "contract/src/game.compact",
|
|
186
|
+
features: [
|
|
187
|
+
"No centralized server",
|
|
188
|
+
"Deploy/join/resume games",
|
|
189
|
+
"Basic ZK patterns",
|
|
190
|
+
"Beginner friendly",
|
|
191
|
+
"Clear player interactions",
|
|
192
|
+
],
|
|
193
|
+
},
|
|
194
|
+
// Mini DApp Hackathon Winners (Sep 2025)
|
|
195
|
+
{
|
|
196
|
+
name: "Statera Protocol (LucentLabs)",
|
|
197
|
+
repository: "statera-protocol/statera-protocol-midnight",
|
|
198
|
+
description: "1st place Mini DApp winner. Private overcollateralized stablecoin with shielded liquidations. Institutional-grade DeFi with KYC compliance and full transaction privacy.",
|
|
199
|
+
category: "defi",
|
|
200
|
+
complexity: "advanced",
|
|
201
|
+
mainFile: "contract/src/statera.compact",
|
|
202
|
+
features: [
|
|
203
|
+
"Shielded stablecoin",
|
|
204
|
+
"Automated liquidations",
|
|
205
|
+
"Off-chain KYC",
|
|
206
|
+
"Private minting/staking",
|
|
207
|
+
"Institutional DeFi",
|
|
208
|
+
],
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: "Midnight Bank",
|
|
212
|
+
repository: "nel349/midnight-bank",
|
|
213
|
+
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.",
|
|
214
|
+
category: "defi",
|
|
215
|
+
complexity: "intermediate",
|
|
216
|
+
mainFile: "contract/src/bank.compact",
|
|
217
|
+
features: [
|
|
218
|
+
"Encrypted balances",
|
|
219
|
+
"PIN-protected accounts",
|
|
220
|
+
"Multi-party auth",
|
|
221
|
+
"Selective disclosure",
|
|
222
|
+
"Private transfers",
|
|
223
|
+
],
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: "zkBadge (Davyking)",
|
|
227
|
+
repository: "Imdavyking/zkbadge",
|
|
228
|
+
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.",
|
|
229
|
+
category: "identity",
|
|
230
|
+
complexity: "intermediate",
|
|
231
|
+
mainFile: "contract/src/zkbadge.compact",
|
|
232
|
+
features: [
|
|
233
|
+
"ZK credentials",
|
|
234
|
+
"Off-chain verification",
|
|
235
|
+
"On-chain badges",
|
|
236
|
+
"Access control",
|
|
237
|
+
"Reputation system",
|
|
238
|
+
],
|
|
239
|
+
},
|
|
127
240
|
];
|
|
128
241
|
//# sourceMappingURL=constants.js.map
|
package/dist/utils/config.js
CHANGED
|
@@ -224,5 +224,42 @@ export const DEFAULT_REPOSITORIES = [
|
|
|
224
224
|
patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
|
|
225
225
|
exclude: ["node_modules/**", "dist/**"],
|
|
226
226
|
},
|
|
227
|
+
// Sea Battle Hackathon Winners (Feb 2025)
|
|
228
|
+
{
|
|
229
|
+
owner: "ErickRomeroDev",
|
|
230
|
+
repo: "naval-battle-game_v2",
|
|
231
|
+
branch: "main",
|
|
232
|
+
patterns: ["**/*.compact", "**/*.ts", "**/*.tsx", "**/*.md"],
|
|
233
|
+
exclude: ["node_modules/**", "dist/**"],
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
owner: "eddex",
|
|
237
|
+
repo: "midnight-sea-battle-hackathon",
|
|
238
|
+
branch: "main",
|
|
239
|
+
patterns: ["**/*.compact", "**/*.ts", "**/*.md"],
|
|
240
|
+
exclude: ["node_modules/**", "dist/**"],
|
|
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
|
+
},
|
|
227
264
|
];
|
|
228
265
|
//# sourceMappingURL=config.js.map
|