add marketplace stuff
This commit is contained in:
parent
54f158f102
commit
78b1b8b900
5
v0.1/marketplace.wit
Normal file
5
v0.1/marketplace.wit
Normal 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>;
|
||||||
|
}
|
||||||
@ -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 ---
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user