One-click apps
A template is one Solidity contract plus a playable page. In the Builder you drag one onto the canvas, fill in a short form and your wallet deploys it on your layer; the node turns live on the plate. The page at /apps/... is then shareable: anyone with a browser wallet can use it.
The five templates:
- Arcade. On-chain 2048. The contract checks every move and keeps the leaderboard. New tiles come from a keccak chain seeded by the player's committed secret and the block hash at reveal. A session key lets the game play without a wallet popup per move; it can only play, and it holds a small amount of HYPE for gas.
- Token and pool. An ERC-20 and a constant-product pool against HYPE, with a virtual HYPE reserve as a fair-launch curve. There are no LP tokens, so the pool cannot be withdrawn. A 1% fee goes to the address the deployer sets.
- Prediction. A parimutuel yes or no market in HYPE. The app owner writes the question and proposes the outcome after it closes. A proposal takes effect one hour later, so anyone can watch it. If no outcome is proposed within seven days of the close, everyone is refunded.
- NFT drop. A fixed-supply ERC-721 with a per-wallet limit and no allowlist. Art comes from a picker of engravings or an upload.
- Feed. Posts are events. Tips go to the author in HYPE, with 2% to a pot the owner chose at deploy.
New templates
A template is a folder: the contract, a test, and a page. Randomness never uses PREVRANDAO or blockhash alone, because on this stack PREVRANDAO is the constant 1 and the sequencer sees everything else.
Demiurge