@xgamesfun/solana 0.27.0 → 0.27.1
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 +9 -9
- package/js/mcp/tools.mjs +1 -1
- package/js/play/index.js +445 -111
- package/package.json +1 -1
- package/skills/xsolana-economy/SKILL.md +4 -4
- package/skills/xsolana-economy/references/apps.md +6 -2
- package/types/play/index.d.ts +178 -29
package/README.md
CHANGED
|
@@ -64,7 +64,7 @@ codex plugin add xsolana@xgamesfun
|
|
|
64
64
|
|
|
65
65
|
**claude.ai, ChatGPT or Claude Desktop:** add `https://xgames.fun/mcp` as a custom connector. Nothing to install.
|
|
66
66
|
|
|
67
|
-
**Cursor, Cline, opencode or any MCP client:** run `npx -y --package=@xgamesfun/solana@0.27.
|
|
67
|
+
**Cursor, Cline, opencode or any MCP client:** run `npx -y --package=@xgamesfun/solana@0.27.1 xsolana mcp`.
|
|
68
68
|
|
|
69
69
|
**Any agent that reads skills** (Copilot, Gemini CLI, Windsurf…): `npx skills add XGamesFun/solana-kit`.
|
|
70
70
|
|
|
@@ -75,22 +75,22 @@ are in [docs/harnesses.md](docs/harnesses.md).
|
|
|
75
75
|
|
|
76
76
|
```bash
|
|
77
77
|
# find a worked example close to your idea
|
|
78
|
-
npx -y @xgamesfun/solana@0.27.
|
|
78
|
+
npx -y @xgamesfun/solana@0.27.1 examples shop with loot boxes
|
|
79
79
|
|
|
80
80
|
# using a coin you already launched? read it from the chain into its "tokens" entry
|
|
81
|
-
npx -y @xgamesfun/solana@0.27.
|
|
81
|
+
npx -y @xgamesfun/solana@0.27.1 token <its mint address>
|
|
82
82
|
|
|
83
83
|
# does it work? where does the money go? what does it cost?
|
|
84
|
-
npx -y @xgamesfun/solana@0.27.
|
|
85
|
-
npx -y @xgamesfun/solana@0.27.
|
|
86
|
-
npx -y @xgamesfun/solana@0.27.
|
|
84
|
+
npx -y @xgamesfun/solana@0.27.1 check xsolana.json
|
|
85
|
+
npx -y @xgamesfun/solana@0.27.1 simulate xsolana.json
|
|
86
|
+
npx -y @xgamesfun/solana@0.27.1 cost xsolana.json
|
|
87
87
|
|
|
88
88
|
# the whole economy in plain words, and what a cheater could get
|
|
89
|
-
npx -y @xgamesfun/solana@0.27.
|
|
90
|
-
npx -y @xgamesfun/solana@0.27.
|
|
89
|
+
npx -y @xgamesfun/solana@0.27.1 explain xsolana.json
|
|
90
|
+
npx -y @xgamesfun/solana@0.27.1 review xsolana.json
|
|
91
91
|
|
|
92
92
|
# go live, approved in your own wallet
|
|
93
|
-
npx -y @xgamesfun/solana@0.27.
|
|
93
|
+
npx -y @xgamesfun/solana@0.27.1 approve xsolana.json
|
|
94
94
|
```
|
|
95
95
|
|
|
96
96
|
Each command names an exact version, so you always run the release you meant to. `xsolana help` lists them all.
|
package/js/mcp/tools.mjs
CHANGED
|
@@ -881,7 +881,7 @@ export const tools = [
|
|
|
881
881
|
' app.listForSale(asset, { price }), app.listForRent(asset, { price, lasts, maxPeriods }), app.listing(asset), app.listings(),',
|
|
882
882
|
' app.buyListing(asset, { listing }), app.rentListing(asset, { periods, listing }) (`listing`: what listing() or listings()',
|
|
883
883
|
' showed the player), app.unlist(asset), app.rentedTo(asset) (one account read) listings, sale and rent',
|
|
884
|
-
' app.closeGone(asset) anyone closes the holds and the listing of an NFT the project no longer holds (its collection took it back or burned it): nothing is sent or paid; claims() lists such a hold or loan flagged `gone`, and listing() flags such a listing',
|
|
884
|
+
' app.closeGone(asset) anyone closes the holds and the listing of an NFT the project no longer holds (its collection took it back or burned it), and takes its row off each of the project’s stashes: nothing is sent or paid; claims() lists such a hold or loan flagged `gone`, and a lottery’s part, a contest’s claim or an auction whose NFT is gone (its claim finishes without it); listing() flags such a listing',
|
|
885
885
|
' app.raffle(id, nft, { price, drawsAt, minSold }), app.unraffle(id, nft) a raffle from the lottery’s own stash',
|
|
886
886
|
' app.compound(key), app.runSchedule(key) compound, send a schedule that is due (a run missed is missed: only a sealed fixed amount pays every run due)',
|
|
887
887
|
' app.farmWalk(key), app.walkFarm(key) a farm idle past many end times: how many it must walk, and walking them in parts (anyone, free; moves ask for the compute to walk a few themselves)',
|