@xgamesfun/solana weekly downloads statistics
By xgamesfun · npm · Claude Code
A toolkit for building game economies on Solana: design, check, simulate and review shops, items, crafting, rewards, NFT staking, loot boxes and auctions as a JSON spec, with no smart contract to write. One shared program, its JS client, a CLI, and an MCP
@xgamesfun/solana has 854 recorded weekly downloads on npm, an increase of 102% over the past 30 days, ranking #2122 of 3,247 tracked listings.
About @xgamesfun/solana
xsolana
Build a Solana shop, loot box or rewards system in one JSON file. Check the rules, simulate payouts and see what
players pay before you go live. xsolana is the CLI in @xgamesfun/solana. loot is the program every project shares.
Start on devnet with test funds. Set "network": "mainnet" to use real money. The program has not been
independently audited. Before you use it · Disclaimer
Names
solana-kit is this repository. xgames.fun hosts games. xcore is its hosting CLI. You can use xsolana with any host. xcore
What you can build
| Build | For example |
|---|---|
| Shops | A potion for 0.01 SOL, a skin paid in your own token, an item that costs an NFT |
| Loot boxes, gacha, packs | A crate with a 1% legendary, a five-card pack with a guaranteed rare, gacha pity |
| Lotteries and raffles | A weekly draw, a no-loss lottery, a raffle for an NFT with an allowlist |
| Auctions | Highest bid wins, and anyone outbid gets their money back at once |
| NFT staking | Lock tiers and boosts, for your collection or any collection you didn't mint |
| Crafting | Burn three common gems to forge a rare one |
| Contests and predictions | Pick a side, prizes by rank or by stake |
| Rewards, quests, airdrops | Capped rewards your game's server vouches for, daily chests, holder-only drops |
| Trading between players | Listings for sale or rent, offers, and loans against an NFT |
Every move leaves a public receipt on chain. Random rolls come from MagicBlock's verifiable randomness (VRF).
How it works
- Describe your economy in
xsolana.json, or ask your coding agent to write it. - Run
checkfor errors,simulatefor payouts andcostfor fees. Runreviewto see who can claim each payout. - Preview setup with
approve. It lists the transactions. When you're ready, run it again with the confirmation code. If setup stops partway through, earlier confirmed transactions stay on chain. Rerunapproveto review what's left.
The wallet that signs setup owns the project. With a key file, anyone who reads it can act as you. Keep it outside your repository and back it up. For real funds, prefer a browser wallet backed by hardware. Try it on devnet first. Owner keys and handover
Choose where sales go before you approve. Set "treasury": "wallet:<address>" in your spec. Sales default to the
signing wallet. To change the treasury later, the owner must send a separate transaction outside the spec.
Collection resale royalties go to the original signing wallet.
A spec in 10 fields · Loot box tutorial
Get started
With an AI agent
Claude Code
/plugin marketplace add XGamesFun/solana-kit
/plugin install xsolana@xgamesfun
Codex
codex plugin marketplace add XGamesFun/solana-kit
codex plugin add xsolana@xgamesfun
claude.ai, ChatGPT or Claude Desktop: add https://xgames.fun/mcp as a custom connector. Nothing to install.
Cursor, Cline, opencode or any MCP client: run npx -y --package=@xgamesfun/solana@0.29.14 xsolana mcp.
Any agent that reads skills (Copilot, Gemini CLI, Windsurf…): npx skills add XGamesFun/solana-kit.
Then ask for the economy you want. docs/harnesses.md lists more ways in, such as the skill as a zip for desktop apps and the server over HTTP.
From a terminal
# find a worked example close to your idea
npx -y @xgamesfun/solana@0.29.14 examples shop with loot boxes
# save a working shop with a potion and a mystery box
npx -y @xgamesfun/solana@0.29.14 examples hello-shop --save xsolana.json
# using a coin you already launched? read it from the chain into its "tokens" entry
npx -y @xgamesfun/solana@0.29.14 token <its mint address>
# does it work? where does the money go? what does it cost?
npx -y @xgamesfun/solana@0.29.14 check xsolana.json
npx -y @xgamesfun/solana@0.29.14 simulate xsolana.json
npx -y @xgamesfun/solana@0.29.14 cost xsolana.json
# review the rules and who can claim each payout
npx -y @xgamesfun/solana@0.29.14 explain xsolana.json
npx -y @xgamesfun/solana@0.29.14 review xsolana.json
# make a project key and fund the printed address with devnet SOL
npx -y @xgamesfun/solana@0.29.14 keygen ~/.config/xsolana/my-game.json
# preview setup
npx -y @xgamesfun/solana@0.29.14 approve xsolana.json --keypair ~/.config/xsolana/my-game.json
# send the setup you reviewed
npx -y @xgamesfun/solana@0.29.14 approve xsolana.json --keypair ~/.config/xsolana/my-game.json --yes <code>
Use Node 22 or newer. Run commands from the folder containing your spec or a parent folder.
xsolana help <command> lists options. Add --verbose for detail or --json for scripts.
Exit codes are 0 for success, 1 for failure and 2 for a usage error.…
Description from the npm listing.
- solana
- solana-program
- web3
- nft
- nft-staking
- staking
- loot-box
- gacha
- lottery
- raffle
- auction
- crafting
- game-economy
- web3-gaming
- gamefi
- token
- spl-token
- metaplex-core
- no-smart-contract
- vrf
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm Claude Code plugins
All 20 @xgamesfun/solana alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@xgamesfun/solana. First seen Nov 25, 2026; last successful collection Dec 3, 2026. See the methodology.