@xgamesfun/solana 0.27.2 → 0.28.0
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/README.md +11 -11
- package/js/client/idl/loot.js +1 -1
- package/js/client/idl/loot.json +2 -2
- package/package.json +1 -1
- package/release.json +6 -6
- package/skills/xsolana-economy/SKILL.md +5 -5
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ codex plugin add xsolana@xgamesfun
|
|
|
76
76
|
|
|
77
77
|
**claude.ai, ChatGPT or Claude Desktop:** add `https://xgames.fun/mcp` as a custom connector. Nothing to install.
|
|
78
78
|
|
|
79
|
-
**Cursor, Cline, opencode or any MCP client:** run `npx -y --package=@xgamesfun/solana@0.
|
|
79
|
+
**Cursor, Cline, opencode or any MCP client:** run `npx -y --package=@xgamesfun/solana@0.28.0 xsolana mcp`.
|
|
80
80
|
|
|
81
81
|
**Any agent that reads skills** (Copilot, Gemini CLI, Windsurf…): `npx skills add XGamesFun/solana-kit`.
|
|
82
82
|
|
|
@@ -87,26 +87,26 @@ are in [docs/harnesses.md](docs/harnesses.md).
|
|
|
87
87
|
|
|
88
88
|
```bash
|
|
89
89
|
# find a worked example close to your idea
|
|
90
|
-
npx -y @xgamesfun/solana@0.
|
|
90
|
+
npx -y @xgamesfun/solana@0.28.0 examples shop with loot boxes
|
|
91
91
|
|
|
92
92
|
# using a coin you already launched? read it from the chain into its "tokens" entry
|
|
93
|
-
npx -y @xgamesfun/solana@0.
|
|
93
|
+
npx -y @xgamesfun/solana@0.28.0 token <its mint address>
|
|
94
94
|
|
|
95
95
|
# does it work? where does the money go? what does it cost?
|
|
96
|
-
npx -y @xgamesfun/solana@0.
|
|
97
|
-
npx -y @xgamesfun/solana@0.
|
|
98
|
-
npx -y @xgamesfun/solana@0.
|
|
96
|
+
npx -y @xgamesfun/solana@0.28.0 check xsolana.json
|
|
97
|
+
npx -y @xgamesfun/solana@0.28.0 simulate xsolana.json
|
|
98
|
+
npx -y @xgamesfun/solana@0.28.0 cost xsolana.json
|
|
99
99
|
|
|
100
100
|
# the whole economy in plain words, and what a cheater could get
|
|
101
|
-
npx -y @xgamesfun/solana@0.
|
|
102
|
-
npx -y @xgamesfun/solana@0.
|
|
101
|
+
npx -y @xgamesfun/solana@0.28.0 explain xsolana.json
|
|
102
|
+
npx -y @xgamesfun/solana@0.28.0 review xsolana.json
|
|
103
103
|
|
|
104
104
|
# go live: a key file for the project (it prints the address to send devnet SOL to, never the key)…
|
|
105
|
-
npx -y @xgamesfun/solana@0.
|
|
105
|
+
npx -y @xgamesfun/solana@0.28.0 keygen ~/.config/xsolana/my-game.json
|
|
106
106
|
# …then everything going live would send, and a code; nothing is sent
|
|
107
|
-
npx -y @xgamesfun/solana@0.
|
|
107
|
+
npx -y @xgamesfun/solana@0.28.0 approve xsolana.json --keypair ~/.config/xsolana/my-game.json
|
|
108
108
|
# …and with that code, exactly what it listed is sent
|
|
109
|
-
npx -y @xgamesfun/solana@0.
|
|
109
|
+
npx -y @xgamesfun/solana@0.28.0 approve xsolana.json --keypair ~/.config/xsolana/my-game.json --yes <code>
|
|
110
110
|
```
|
|
111
111
|
|
|
112
112
|
Each command names an exact version, so you always run the release you meant to. `xsolana help` lists them all.
|