Back to Home
Environment StateSandbox Node // Localhost
Level 1 Pokémon (ID: #25)
Evolution Stage:Stage 1
XP Level Progress0 / 1000 XP
HP Points0
Attack Power0
Defense Rating0
Speed Velocity0
Metadata Mutator
Simulate mutations by tweaking variables. Watch base stats scale dynamically.
Pokémon Level10lvl
Experience (XP)150xp
Battle Wins0wins
Mutations are local state only
SDK Code Output
This code block updates dynamically based on the state adjustments you make.
1import { PokeForgeSDK } from "@pokeforge/sdk";23// Create Connection4const pokeforge = new PokeForgeSDK({5 cluster: "mainnet-beta",6});78// Update creature stats based on mutations9await pokeforge.updateStats({10 creatureId: "pikachu-001",11 xp: 150,12 level: 10,13 wins: 0,14 evolutionStage: 1,15});1617Install the package using npm install @pokeforge/sdk. Run transaction mutations locally on a Solana Testnet using standard keypair signing accounts.
Sandbox Quick Cheat-Sheet
- Type Effectiveness: Water elements counter Fire, Fire counters Grass, Grass counters Rock, Rock counters Electric.
- Evolutions:Evolving fetches the next form from PokeAPI automatically and shifts names (e.g. Gastly -> Haunter -> Gengar) while copying stats.
- XP Scale Factor: Pokémon require
Level * 100XP to evolve. Running battles awards XP depending on opponent levels.