Sol.College

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 directorySource files
js29
bot16
api10
nft-assets6
tools5
.private2
(root)1
archived1

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.

tr1h/huma-chain-xyz · 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' }                );
  1. Line 139 createTransferInstruction(: An SPL token transfer through the Token Program.
  2. 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.

DirectoryCommandRuns
.npm run devnodemon api/tama_supabase_api.js
.npm run startnode api/tama_supabase_api.js

What you could build from it