From 78b1b8b9005d41d6ceb6e8788fb21840128cf29c Mon Sep 17 00:00:00 2001 From: Alexander Medvedev Date: Mon, 17 Aug 2026 10:30:50 +0200 Subject: [PATCH] add marketplace stuff --- v0.1/marketplace.wit | 5 +++++ v0.1/plugin.wit | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 v0.1/marketplace.wit diff --git a/v0.1/marketplace.wit b/v0.1/marketplace.wit new file mode 100644 index 0000000..be3d4a3 --- /dev/null +++ b/v0.1/marketplace.wit @@ -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; +} diff --git a/v0.1/plugin.wit b/v0.1/plugin.wit index e59b53e..ec80c78 100644 --- a/v0.1/plugin.wit +++ b/v0.1/plugin.wit @@ -67,6 +67,8 @@ world plugin { import display; /// Provides game rules definitions and queries. import game-rules; + /// Provides marketplace public key access for signature verification. + import marketplace; // --- Plugin-provided exports ---