Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task 4 ~ Ric Li C #448

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions learn/Ric.Li.C/task4/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

### task4: 设计一个众筹合约,众筹资金逐步释放

1. 运用 `zkapp-cli` 命令行工具初始化工程
2. 使用 `o1js` 设计一个众筹合约,在指定时间窗口间允许任何人投入MINA,有硬顶
3. 时间窗口关闭后众筹资金须按照以下 `vesting` 计划逐步释放: 提款人可以立即提走20%,而后每200个区块释放10%直至释放完毕

请提交 `Jest` 本地测试交互脚本,以及部署到 `DevNet` 的 `tx hash`。