经过实战验证的 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
从模式入手,深入阅读文档,或加入开发者社区获取支持。