Skip to content

Ghostnet

Ghostnet is my blockchain simulation for trading, staking, and checking a wallet without spending real money. It uses actual cryptocurrency prices, but every balance, trade, and reward is fictional. Hollywood Stocker and SeedPhrase share the same wallet and ledger.

Trading and staking

The exchange supports USD, GHOST, and wrapped Bitcoin, Ethereum, Solana, and Tezos. CoinGecko supplies prices, with GHOST based on the four cryptocurrencies’ average. Percentage buttons and MAX make it easy to choose an amount; each swap sends a simulated 0.3% fee to the treasury.

Ghostnet DEX Trading Interface

Staking converts the GHOST position into dollars, calculates the return, and converts it into the pool’s reward token. Scheduled jobs distribute the rewards. Seeing a notification such as “GHOST/XTZ Pool: +18.95 XTZ” scratches the same itch for me, even though the tokens are fictional.

One wallet across games

A Hollywood Stocker purchase draws from the shared cash balance, while solving a SeedPhrase puzzle can add a token reward. The block explorer shows which system processed each transaction and lets me filter swaps, trades, and rewards. One history makes it easier to trace what happened across the games.

Ghostnet Block Explorer

Prices and reliability

Seven-day and 30-day candlestick views show how the source prices move. Cached prices keep the interface usable when CoinGecko is unavailable or rate-limited.

Ghostnet Price Charts

The PHP backend uses atomic JSON writes and file locking to coordinate updates. Round-down handling keeps a MAX swap from requesting a fraction more than the available balance. An early backup failure cost me nearly a week of data, which is why verifying the backup became part of making larger integration changes.