@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/js/client/idl/loot.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"address": "
|
|
2
|
+
"address": "xgamesVsZBpCVgJuatfYAFJRmQoccfQf5qtUFNp2Eet",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "loot",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.28.0",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "Economy for Anything: one program every coin of a project passes through",
|
|
8
8
|
"repository": "https://github.com/gamesfun/loot"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xgamesfun/solana",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"mcpName": "io.github.XGamesFun/solana-kit",
|
|
5
5
|
"description": "Loot boxes, gacha, shops, lotteries, auctions, NFT staking, crafting and rewards on Solana without writing a smart contract: one shared program, its JS client, a CLI, and an MCP server and skill so Claude Code, Codex or any AI agent can design, check, simulate and launch an economy.",
|
|
6
6
|
"license": "Apache-2.0",
|
package/release.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.
|
|
3
|
-
"programId": "
|
|
4
|
-
"sbfBytes":
|
|
5
|
-
"sbfSha256": "
|
|
6
|
-
"idlSha256": "
|
|
7
|
-
"clientSha256": "
|
|
2
|
+
"version": "0.28.0",
|
|
3
|
+
"programId": "xgamesVsZBpCVgJuatfYAFJRmQoccfQf5qtUFNp2Eet",
|
|
4
|
+
"sbfBytes": 1794616,
|
|
5
|
+
"sbfSha256": "ac8b09ed2c3a3f7daa2dfab55d2f6dea19fa43e4c98b44a82da2a68a7bc8ebbe",
|
|
6
|
+
"idlSha256": "ef3b8043d62c606e850df75773b4535cdb08206216e17aca653111a77403abd7",
|
|
7
|
+
"clientSha256": "166349fb1609e0a5e051eba44691783ea1ffaf6f307983a7c24c4c3f0a44f60e"
|
|
8
8
|
}
|
|
@@ -10,9 +10,9 @@ writes or deploys a contract: the spec is checked, simulated and priced by the `
|
|
|
10
10
|
signed by a key file on the owner's own machine, once they have read what will be sent and said yes. It runs on
|
|
11
11
|
**devnet** until the program is audited.
|
|
12
12
|
|
|
13
|
-
The tools are the `xsolana_*` MCP tools. Without MCP, the same from a terminal: `npx -y @xgamesfun/solana@0.
|
|
14
|
-
`npx -y @xgamesfun/solana@0.
|
|
15
|
-
or `npx -y @xgamesfun/solana@0.
|
|
13
|
+
The tools are the `xsolana_*` MCP tools. Without MCP, the same from a terminal: `npx -y @xgamesfun/solana@0.28.0 <guide|examples|check|simulate|cost|explain|review|publish|status> [xsolana.json]`,
|
|
14
|
+
`npx -y @xgamesfun/solana@0.28.0 token <mint>` for a coin made elsewhere,
|
|
15
|
+
or `npx -y @xgamesfun/solana@0.28.0 tool <name> '<json>'` for any tool (always with the exact version).
|
|
16
16
|
|
|
17
17
|
## Rules (always)
|
|
18
18
|
|
|
@@ -137,7 +137,7 @@ or `npx -y @xgamesfun/solana@0.27.2 tool <name> '<json>'` for any tool (always w
|
|
|
137
137
|
9. **When they say "put it live"**: `xsolana_publish` lists every step and its cost and gives the commands, which you
|
|
138
138
|
run in the project folder exactly as given (they name the exact version; never drop it):
|
|
139
139
|
- **A new economy gets a key file**, unless the project has one:
|
|
140
|
-
`npx -y @xgamesfun/solana@0.
|
|
140
|
+
`npx -y @xgamesfun/solana@0.28.0 keygen ~/.config/xsolana/<name>.json`. Give the person the address it prints. A
|
|
141
141
|
Solana key file they already have and name themselves (`~/.config/solana/id.json`) works the same; never go
|
|
142
142
|
looking for one.
|
|
143
143
|
- **Say what the key file is** before anything is sent: the project's owner, and, unless the spec says otherwise,
|
|
@@ -152,7 +152,7 @@ or `npx -y @xgamesfun/solana@0.27.2 tool <name> '<json>'` for any tool (always w
|
|
|
152
152
|
(`xsolana_cost`), any seed in a coin that already exists, and every NFT a stash, a raffle or an auction names. A
|
|
153
153
|
collection they already have needs the key's address as its update authority. If they would rather not move
|
|
154
154
|
those, offer the browser wallet.
|
|
155
|
-
- **Show it**: `npx -y @xgamesfun/solana@0.
|
|
155
|
+
- **Show it**: `npx -y @xgamesfun/solana@0.28.0 approve xsolana.json --keypair <key file>` prints every step with
|
|
156
156
|
what it pays and trusts, the warnings, the notice and a code, and sends nothing. Give the person that printout as
|
|
157
157
|
it is, not a summary of it, and ask.
|
|
158
158
|
- **On their yes**, the same command with `--yes <code>`. What lands is written back into `xsolana.json`. If it
|