Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4004 commits
Select commit Hold shift + click to select a range
b2f717e
build(deps): bump http-proxy-middleware
dependabot[bot] Oct 24, 2024
9b71f8f
Merge pull request #1204 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Oct 24, 2024
3c4500f
feature: add wallet connect readme
Catherine9201 Oct 25, 2024
4a778b9
docs: add V2 VS V1
Catherine9201 Oct 25, 2024
eaebee9
feature: Optimize code and Readme
Catherine9201 Oct 25, 2024
8eb7de0
feature: optimize code
Catherine9201 Oct 25, 2024
b80f98d
feature: optmize wallet-connect sign README
Catherine9201 Oct 25, 2024
97904f6
docs: add OP_CAT intro
Daniel6075 Oct 25, 2024
dd60e16
feature: connect Hello and World with OP_CAT
Daniel6075 Oct 25, 2024
24d5b52
feature: add example explain
Daniel6075 Oct 25, 2024
83937c0
docs: Optimize and supplement NFT readme
nova8787 Oct 25, 2024
b7b1d4d
fix: typo
nova8787 Oct 25, 2024
296622c
docs: add AaveGotvhi intro
nova8787 Oct 25, 2024
b35ca0c
perfs: remove redundant parts
luna2163 Oct 26, 2024
9972494
perfs: optmize the dao contracts
luna2163 Oct 26, 2024
2baf920
feat: add the dao test process
luna2163 Oct 26, 2024
4d65482
docs: add PR Title Types
jasonandjay Oct 26, 2024
56871b0
Merge branch 'Dapp-Learning-DAO:main' into main
jasonandjay Oct 26, 2024
7b49800
feature: add SBT example
trump386 Oct 26, 2024
64826ab
feature: expand the content of the iden3 project
trump386 Oct 26, 2024
4801b3a
feature: expand SBT readme
trump386 Oct 26, 2024
bbae904
fix: upgrade etherjs and hardhat to latest version
cheng521521 Oct 27, 2024
56b723d
Merge pull request #1212 from cheng521521/main
jasonandjay Oct 29, 2024
f0f86bd
build(deps): bump http-proxy-middleware
dependabot[bot] Oct 29, 2024
020cbc5
Merge pull request #1210 from jasonandjay/main
jasonandjay Oct 29, 2024
196081f
Merge pull request #1208 from nova8787/main
jasonandjay Oct 31, 2024
2c223ab
Merge pull request #1207 from Daniel6075/main
jasonandjay Oct 31, 2024
1e72932
Merge pull request #1206 from Catherine9201/main
jasonandjay Oct 31, 2024
f5a093a
Merge pull request #1211 from trump386/main
jasonandjay Oct 31, 2024
f328e70
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
luna2163 Nov 2, 2024
b378793
docs: ensure consistency in the README's language
luna2163 Nov 2, 2024
7d9fe78
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
eva1025 Nov 2, 2024
337b2c4
feat: add lighting network
eva1025 Nov 2, 2024
3b04d21
wip: add LN config
eva1025 Nov 2, 2024
e023e97
wip: add technical principles
eva1025 Nov 2, 2024
e4a2ac4
wip: governance of gitcoin
12asher Nov 4, 2024
97e5dff
wip: operation of gitcoin
12asher Nov 4, 2024
a621d49
wip: workStream of gitcoin
12asher Nov 4, 2024
c38efbe
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
bblairr Nov 4, 2024
6100084
add dao project
bblairr Nov 4, 2024
27872c9
improve dao faq
bblairr Nov 4, 2024
f0633da
add daos
bblairr Nov 4, 2024
57ce16e
Merge pull request #1209 from luna2163/main
jasonandjay Nov 4, 2024
5162477
Merge pull request #1213 from Dapp-Learning-DAO/dependabot/npm_and_ya…
jasonandjay Nov 4, 2024
536b685
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
yihanga Nov 5, 2024
4374cca
wip: add BTC HDWallet
yihanga Nov 5, 2024
f693cd1
wip: add derive process
yihanga Nov 5, 2024
fbd8a08
wip: add mnemonic of hdwallet
yihanga Nov 5, 2024
f357a8a
wip: add extendKeys
yihanga Nov 5, 2024
88c8293
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
typeofYh Nov 6, 2024
223f9a8
feat: enhance Frax project description and algorithm explanation
typeofYh Nov 6, 2024
c3c34b4
wip: enhance dydx perpetual
SpiderMan670 Nov 6, 2024
509329a
wip: add initial implementation for DYDX perpetual pricing and rate
SpiderMan670 Nov 6, 2024
5a8cded
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
SpiderMan670 Nov 6, 2024
2a536ff
wip: add Validium
SpiderMan670 Nov 6, 2024
a5e8ff1
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
decentraldev1 Nov 6, 2024
988e1fa
doc: add Lido intro
decentraldev1 Nov 6, 2024
2c94c11
feat: add stETH analyze
decentraldev1 Nov 6, 2024
aedef60
Merge pull request #1214 from eva1025/main
jasonandjay Nov 7, 2024
01f55a4
Merge pull request #1217 from yihanga/main
jasonandjay Nov 7, 2024
15300d1
Merge pull request #1220 from SpiderMan670/main
jasonandjay Nov 7, 2024
0c06623
Merge pull request #1216 from bblairr/main
jasonandjay Nov 7, 2024
190e3c7
docs: remove invalid links and supplement learning materials
ethsmartcoder Nov 16, 2024
eabf09f
build(deps): bump cross-spawn
dependabot[bot] Nov 19, 2024
873be28
docs: fix 404 status URL in README.md
wangjingcun Nov 26, 2024
91d7d0a
Update books-en.md
Danyylka Nov 27, 2024
0ae5797
Update idena.md
Danyylka Nov 27, 2024
dced103
Merge pull request #1226 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 1, 2024
b49d03a
build(deps): bump cross-spawn in /basic/09-hardhat-react/frontend
dependabot[bot] Dec 1, 2024
795ec9c
Merge pull request #1225 from ethsmartcoder/main
jasonandjay Dec 1, 2024
ad36c73
Merge pull request #1233 from Danyylka/main
jasonandjay Dec 1, 2024
4fc5d4a
Merge pull request #1229 from wangjingcun/main
jasonandjay Dec 1, 2024
2c0a7af
build(deps): bump path-to-regexp and express
dependabot[bot] Dec 5, 2024
be8f39e
fix: typos in documentation files (#1228)
leopardracer Dec 9, 2024
f52f596
build(deps): bump nanoid in /basic/09-hardhat-react/frontend
dependabot[bot] Dec 11, 2024
f83ad3a
docs: remove invalid link
decentraldev1 Dec 11, 2024
8038184
docs: update english version
decentraldev1 Dec 11, 2024
d67617e
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning int…
decentraldev1 Dec 11, 2024
7f1d649
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
Heracles4179 Dec 11, 2024
5d72970
docs: add testnet diff & faucet
Heracles4179 Dec 11, 2024
e22435b
docs: add cn version
Heracles4179 Dec 11, 2024
ee562f2
Merge pull request #1234 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 13, 2024
f065c06
Merge pull request #1236 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 13, 2024
25875e3
Merge pull request #1235 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 13, 2024
7f088e0
build(deps): bump nanoid in /basic/11-react-express-hardhat/frontend
dependabot[bot] Dec 13, 2024
f9b102c
Merge pull request #1239 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 13, 2024
ea7b1dc
docs: add tasks for BTC ecosystem (#1218)
jasonandjay Dec 13, 2024
33a116c
build(deps): bump path-to-regexp and express
dependabot[bot] Dec 13, 2024
dfc106d
Merge pull request #1219 from typeofYh/main
yanyanho Dec 13, 2024
3a13062
Merge pull request #1240 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 13, 2024
840ad41
Merge pull request #1223 from decentraldev1/ldo
yanyanho Dec 13, 2024
a18de1d
Merge pull request #1222 from yihanga/main
yanyanho Dec 13, 2024
1743dd8
Merge pull request #1215 from 12asher/main
jasonandjay Dec 13, 2024
c8eec7e
Merge pull request #1237 from decentraldev1/doc
jasonandjay Dec 13, 2024
8af0c0d
Merge pull request #1238 from Heracles4179/main
jasonandjay Dec 13, 2024
2d51266
wip: add dai and maker info
Odysseus130 Dec 26, 2024
dba8de1
wip: Introduction to increasing investment in U.S. Treasury bonds
Odysseus130 Dec 26, 2024
62ea852
wip: remove useless info
Odysseus130 Dec 26, 2024
cc274d2
docs: add into of SynFutures
achilles198298 Dec 26, 2024
1527691
docs: add comparative analysis of SynFutures
achilles198298 Dec 26, 2024
d0fdd28
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
achilles198298 Dec 26, 2024
8124dfd
fix: remove invalid kovan and add more tools
hercules20008 Dec 26, 2024
2038507
fix: Update the English version simultaneously
hercules20008 Dec 26, 2024
2f4be9e
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
hercules20008 Dec 26, 2024
6782835
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
paris-10 Dec 26, 2024
ab0c0bc
wip: optimize ERC721A
paris-10 Dec 26, 2024
c1edc18
wip: add comparative analyze for ERC721、ERC72A
paris-10 Dec 26, 2024
e331db2
Update principle.md (#1247)
Daulox92 Jan 6, 2025
b41e56c
feat: add zkP2P learning document (#1227)
Einstellung Jan 6, 2025
984d3a5
feat: add SHARP of starEX (#1224)
SpiderMan670 Jan 6, 2025
b9aaf98
Merge pull request #1244 from paris-10/main
jasonandjay Jan 9, 2025
4257f7a
add BTC/Basic/Transaction
Jaove-ee Feb 1, 2025
da45fe6
Merge branch 'Dapp-Learning-DAO:main' into main
hercules20008 Feb 3, 2025
5a8c143
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
Odysseus130 Feb 3, 2025
2e38674
docs: add more 1inch intro
Odysseus130 Feb 3, 2025
b7cdae7
wip: add 1inch aggregation protocol analysis
Odysseus130 Feb 3, 2025
54597ff
wip: add 1inch developer portal analysis
Odysseus130 Feb 3, 2025
179a8df
wip: add 1inch wallet intro
Odysseus130 Feb 3, 2025
35d94f5
wip: add 1inch dao analysis
Odysseus130 Feb 3, 2025
4a43fbe
Merge branch 'main' of github.com:Dapp-Learning-DAO/Dapp-Learning
achilles198298 Feb 3, 2025
1a3b748
remove useless info
achilles198298 Feb 3, 2025
204de7e
add pendle
paris-10 Feb 3, 2025
3644428
intro yield tokenization
paris-10 Feb 3, 2025
9c99b1f
build(deps): bump openssl in /basic/38-alloy-rust
dependabot[bot] Feb 3, 2025
61082de
update btc/readme.md
richardwow Feb 8, 2025
afa5440
update btc/readme-es.md
richardwow Feb 8, 2025
804ba76
update btc/explorer/readme.md
codebits1 Feb 8, 2025
bba82ec
add mempool image
codebits1 Feb 8, 2025
64fba6d
add intro of TWAMM
ttang-11 Feb 10, 2025
582c17d
add references
ttang-11 Feb 10, 2025
b322551
Merge pull request #1253 from Jaove-ee/main
jasonandjay Feb 13, 2025
5bc1782
Merge pull request #1241 from Odysseus130/main
jasonandjay Feb 13, 2025
d709cef
refactor: rename BTC to btc (#1254)
jasonandjay Feb 13, 2025
a61f309
Merge pull request #1242 from achilles198298/main
jasonandjay Feb 13, 2025
c23e035
Merge pull request #1260 from Dapp-Learning-DAO/dependabot/cargo/basi…
jasonandjay Feb 13, 2025
2a1b11a
build(deps): bump path-to-regexp and express
dependabot[bot] Feb 13, 2025
4c4d758
feat: add ethernaut-wp document (#1251)
SuruiLiu Feb 14, 2025
f5d9a1b
Merge branch 'Dapp-Learning-DAO:main' into main
ttang-11 Feb 18, 2025
f3fde4c
Merge pull request #1273 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Feb 18, 2025
e4bc526
Merge pull request #1262 from richardwow/main
yanyanho Feb 18, 2025
4fc6312
add more contents of TWAMM
ttang-11 Feb 19, 2025
a9bdd66
attach relevant images
ttang-11 Feb 19, 2025
86f9013
adjust profiles
ttang-11 Feb 20, 2025
d4b358e
Merge branch 'Dapp-Learning-DAO:main' into main
codebits1 Feb 20, 2025
527cde6
add more explorer contents
codebits1 Feb 20, 2025
1594de1
add more contents of mempool
codebits1 Feb 20, 2025
16e9ac8
build(deps): bump ring from 0.17.8 to 0.17.13 in /basic/38-alloy-rust
dependabot[bot] Mar 7, 2025
4907300
Added an English translation of BTC
ygcl9698 Mar 11, 2025
7613ee5
adjust file name
ygcl9698 Mar 11, 2025
49646c8
Added an English translation of Lighting Network
ygcl9698 Mar 11, 2025
4708c59
Added an English translation of Multi-Signature
ygcl9698 Mar 11, 2025
3896949
Improved PSBT demo annotation
ygcl9698 Mar 11, 2025
ce9602b
docs: translate document to help read
brandon2014-art Mar 12, 2025
1c21819
Added lightning network example
ygcl9698 Mar 14, 2025
ed2be19
Merge branch 'Dapp-Learning-DAO:main' into main
hercules20008 Mar 15, 2025
df05c06
add vePendle
paris-10 Mar 15, 2025
00f9924
history of AA
ethsmartcoder Mar 15, 2025
933893b
intro of 7702
ethsmartcoder Mar 15, 2025
96615ca
implement Taproot transaction signing with Schnorr signatures
ygcl9698 Mar 16, 2025
096b382
Add OP_RETURN message support to Taproot transactions
ygcl9698 Mar 17, 2025
400769b
code structure optimization
ygcl9698 Mar 18, 2025
52d82f0
perfect annotation
ygcl9698 Mar 18, 2025
870e7b2
Initializes the block chain pilot project
lilycom02 Mar 18, 2025
10a30c7
Add the underlying API route for the block chain driver
lilycom02 Mar 18, 2025
c890e61
feat: enhance blockchain indexer API functionality
lilycom02 Mar 21, 2025
6975d1f
Fix Clippy warnings: remove unused import and replace assert_eq!(...,…
strmfos Mar 26, 2025
0462962
Merge pull request #1278 from Dapp-Learning-DAO/dependabot/cargo/basi…
jasonandjay Mar 28, 2025
f438643
build(deps): bump @babel/helpers in /basic/09-hardhat-react/frontend
dependabot[bot] Mar 28, 2025
fdad7d8
Merge pull request #1288 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Mar 28, 2025
4abfb80
add task
yanyanho Mar 28, 2025
2ff3b2c
Merge remote-tracking branch 'upstream/main'
yanyanho Mar 28, 2025
e8cc18d
add task
yanyanho Mar 28, 2025
f9961b2
remove the png
yanyanho Mar 28, 2025
0c07963
add evm task
yanyanho Mar 28, 2025
092858a
Merge pull request #1282 from hercules20008/main
jasonandjay Mar 28, 2025
e4901e0
Merge pull request #1287 from strmfos/main
jasonandjay Mar 28, 2025
59ff723
add todo
yanyanho Mar 28, 2025
c1a8769
Merge pull request #1263 from codebits1/main
jasonandjay Mar 28, 2025
e4c4edb
add readme for alloy task
yanyanho Mar 28, 2025
814b39b
fix the readme
yanyanho Mar 28, 2025
58d60b0
Merge pull request #1284 from ethsmartcoder/main
yanyanho Mar 28, 2025
a0b9d82
modify subgraph deploy flow
gongtao245 Mar 30, 2025
a18eea5
Merge pull request #1289 from yanyanho/main
jasonandjay Mar 31, 2025
465c910
Merge pull request #1283 from paris-10/pendle
jasonandjay Apr 1, 2025
2ebba2c
add code example for 7702
yanyanho Apr 1, 2025
3b6a778
Merge pull request #1270 from ttang-11/main
jasonandjay Apr 2, 2025
e7bcf80
fix: Minor fixes throughout codebase (#1276)
jasonandjay Apr 2, 2025
2cd8cd8
fix the test pass
yanyanho Apr 2, 2025
3a78032
feat: add taproot README.md
ygcl9698 Apr 2, 2025
6840640
build(deps): bump openssl in /basic/38-alloy-rust
dependabot[bot] Apr 4, 2025
4b9b9c7
build(deps): bump tokio from 1.38.0 to 1.38.2 in /basic/38-alloy-rust
dependabot[bot] Apr 8, 2025
43cedb1
Merge pull request #1285 from ygcl9698/taproot
jasonandjay Apr 8, 2025
f454000
refactor(web3js-deploy): 添加错误处理、日志和部署验证
brandon2014-art Apr 9, 2025
fe2f402
feat: Segwit
ygcl9698 Apr 13, 2025
a533ffc
feat: add example
ygcl9698 Apr 13, 2025
0777272
feat: supplement README
ygcl9698 Apr 14, 2025
339d9d2
Merge pull request #1292 from Dapp-Learning-DAO/dependabot/cargo/basi…
yanyanho Apr 16, 2025
29d75f8
Merge pull request #1291 from Dapp-Learning-DAO/dependabot/cargo/basi…
yanyanho Apr 16, 2025
8b0e535
feat: add extend knowledge
ygcl9698 Apr 17, 2025
bbd7641
feat: docs modify
ygcl9698 Apr 17, 2025
39d7c92
Merge pull request #1290 from yingjingyang/main
jasonandjay Apr 17, 2025
b687ac7
Merge branch 'Dapp-Learning-DAO:main' into main
lilycom02 Apr 17, 2025
50f95f1
feat: element docs revise
lilycom02 Apr 18, 2025
afc3e33
feat: add example
lilycom02 Apr 18, 2025
4e7985a
feat: supplement readme
lilycom02 Apr 18, 2025
fc864f0
refactor(web3js-transaction): 重构代码结构并添加错误处理模块
brandon2014-art Apr 10, 2025
b888b13
feat: add nft application scenarios
lilycom02 Apr 23, 2025
d173803
feat: Add NFT liquidity solutions
lilycom02 Apr 23, 2025
89941b4
refactor: refactor ERC20 token deployment and interaction module
brandon2014-art Apr 23, 2025
4b35b0e
docs: supplement content
lilycom02 Apr 24, 2025
f9051b7
Merge pull request #1293 from ygcl9698/segwit
jasonandjay Apr 26, 2025
3fa4537
Merge pull request #1295 from lilycom02/nft
jasonandjay Apr 26, 2025
3b4e9f8
Merge pull request #1294 from lilycom02/develop
jasonandjay Apr 26, 2025
ec18d92
Merge pull request #1281 from brandon2014-art/docs
jasonandjay Apr 26, 2025
c824a8e
Merge pull request #1286 from lilycom02/main
jasonandjay Apr 26, 2025
15b8dd3
build(deps): bump http-proxy-middleware
dependabot[bot] Apr 26, 2025
c9b7171
docs: Add the Uniswap V3 liquidity provision guide
1395466556 Apr 27, 2025
5ec7618
docs: Add Liquidity mining strategy
1395466556 Apr 27, 2025
53730d2
docs: add comprehensive Uniswap V3 liquidity risk management guide
1395466556 Apr 27, 2025
fa93ff9
feat: add example
1395466556 Apr 27, 2025
8b90fdb
feat: add swap-tokens example
1395466556 Apr 27, 2025
aceaaf9
Merge remote-tracking branch 'upstream/main'
yanyanho Apr 28, 2025
331f728
add eof content
yanyanho Apr 28, 2025
276c4e1
feat: Add the base file of the WalletConnect multi-chain sample project
1395466556 Apr 28, 2025
025ac38
docs: Improve the WalletConnect overview document
1395466556 Apr 28, 2025
d2a7f89
docs: Perfect the details
1395466556 Apr 29, 2025
4fad909
feat: Add the sample code and documentation of zk-dao
1395466556 Apr 29, 2025
45685aa
feat: Supplement the technical implementation details of ZK-SNARK in …
1395466556 Apr 29, 2025
4be6ef1
upgrade alloy version
yanyanho Apr 29, 2025
223b1b4
add monitor demo
yanyanho Apr 29, 2025
8bc30aa
add alloy demo
yanyanho Apr 29, 2025
3b06171
Merge pull request #1280 from ygcl9698/optimize
yanyanho May 4, 2025
433570d
Merge pull request #1296 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho May 6, 2025
951f18a
build(deps): bump http-proxy-middleware
dependabot[bot] May 6, 2025
2b66719
Merge pull request #1298 from 1395466556/docs/uniswap
jasonandjay May 6, 2025
b51b2c6
Merge pull request #1302 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho May 9, 2025
5ec36ea
Merge pull request #1301 from 1395466556/dao
jasonandjay May 12, 2025
6b0456a
Merge pull request #1300 from 1395466556/WalletConnect
jasonandjay May 12, 2025
08dd73e
Merge pull request #1299 from yanyanho/main
jasonandjay May 12, 2025
fadcd0a
afix the aa task (#1305)
yanyanho Jun 13, 2025
b5f8fde
chore: BTC/btc folder combine to fix Mac error (#1307)
sansx Jun 22, 2025
98705b8
build(deps): bump lycheeverse/lychee-action in /.github/workflows
dependabot[bot] Aug 28, 2025
c28650f
build(deps): bump node-forge in /basic/11-react-express-hardhat/frontend
dependabot[bot] Nov 26, 2025
58fc3fb
Update README.md
Olexandr88 Dec 7, 2025
cddf8d1
chore: typo corrections (#1309)
vtjl10 Dec 7, 2025
df8801c
Merge pull request #1324 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 19, 2025
f1aa4fb
Merge pull request #1315 from Dapp-Learning-DAO/dependabot/github_act…
yanyanho Dec 19, 2025
6dd6db1
build(deps): bump js-yaml in /basic/09-hardhat-react/frontend
dependabot[bot] Dec 19, 2025
ee66bb2
Merge pull request #1325 from Olexandr88/patch-1
yanyanho Dec 19, 2025
7276873
Merge pull request #1326 from Dapp-Learning-DAO/dependabot/npm_and_ya…
yanyanho Dec 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .commitlintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extends:
- "@commitlint/config-conventional"

35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/task.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 更新任务
description: 更新任务信息
title: "[Task]: "
labels: [task]
assignees:
- izayl
body:
- type: dropdown
id: type
attributes:
label: 这个 PR/issue 属于什么类型?
multiple: false
options:
- bug 修复(Bugfix)
- 创建新的基础任务
- 创建新的进阶任务
- 更新任务内容
- 任务认领
- type: input
id: task
attributes:
label: 涉及的任务是哪个
description: 请填写任务名
placeholder: 例如:uniswap-v3
validations:
required: true
- type: textarea
id: info
attributes:
label: 详细信息
description: Bug详细信息,或者更新、创建任务的内容
placeholder: Tell us what you see!
value: ""
validations:
required: false
17 changes: 17 additions & 0 deletions .github/PULL_REQUEST_ISSUE_TAEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- PULL REQUEST TEMPLATE -->
<!-- (将 "[ ]" 换成 "[x]" 来选择列表项) -->

**

- [ ] bug 修复(Bugfix)
- [ ] 创建新的基础任务
- [ ] 创建新的进阶任务
- [ ] 更新任务内容

**涉及的任务是哪个?(必填)**

<!-- 例如:Uniswap-V2 -->

**其他信息:**

<!-- 具体更新/创建任务的内容有哪些 -->
71 changes: 71 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '39 1 * * 5'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
17 changes: 17 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions .github/workflows/markdown-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Markdown links
on:
workflow_dispatch:


jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.0.2

- name: Create Issue From File
if: env.lychee_exit_code != 0
uses: peter-evans/create-issue-from-file@v4
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue
23 changes: 15 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
*/node_modules
*/sk.txt
*/sk*.txt
*/sk*.json
*/package-lock.json
**/.env
**/sk.txt
**/env.py
**/sk*.txt
**/sk*.json
**/__pycache__
**/Uniswap
**/package-lock.json
# dependencies
/node_modules
/.pnp
Expand All @@ -14,9 +18,11 @@
**/*.bytecode.js
**/*.abi.js
**/*.address.js
*/yarn.lock
*/artifacts
*/cache
**/yarn.lock
**/artifacts
**/cache
**/debug
**/target

# testing
coverage
Expand All @@ -26,7 +32,7 @@ build

# misc
.DS_Store
.env*
.env

# debug
npm-debug.log*
Expand All @@ -35,3 +41,4 @@ yarn-error.log*

.idea
.vscode
mnemonic.txt
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[submodule "lib/openzeppelin-contracts"]
path = lib/openzeppelin-contracts
url = https://github.com/OpenZeppelin/openzeppelin-contracts
[submodule "dao/dao/Openzeppelin-DAO"]
path = dao/dao/Openzeppelin-DAO
url = https://github.com/tamphill/openzeppelin_dao.git
[submodule "basic/79-hardhat-foundry/lib/openzeppelin-contracts"]
path = basic/79-hardhat-foundry/lib/openzeppelin-contracts
url = https://github.com/Openzeppelin/openzeppelin-contracts
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit "$1"
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx lint-staged
2 changes: 2 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
https://sepolia.infura.io/v3
http://127.0.0.1
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
README.md
25 changes: 25 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"printWidth": 150,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"tslintIntegration": true,
"insertSpaceBeforeFunctionParenthesis": false,
"overrides": [
{
"files": ["*.js", "*.ts"],
"options": {
"semi": true,
"singleQuote": true
}
},
{
"files": "*.sol",
"options": {
"semi": true,
"tabWidth": 4
}
}
]
}
16 changes: 16 additions & 0 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": "solhint:recommended",
"rules": {
"code-complexity": ["warn", 7],
"function-max-lines": ["warn", 50],
"max-line-length": ["error", 120],
"func-param-name-mixedcase": "warn",
"modifier-name-mixedcase": "warn",
"ordering": "warn",
"compiler-version": ["error", "^0.8.20"],
"func-visibility": ["warn", { "ignoreConstructors": true }],
"immutable-vars-naming": "off",
"one-contract-per-file": "off",
"no-console": "off"
}
}
2 changes: 2 additions & 0 deletions .solhintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
lib
node_modules/
42 changes: 42 additions & 0 deletions BTC/Advanced/Lighting Network/README-EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Lightning Network

The Lightning Network is a Layer 2 payment protocol for Bitcoin, designed to enable fast, low-cost transactions by reducing on-chain transactions. Built on top of the Bitcoin blockchain, it aims to solve Bitcoin's current scalability and transaction speed issues. Here's a detailed introduction to the core concepts and functions of the Lightning Network:

### 1. **Core Concept: Payment Channels**

The Lightning Network operates through payment channels. The specific process is as follows:
- **Creating Payment Channels**: When two parties need frequent transactions, they can create a payment channel. This requires both parties to deposit initial funds into a multi-signature wallet, recorded on the blockchain as a single on-chain transaction.
- **Off-chain Transactions**: Once the channel is established, both parties can directly exchange signed balance updates off-chain, without requiring network-wide confirmation, greatly improving transaction speed.
- **Closing Channels**: When parties no longer need to continue transacting, they can choose to close the channel. The final balance state of the channel is then recorded on the Bitcoin blockchain as an on-chain transaction. This greatly reduces blockchain burden as multiple transactions only require two on-chain transactions (opening and closing).

### 2. **Transaction Mechanism in Lightning Network**

In the Lightning Network, transactions within channels are instantly confirmed. The specific process is:
- **Incremental Balance Updates**: Each off-chain transaction only updates the balance state in the payment channel, without broadcasting to the Bitcoin blockchain.
- **Decentralized Trust Transactions**: Each state update is confirmed by signatures from both parties, ensuring neither party can tamper with transaction balances, preventing attempts to take excess funds.

### 3. **Cross-Channel Payment Routing**

The Lightning Network supports not only direct payments between two channel users but also multi-hop payments, allowing funds to be transferred to target users through multiple channels. The specific process is:
- **Path Finding**: If there's no direct channel between two users, the network finds suitable paths through other nodes to complete the payment.
- **Payment Atomicity**: The entire payment only completes when all intermediate nodes in the path agree and complete their part of the payment, ensuring funds aren't intercepted during multi-hop processes.

### 4. **Main Advantages**

- **Scalability**: Through off-chain transactions, the Lightning Network significantly reduces Bitcoin blockchain load, theoretically supporting millions of transactions per second.
- **Lower Fees**: Most transactions occur off-chain, with very low transaction fees, only requiring a fraction of on-chain transaction fees.
- **Instant Payments**: Lightning Network transactions are almost instantaneous, making them suitable for daily consumption, unlike on-chain transactions that might take minutes.

### 5. **Challenges and Limitations**

- **Liquidity Requirements**: To ensure large transactions flow smoothly, each node in the path must have sufficient funds in the channel, otherwise transactions might be blocked.
- **Channel Management**: Users need to manually open and close channels, each operation requiring on-chain fees, making frequent operations costly.
- **Security Risks**: While the Lightning Network is highly secure, it's not without risks. Nodes need to stay online to prevent attackers from broadcasting outdated transactions.

### 6. **Lightning Network Applications and Future**

- **Micropayments**: Due to low fees, the Lightning Network is ideal for micropayments, such as content tipping, small donations, and in-app purchases.
- **Merchant and Retail**: With near-real-time transaction speeds, the Lightning Network can make Bitcoin an ideal payment method for retail, dining, and daily consumption.
- **Cross-border Payments**: It enables quick and low-cost international remittances, providing a convenient path for cross-border payments.

The Lightning Network continues to evolve with ongoing development and user growth. It provides a promising solution to Bitcoin's scalability, but to fully realize its potential, it requires support from a reliable and robust node network.
40 changes: 40 additions & 0 deletions BTC/Advanced/Lighting Network/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
**闪电网络**(Lightning Network)是一种比特币的第二层支付协议,旨在通过减少链上交易数量,实现快速、低成本的交易。这一网络在比特币区块链之上构建,旨在解决比特币当前的扩展性和交易速度问题。以下是对闪电网络的核心概念及其功能的详细介绍:

### 1. **核心概念:支付通道**

闪电网络的基本运行机制是通过支付通道。具体操作如下:
- **创建支付通道**:两方需要频繁交易时,可以通过创建支付通道来进行。这需要双方向一个多签名钱包存入初始资金,并记录在区块链上作为一次链上交易。
- **链下交易**:通道建立后,双方可以直接交换签名的余额更新,这些更新是链下进行的,不需要经过全网确认,从而大大提高了交易速度。
- **关闭通道**:当两方不再需要继续交易时,可以选择关闭通道。此时通道的最终余额状态会作为一次链上交易记录在比特币区块链上。这样可以极大减少区块链的负担,因为多笔交易只需记录两次链上交易(开通和关闭)。

### 2. **闪电网络中的交易机制**

在闪电网络中,通道内的交易是即时确认的。具体过程如下:
- **增量余额更新**:每次链下交易只更新支付通道中的余额状态,而不广播至比特币区块链。
- **去中心化的信任交易**:每次状态更新都由双方签名确认,确保任何一方都无法篡改交易余额,避免了一方试图多拿资金的可能。

### 3. **跨通道支付的路由**

闪电网络不仅限于两个通道用户间的直接支付,还支持多跳支付,使得资金能够通过多个通道转账给目标用户。具体过程如下:
- **路径查找**:如果两个用户之间没有直接的通道,网络会寻找合适的路径通过其他节点完成支付。
- **支付的原子性**:只有在路径中所有中间节点同意并完成自己的部分支付时,整个支付才会完成,确保资金在多跳过程中不被截留。

### 4. **主要优势**

- **扩展性**:通过链下交易的方式,闪电网络大幅减少了比特币区块链的负载,理论上可以支持每秒数百万次交易。
- **降低费用**:大部分交易是链下进行的,交易费用很低,仅需链上交易费用的一小部分。
- **即时支付**:闪电网络的交易几乎是即时完成的,使其适用于日常消费,而不像链上交易那样可能需要数分钟。

### 5. **挑战与局限性**

- **流动性要求**:为了确保大额交易畅通,路径中的每个节点必须在通道中拥有足够的资金,否则可能会阻塞交易。
- **通道管理**:用户需要手动开通和关闭通道,每次操作都需支付链上费用,因此频繁操作的成本较高。
- **安全风险**:虽然闪电网络安全性较高,但它并非没有风险。节点需要保持在线以防止攻击者试图广播过时的交易。

### 6. **闪电网络的应用场景及未来**

- **小额支付**:由于费用低廉,闪电网络非常适合进行小额支付,如内容打赏、小额捐赠和应用内购买等。
- **商户和零售**:交易速度接近实时,闪电网络能使比特币成为零售、餐饮等日常消费的理想支付方式。
- **跨境支付**:它能快速且低成本地实现国际汇款,为跨境支付提供了一种便利的途径。

闪电网络随着开发和用户的持续增长在不断发展。它为解决比特币的扩展性提供了一个极具前景的方案,但要充分发挥其潜力,还需要一个可靠且强大的节点网络支持。
Loading