Skip to content

Commit 53ca887

Browse files
authored
Merge pull request #486 from liberhe/dev
arrange the content
2 parents 44987bb + fa769cd commit 53ca887

File tree

15 files changed

+33
-21
lines changed

15 files changed

+33
-21
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
项目秉持 [开源大学](https://github.com/rebase-network/Rebase-University) 的理念,会以DAO治理形式管理此开源项目。本项目受[以太坊基金会](https://esp.ethereum.foundation/en/)赞助,我们会将资金奖励给项目的优秀贡献者。欢迎关注我们的推特 [Dapp-Learning twitter](https://twitter.com/Dapp_Learning)[discord](https://discord.gg/Z7zARtYu)
2222
项目由来可以阅读Rebase公众号文章[《Dapp-Learning 欢迎您的加入》](https://mp.weixin.qq.com/s/79eRMtB_yz8G6H8_saCeLw)
2323

24-
此项目仍在开发中,适合各阶段的开发者加入,欢迎提 PR 来创建更多的教程项目或完善已有的教程项目🤗。提交一次PR或者在[Rebase大学](https://docs.qq.com/doc/DS0hYTUJiUVlqVXVQ)进行一次分享即可加入我们开发者交流群,贡献三次高质量PR即可成为PR审核者,并参与决议项目走向。**项目管理细则**请参看[新人如何参与以及项目治理规则](./docs/dao.md),欢迎理念相同的小伙伴加入。
24+
此项目仍在开发中,适合各阶段的开发者加入,欢迎提 PR 来创建更多的教程项目或完善已有的教程项目🤗。项目交流可加入我们的[discord](https://discord.gg/Z7zARtYu)。提交一次PR或者安排一次分享(https://docs.qq.com/doc/DQ3hWeVVXQ3JPbXFS)即可加入我们开发者群,贡献三次高质量PR即可成为PR审核者,并参与决议项目走向。**项目管理细则**请参看[新人如何参与以及项目治理规则](./docs/dao.md),欢迎理念相同的小伙伴加入。
2525

2626

2727

@@ -149,6 +149,7 @@ DAPP架构请参考文章--[从架构维度看Web2.0与Web3.0应用之别](https
149149
62. [Referral Code](https://developers.thundercore.com/docs/referral-contract/)
150150
63. [HTLC-crosschain](https://yuanxuxu.com/2020/08/05/%E5%8C%BA%E5%9D%97%E9%93%BE%E8%B7%A8%E9%93%BE%E6%8A%80%E6%9C%AF%E4%B9%8B%E5%93%88%E5%B8%8C%E6%97%B6%E9%97%B4%E9%94%81/)
151151
64. [Web3-Rust](https://github.com/tomusdrw/rust-web3)
152+
65. [ZK-NFT](https://github.com/kevinz917/zk-NFT)
152153

153154
欢迎提交 PR,[添加新的基础任务或者更新上面的任务](https://github.com/rebase-network/Dapp-Learning/issues/new)
154155

@@ -183,6 +184,7 @@ DAPP架构请参考文章--[从架构维度看Web2.0与Web3.0应用之别](https
183184
18. [Set](https://www.tokensets.com/)
184185
19. [Dhedge](https://docs.dhedge.org/dhedge-protocol/managing-on-v2)
185186
20. [Liquity](defi/Liquity/readme.md)
187+
21. [RAI](https://www.youtube.com/watch?v=ADK91Zw4sJA&list=PL-GxJch-YeZerVVV8dY8qU2VkJfbnSfdN&index=3)
186188

187189

188190
## NFT 进阶

basic/38-Flashbots-and-Eden/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
// todo
44
Fix the issue of not work of test code && split Eden to other directory
55

6-
## 参考链接
7-
8-
- flashbots github: https://github.com/flashbots/pm#resources
9-
- Eden Network 介绍: https://imtoken.fans/t/topic/41713
10-
- Eden Network 官方文档: https://docs.edennetwork.io/mechanism
11-
- flashbots 介绍: https://www.chainnews.com/zh-hant/articles/008263592610.htm
12-
- flashbots 官网文档: https://docs.flashbots.net/new-to-mev
6+
## 参考链接
7+
flashbots github: https://github.com/flashbots/pm#resources
8+
Eden Network 介绍: https://imtoken.fans/t/topic/41713
9+
Eden Network 官方文档: https://docs.edennetwork.io/mechanism
10+
flashbots 介绍: https://www.chainnews.com/zh-hant/articles/008263592610.htm
11+
flashbots 官网文档: https://docs.flashbots.net/new-to-mev
12+
blocknative:https://www.blocknative.com/blog/flashbots?utm_campaign=MEV&utm_medium=email&_hsmi=186954588&_hsenc=p2ANqtz-9CqQ6OB52h7Sx9VLFDspHcAxfN66k_EOARwGtRkJXxJdNRvBAk0kaQNhKxwYwZ8nz99SyyaKCQrdF-5r_3Jm9siVO9lw&utm_content=186955925&utm_source=hs_email

basic/42-merkle-distributor-airdrop/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,6 @@ npx hardhat test
111111
- merkel drop discussion: https://forum.openzeppelin.com/t/creating-a-claimable-air-drop-too-many-addresses/6806
112112
- Evolution of Airdrop: https://medium.com/hackernoon/evolution-of-airdrop-from-common-spam-to-the-merkle-tree-30caa2344170
113113
- github demo: https://github.com/smartzplatform/constructor-eth-merkle-airdrop
114-
- uni aridrop :https://github.com/Uniswap/merkle-distributor
114+
- uni airdrop :https://github.com/Uniswap/merkle-distributor
115+
- uni airdrop :https://steveng.medium.com/performing-merkle-airdrop-like-uniswap-85e43543a592
116+

basic/42-merkle-distributor-airdrop/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,9 @@
1717
"bugs": {
1818
"url": "https://github.com/OpenZeppelin/workshops/issues"
1919
},
20-
"dependencies": {
21-
"@openzeppelin/contracts": "4.0.0"
22-
},
2320
"devDependencies": {
2421
"@nomiclabs/hardhat-ethers": "^2.0.1",
25-
"@openzeppelin/contracts": "3.1.0",
22+
"@openzeppelin/contracts": "4.1.0",
2623
"@nomiclabs/hardhat-waffle": "^2.0.1",
2724
"ethereumjs-util": "^7.0.4",
2825
"chai": "^4.3.4",

crypto/readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ vitalik: https://vitalik.ca/general/2017/02/01/zk_snarks.html
1414
介绍: https://hackmd.io/@yezhang/S1_KMMbGt
1515
Scroll Tech: https://hackmd.io/@yezhang/S1sJ2cEWY
1616
0x parc: https://0xparc.org/blog/zk-learning-group
17+
https://blog.goodaudience.com/understanding-zero-knowledge-proofs-through-simple-examples-df673f796d99
1718

1819
## 参考链接
1920
- zk workshop: https://www.zkhack.dev/
2021
- zkp: https://github.com/appliedzkp
2122
- vitalik ca: https://vitalik.ca/general/2021/11/05/halo.html
2223
- zkevm book: https://hackmd.io/@liangcc/zkvmbook/https%3A%2F%2Fhackmd.io%2FHfCsKWfWRT-B_k5j3LjIVw
2324
- 笔记: https://www.yuque.com/u428635/scg32w/edmn74#a8ffe0d3
24-
- stark: https://aszepieniec.github.io/stark-anatomy/
25+
- stark: https://aszepieniec.github.io/stark-anatomy/
26+
- readpaper: https://readpaper.com/

dao/dao-project-research.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# DAO 项目研究
2-
2+
dao详细资料:https://www.bitmmp.com/index.php/topic,503649.msg503954.html#msg503954
33
- Gnosis Safe - 多签钱包,通常用于管理社区的资金。
44
- Snapshot - 链下投票平台,用于简单的基于代币治理。
55
- Discourse - 论坛,通常用于讨论治理提议。

defi/MakerDAO/DAO/readme.md

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

defi/RAI/readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# RAI
2+
3+
## 参考链接
4+
- 视频解析 https://www.youtube.com/watch?v=ADK91Zw4sJA&list=PL-GxJch-YeZerVVV8dY8qU2VkJfbnSfdN&index=3
5+
- tokenengineeringcommunity: https://tokenengineeringcommunity.github.io/website/

defi/Uniswap-V2/contract/UniswapV2Pair.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,9 @@ contract UniswapV2Pair is IUniswapV2Pair, UniswapV2ERC20 {
102102
blockTimestampLast = blockTimestamp;
103103
emit Sync(reserve0, reserve1);
104104
}
105-
// TODO 待完善
105+
// 参考白皮书protocol fee解释:https://uniswap.org/whitepaper.pdf
106+
//正常每次可以交易收取手续费,但是太耗费gas;所以只在每次添加和移除流动性的时候才进行手续费计算
107+
//sm/(sm+ s1) = a(L2-L1)/L2, 增加的流动性份额跟流动性份额占比 其实就是手续费所占的流动性比例。
106108
// if fee is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k)
107109
function _mintFee(uint112 _reserve0, uint112 _reserve1) private returns (bool feeOn) {
108110
address feeTo = IUniswapV2Factory(factory).feeTo();

defi/Uniswap-V2/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,4 @@ Interface 是 User Interface 的含义,此为 Uniswap 网站的代码,包括
4848
- 手把手教你开发去中心化交易所: <https://www.bilibili.com/video/BV1jk4y1y7t9?p=1>
4949
- 将UniswapV2部署到所有区块链—去中心化交易所Uniswap多链部署教学视频: <https://www.bilibili.com/video/BV1ph411e7bT?p=1>
5050
- V2交易界面: https://app.uniswap.org/#/swap?use=V2
51+
- starli: https://learnblockchain.cn/article/1480

defi/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
## 参考链接
44

55
- defi之道: https://docs.qq.com/doc/DVGJRRmJxUFhVc3Rv
6-
- 量化分析书籍: https://github.com/SuperCV/Book
6+
- 量化分析书籍: https://github.com/SuperCV/Book

docs/books.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
- [《货币未来》](https://book.douban.com/subject/35178904/)
1111
- [《历代经济变革得失》](https://book.douban.com/subject/24851460/)
1212
- [战争与国家形成:春秋战国与近代早期欧洲之比较](https://book.douban.com/tag/%E8%AE%B8%E7%94%B0%E6%B3%A2)
13-
- [第四次转折](http://m.ishare.iask.sina.com.cn/f/9679610.html)
13+
- [第四次转折](http://m.ishare.iask.sina.com.cn/f/9679610.html)
1414
- [《乌合之众》](https://book.douban.com/subject/6966569/)
1515
- [《娱乐至死》](https://book.douban.com/subject/1062193/)
1616
- [《聪明的投资者》](https://book.douban.com/subject/5243775/)

docs/dao.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
中文 / [English](https://github.com/rebase-network/Dapp-Learning/blob/main/docs/dao-en.md)
22

33
## 如何参与
4-
- 提交一次PR 或 关注公众号 「Rebase社区」并贡献一次技术分享,然后添加Maintainer微信yanyanho126申请入群,或直接联系Harry(微信号:ljyxxzj)进开发者群
4+
- 欢迎加入我们discord: https://discord.gg/Z7zARtYu
5+
- 提交一次PR 或 安排贡献一次技术分享即可加入开发群,然后添加Maintainer微信yanyanho126申请入群。
56
- [提交PR文字教程](https://github.com/BNineCoding/Dapp-Learning/blob/main/docs/Create_DApp-Learning_PR_Tutorial.md)
67
- [提交PR视频教程](https://www.bilibili.com/video/BV1Bq4y1r7dx?spm_id_from=333.999.0.0)
7-
- 已在Rebase社区分享过的小伙伴可以直接申请入群
8-
- 欢迎加入我们discord: https://discord.gg/Z7zARtYu
8+
- [Dapp-Learning分享时间安排](https://docs.qq.com/doc/DQ3hWeVVXQ3JPbXFS)
9+
910
- 采用集市开发方式,任何人都可以提交PR,**一个参考链接,一个文档修改**均可,无须task完成100%再提交,开发者会一起帮忙完善项目, 可在此添加链接和文档[Dapp-Learning-Arsenal](https://github.com/rebase-network/Dapp-Learning-Arsenal)
1011
- 每个项目readme请务必加上参考链接这一目录,附上任务的相关参考资料
1112
- solidity 建议0.6以上版本

0 commit comments

Comments
 (0)