
Skin locks a stake of testnet MON behind a written promise with a deadline. If you keep the promise in time, the contract returns your stake. If you do not, any person can send your stake to a beneficiary. That person also gets 5 percent of it. I built one Solidity contract on the Monad testnet and a web application. The contract has three functions and no administrator. The application shows a live wall of pledges. Pledge 0 on the wall is my own pledge. The pledge says I will submit this project before the hackathon deadline. You can examine it on the chain. I learned two lessons. One: test the application through a real wallet. A test through the API alone does not find wallet errors. Two: a small bounty makes enforcement automatic. No person must remember to punish a broken promise.
讨论
还没有评论,快来分享你的看法吧。