On-Chain vs Off-Chain
MydEmpire is built to stay transparent without making gameplay slow or annoying. Whenever real HIVE moves between wallets, that action is on-chain. Gameplay actions that need speed, comfort, and frequent updates are handled inside the game server.
On-Chain
These actions involve real HIVE, real wallet movement, or treasury transfers. Players should expect Hive Keychain confirmation when these happen.
- Buying Genesis Packs with HIVE
- Buying EMP with HIVE
- Selling EMP back for HIVE
- NFT marketplace trades involving HIVE
- Revenue split and treasury movements between MydEmpire wallets
Off-Chain
These are gameplay systems that run inside MydEmpire for speed and better user experience. No wallet popup is needed for these actions.
- Opening packs and receiving in-game assets
- Building and upgrading factories
- EMP spending for maintenance and utility
- EP calculation, rankings, and leaderboards
- Notifications, logs, and empire history
Game Architecture & Blockchain Integration
| System Component | Status | Description |
|---|---|---|
| HIVE Payments | On-chain | All purchases and payments are executed through Hive Keychain and recorded on the Hive blockchain. |
| Treasury Wallets | On-chain | Game treasury balances are held in public Hive accounts and can be independently verified on-chain. |
| Pack Purchases | On-chain | Buying packs requires an on-chain HIVE transfer, ensuring every purchase is publicly verifiable. |
| Pack Opening Events | Hybrid | Pack opening results are generated by the game engine for fast gameplay and may be recorded on-chain as transparency events. |
| Asset Ownership | Hybrid | Game assets such as Land, Blueprints, and Relics are currently managed in the MydEmpire game database for performance, while important asset events can be logged on-chain for transparency. |
| Gameplay Systems | Off-chain | Factory production, upgrades, maintenance, and gameplay mechanics run off-chain to ensure fast and smooth gameplay. |
Action breakdown
The table below shows the practical difference between wallet-level actions and game-engine actions inside MydEmpire.
| Action | Area | Where it happens | Status | Explanation |
|---|---|---|---|---|
| Buying Genesis Packs | Pack sale | On-chain HIVE transfer | On-chain | You pay with HIVE through Hive Keychain, so the payment is visible on Hive. |
| Buying EMP with HIVE | EMP economy | On-chain payment, off-chain EMP credit | On-chain | HIVE payment is on-chain. EMP is then credited to your in-game balance. |
| Selling EMP for HIVE | EMP economy | On-chain HIVE payout | On-chain | When HIVE is sent back to your wallet, that payout is on-chain. |
| NFT marketplace trades | Player-to-player | On-chain HIVE transfer + in-game ownership update | On-chain | HIVE payment is on-chain. Asset ownership is then updated in the game system. |
| Revenue distribution & treasury movement | Platform | On-chain transfers between MydEmpire wallets | On-chain | Treasury, DAO, founder, and reward-wallet transfers are executed as real wallet transfers. |
| Connecting wallet / login | Access | Off-chain session / account recognition | Off-chain | No HIVE moves here. The game only recognizes which Hive account is playing. |
| Opening packs | Gameplay | Off-chain game database | Off-chain | Pack results are generated inside the game system to keep gameplay fast and avoid unnecessary wallet confirmations. |
| Building factories on lands | Gameplay | Off-chain | Off-chain | Blueprint use, slot filling, and build logic are handled inside the backend. |
| Upgrading factories | Gameplay | Off-chain | Off-chain | Upgrade rules and time tracking are handled in the game engine. |
| Paying maintenance with EMP | Gameplay | Off-chain | Off-chain | EMP is deducted in-game. No HIVE wallet movement is involved at this stage. |
| EP (Empire Power) calculation | Scoring | Off-chain | Off-chain | All EP math is calculated on the server and used for rewards, status, and rankings. |
| Leaderboards & rankings | Scoring | Off-chain | Off-chain | Leaderboards are generated from game data rather than the blockchain directly. |
| Notifications & empire history | UX | Off-chain | Off-chain | Messages like maintenance due, ready to upgrade, or game history are stored by the backend. |
Why not put everything on-chain?
- Too many wallet popups would make normal gameplay frustrating.
- Fast strategy actions work better when processed instantly by the server.
- Not every small gameplay action needs to be written on-chain or require wallet confirmation.
- This keeps the game smooth while still preserving real HIVE transparency where it matters.
Future on-chain features
- Governance and voting for WRIT / RELIC based influence
- Prestige NFTs or special achievement records
- Snapshot-based reward claims or event participation
- Any future wallet action will be documented clearly on this page