add marketplace stuff

This commit is contained in:
Alexander Medvedev 2026-08-17 10:30:50 +02:00
parent 54f158f102
commit 78b1b8b900
2 changed files with 7 additions and 0 deletions

5
v0.1/marketplace.wit Normal file
View File

@ -0,0 +1,5 @@
/// Interface for querying marketplace details and public keys from the host.
interface marketplace {
/// Returns the active Pumpkin Marketplace Ed25519 public key in hex format (if available/cached).
get-public-key: func() -> option<string>;
}

View File

@ -67,6 +67,8 @@ world plugin {
import display; import display;
/// Provides game rules definitions and queries. /// Provides game rules definitions and queries.
import game-rules; import game-rules;
/// Provides marketplace public key access for signature verification.
import marketplace;
// --- Plugin-provided exports --- // --- Plugin-provided exports ---