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
패턴으로 시작하고, 문서를 참조하거나, 개발자 커뮤니티에 참여하세요.