適用於 Ergo 的經過驗證的智慧合約模式。複製、調整、部署。從代幣機制到 DeFi 基礎元件。
Create a standard fungible token in one transaction using EIP-4
Mint a unique NFT with on-chain metadata and image hash
Design mint/burn rules, capped supply and admin-controlled burn functions
Lock funds until a specific block height for scheduled payments
Spend if key A OR key B or external condition is satisfied
Require M out of N signatures to spend from a shared treasury
Simple on-chain DAO: proposal boxes, token-weighted voting, timelocked execution
Build a Uniswap-style AMM on Ergo (x*y=k) with LP tokens
Trustless swap between ERG and another chain using HTLC-style contracts
Borrow stable/credit tokens against locked ERG with liquidation rules
Time-based rewards distribution to LP stakers from a single vault
Safely read latest price/feed from an Oracle Pool inside a contract
Build an Oracle Pool that aggregates multiple data points and publishes median
Use Babel boxes so users pay network fees in arbitrary tokens
Design contracts that survive storage rent: state refresh and rent safety
On-chain crowdfunding where contributors are refunded if target is not reached
Time-bounded auctions with bids as boxes, automatic winner settlement
Generate one-time addresses/boxes for better transaction graph privacy
從模式開始,查閱文件,或加入開發者社群獲取支援。