当前位置:网站首页>Smart contract learning materials
Smart contract learning materials
2022-06-25 04:17:00 【A knife a kilo】
explain
The work of smart contract is mainly divided into 5 A module ( See the secondary directory on the right ), Of course, the precondition for everything is business orientation .
Because the contract has certain limitations ( E.g. handling charges , On line can not be modified ) Generally, it is necessary to understand the existing business system first , Integrate other tool library code , Just like splicing building blocks to build a set of systems you need , You need to have a certain understanding of the mainstream contracts in the market .
Existing deficiencies
Current contract risk control , Monitor the notification system
Running environment :
This paper mainly uses eth Of evm Compile for unique 、 Running environment ( apply eth、bsc、heco、matic etc. ). Language use solidity.(tron and vision Have their own small changes , Available but needs debugging )
If it is another chain such as solana,polkadot,ckb etc. , You may need to learn something else .
Such as solana Only use rust Write a contract (rust Learning , Address :Rust Introduction to programming language (Rust Language /Rustlang)【 It's over 】_ Bili, Bili _bilibili);
Related content
1、 Look for reference implementation research
Denglian community 、 Chain smell 、 Rhythm 、github Wait until you can find at least 80% Available information
for example : hot defi analysis
2、 Contract development
Official documents :
Chinese version solidity Developing documents : Solidity newest (0.8.0) Chinese document — Solidity Chinese document — Denglian community
Text material :
2022 Year contract language choice : Summary tool
From getting started to issuing coins :solidity From getting started to issuing coins (eth)
A detailed explanation of basic grammar :Solidity Quick start to smart contracts
Video material :
Write smart contracts together ( Old leek ):https://www.youtube.com/watch?v=DKzKARM-NQI&list=PLQ2Pa3Y8i714gFed0Nd75crDkKqtUQk1g
3 Hour quick start ( Master Cui Mian ): Master Cui Mian 3 Hours of smart contract foundation course _ Bili, Bili _bilibili
3、 Contract interaction
You need to understand the relevant concepts of blockchain , Be familiar with the classification and simple application of tools ,geth、remix、etherscan、web3( or ethers)、Truffle( or hardhat)、Ganache( or Ganache CLI) etc.
Compile and deploy :Truffle
Local debugging :remix,Ganache,console.log
unit testing ( lack )
Provide sdk or api ( lack )
4、 Contract security ( Audit + unit testing + Code scanning )
Smart contract attack and defense :https://www.odaily.com/post/5138281
Complete unit test ( lack )
Security scan tool -- Code scanning
You can choose :Mythril,Slither,Manticore,MythX,Echidna,Oyente
Code scanning uses video :「Rebase university 」Solidity Security tools Demo _ Bili, Bili _bilibili
Scan tool documentation : https://github.com/rebase-network/Dapp-Learning/tree/main/basic/50-solidity-security
Ten common contract security issues :Solidity Top ten common security issues | Denglian community | Go deep and talk about blockchain technology
5、 Contract monitoring ( lack )
thegraph Blockchain caching framework https://www.bilibili.com/video/BV12y4y177ph
Or use something like Dagger, Blocknative Notify, Tenderly, or Alchemy Notify And so on .
Matching tools
remix
ChainIde ( Chinese full stack tools )
ChainList ( Fast adaptation network )
geth
Truffle(hardhat)
web3(ethers.js)
thegraph
Noteworthy bloggers /up Lord
rebase university , Focus on interpreting the project https://space.bilibili.com/382886213
Cui Mian The master , The form of storytelling tells the code Master Cui Mian's personal space _ Bili, Bili _Bilibili
leekDao Friend dealer , Working on projects together https://www.youtube.com/channel/UCN-efD164Q8kgQd3ikkk_Yw
finematics, Great simple strokes https://www.youtube.com/c/Finematics
kol: Mr. block 、 Chen mo bitouq、 Saibo rabbit sara
Information website
Denglian community ( The best done so far )
Denglian community - Blockchain technology enthusiasts are here
Wanxiang blockchain
Official website (Home | ethereum.org)
Project practice
1、uniswap Hand in hand development
uniswapV2 Interpretation of the white paper :Uniswap V2 The white paper explains _ Bili, Bili _bilibili
uniswapV2 Detailed deployment : take UniswapV2 Deploy to all blockchains -- Decentralized exchange Uniswap Multi Chain deployment teaching video _ Bili, Bili _bilibili
uniswapV3 Interpretation of the white paper :Uniswap V3—— Interpretation of the white paper _ Bili, Bili _bilibili
uniswapV3 Code reading :( On )Uniswap V3—— Code parsing (1)_ Bili, Bili _bilibili
( Next )Uniswap V3—— Code parsing (2)_ Bili, Bili _bilibili
2、moondoge Project sharing
See sharing for details :2021-07-06 moondoge Project sharing
3、 Token collection (golang)
Contract commissioning : Smart contract debugging document (eth)
4、 Fancy coin issue
See readme file https://github.com/eziokenway061/MintCoin/
5、 Token airdrop
Various airdrop implementation codes GitHub - eziokenway061/tokenAirdrop: This project can be used for all ERC20 based tokens for airdrop distribution!
6、 Flash loan
See sharing for details :2021-07-21 Understand and use flash loan
7、NFT actual combat ( Hang in the air )
nft Application scenarios : Homogenization of nonhomogeneous substances :NFT The financialization of | Denglian community | Go deep and talk about blockchain technology
stay poloygn Build the whole stack on the nft stay Polygon A full stack Development Guide for building applications on the network | Denglian community | Go deep and talk about blockchain technology
3 Even the beginner nft
use flow and ipfs establish nft NFT course - use Flow and IPFS establish NFT | Denglian community | Go deep and talk about blockchain technology
Exhibition nft:NFT course - How to show Flow and IPFS Upper NFT collection | Denglian community | Go deep and talk about blockchain technology
Make a trading market NFT course - How to use IPFS stay Flow Create a NFT Trading market ? | Denglian community | Go deep and talk about blockchain technology
8、 More deals ( Partial bottom )
principle :Genosis Safe | Denglian community | Go deep and talk about blockchain technology
The code structure :GnosisSafe - Contract structure analysis | Denglian community | Go deep and talk about blockchain technology
9、ERC20 Transfer accounts There is so much learning !
10、 Hand compiled pancake front end
11、 100 Three projects help you master blockchain comprehensively
BitTiger/Blockchain at master · Fabsqrt/BitTiger · GitHub
12、compound Project details
Interpretation of the white paper
13、aave Project interpretation
14、 The ground floor is related
15、ohm Project interpretation
Off the coast : Great contract column
Comprehensive mastery solidity
Comprehensive mastery Solidity Smart contract development - Denglian community
hot defi analysis
hot DEFI analysis - Denglian community
rust And smart contracts
Gogo blockchain boutique content collection - Denglian community
边栏推荐
- PHP代码审计2—这些函数必知必会
- Serious PHP defects can lead to rce attacks on QNAP NAS devices
- 【LeetCode】143. 重排链表
- 佐喃社区
- Jilin University 22 spring March new development English comprehensive course (I) assignment assessment-00080
- [proteus simulation] Arduino uno key controls the flashing increase / decrease display of nixie tube
- @RequestBody解决获取参数为null
- Hello CTP (II) -- Introduction to CTP
- 长沙“求才”:“下力气”与“出实招”并进,“快发展”和“慢生活”兼得
- "Renaissance" in the digital age? The bottom digital collection makes people happy and sad
猜你喜欢

WMS仓储管理系统的使用价值,你知道多少

"Grammar sugar" -- my new programming knowledge

Interview with Mo Tianlun | ivorysql wangzhibin - ivorysql, an Oracle compatible open source database based on PostgreSQL

PHP code audit 1 - php Ini

client-go gin的简单整合十一-Delete

Siddhartha: the book of life can be regurgitated frequently
Zoran community

BSC parsing input data of transaction

地方/园区产业规划之 “ 如何进行产业定位 ”

Trading system development (IV) - trading counter system
随机推荐
Numpy NP tips: use OpenCV to interpolate and zoom the array to a fixed shape cv2 resize(res, dsize=(64, 64), interpolation=cv2. INTER_ CUBIC)
Crawler grabs the idea of reading on wechat
List rendering in wechat applet
Development of trading system (I) -- Introduction to trading system
How to use ide to automatically sign and debug Hongmeng application
95% 程序员都在这里摸鱼……
UCLA | 用于黑盒优化的生成式预训练
Lecture record: history and development of strapdown inertial navigation solution
opencv是开源的吗?
Hello CTP (IV) - CTP transaction API
代錶多樣性的彩色 NFT 系列上線 The Sandbox 市場平臺
What is the difference between learning code, rolling code and fixed code? The number of repeated codes, coding capacity and the principle of rolling code
@Requestbody solution get parameter is null
[team learning] SQL programming language notes - task04
【Kubernetes系列】Helm的安装使用
Development of trading system (III) - risk control system
How to use crawlers to capture bullet screen and comment data of station B?
web3.eth. Getpendingtransactions() returns null?
Development of trading system (XII) - Official quickfix document
“语法糖”——我的编程新知