Full lesson
huma-chain-xyz
Ultimate Solana pet game with 5 types, evolution & achievements
What it does
From the project README:
[](https://solanatamagotchi.com) [](https://t.me/gotchigamebot) [](LICENSE) [](https://solanatamagotchi.com)
- Original
- tr1h/huma-chain-xyz
- SuperStack fork
- Blockchains/huma-chain-xyz @
1ca1896 - Stars
- 1
- Last push (original)
- 2026-01-16
- Languages
- HTML, JavaScript, PHP, Python, CSS, PLpgSQL
- Detected stack
- Metaplexweb3.js
- Categories
- Gaming
- Licence
- MIT
Architecture
71 source files. By extension: .js ×55, .py ×16.
| Top-level directory | Source files |
|---|---|
js | 29 |
bot | 16 |
api | 10 |
nft-assets | 6 |
tools | 5 |
.private | 2 |
(root) | 1 |
archived | 1 |
Dapp: devnet deploy pending
⏳ Devnet deploy pending — goes live when the devnet wallet is topped up. This fork's own dapp is not deployed yet, so there is no program address or transaction to show. It is queued in dapp-queue.txt; once devnet SOL is available it is deployed, exercised with real devnet transactions, and this section switches to the live dapp at /dapps/huma-chain-xyz/. Until then, the lesson and step-by-step guide below are complete, and you can run it locally with the commands below.
Key code, explained
Excerpts chosen automatically where the code uses the most Solana concepts, pinned to the fork's commit.
api/tama-transfer.js L133–155 @ 1ca1896 · MIT · original p2eKeypair, mintAddress, destinationPubkey ); transaction = new Transaction().add( createTransferInstruction( p2eTokenAccount.address, destinationTokenAccount.address, p2eKeypair.publicKey, transferAmount, [], TOKEN_PROGRAM_ID ) ); } // Send transaction signature = await connection.sendTransaction( transaction, [p2eKeypair], { skipPreflight: false, preflightCommitment: 'confirmed' } );- Line 139
createTransferInstruction(: An SPL token transfer through the Token Program. - Line 151
signature = await connection.sendTransaction(: Submits the signed transaction to the cluster.
How to run, build and test
These commands come from the repo's own manifests (package.json scripts, Anchor.toml, Cargo, go.mod, Makefile). Check the README for prerequisites and environment variables.
| Directory | Command | Runs |
|---|---|---|
. | npm run dev | nodemon api/tama_supabase_api.js |
. | npm run start | node api/tama_supabase_api.js |
What you could build from it
- Fork the SuperStack copy and extend it within the Gaming gaps listed on the idea page.
- Learn the pattern first: Program Derived Addresses (PDAs)
- Learn the pattern first: Compressed NFTs and state compression
- Learn the pattern first: Building and sending transactions from a client