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 ---