当前位置:网站首页>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
边栏推荐
- 冷热酸甜、想成就成?冷酸灵母公司登康口腔欲在深交所主板上市
- web3.eth. Getpendingtransactions() returns null?
- Exercise: how difficult is it to simulate the blessing lottery two-color ball - China 500W grand prize? Just run the code.
- DAP数据调度功能完善说明
- Hello CTP (I) - basic knowledge of futures
- Watch out for the stolen face! So many risks of face recognition used every day?
- 小心被偷脸!天天用的人脸识别风险原来这么多?
- mysql的tinyint字段类型判断的疑惑
- SQL, CTE, flg case problems
- MySQL order by
猜你喜欢
随机推荐
【Proteus仿真】Arduino UNO按键控制数码管闪烁增/减显示
SEO的5大关键指标:排名+流量+会话+停留时长+跳出率
练习:仿真模拟福彩双色球——中500w巨奖到底有多难?跑跑代码就晓得了。
numpy np tips: numpy数组的squeeze等处理
【LeetCode】22. bracket-generating
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)
Work assessment of pharmacotherapeutics of Jilin University in March of the 22nd spring -00064
Error 1062 is reported during MySQL insertion, but I do not have this field.
How to use crawlers to capture bullet screen and comment data of station B?
Cesium 加载显示热力图
Hot and cold, sweet and sour, want to achieve success? Dengkang oral, the parent company of lengsuanling, intends to be listed on the main board of Shenzhen Stock Exchange
Crawl Sina Weibo fans
Trading system development (IV) - trading counter system
Is opencv open source?
代錶多樣性的彩色 NFT 系列上線 The Sandbox 市場平臺
智慧风电:数字孪生 3D 风机智能设备运维
1、项目第二阶段——用户注册和登陆
Uniapp makes mobile app programs, using uni Choosevideo record video, video playback is fuzzy, and the resolution is low
2.吹响半音阶口琴
1. first knowledge of chromatic harmonica

![[harmony OS] [ark UI] basic ETS context operations](/img/fb/a1b8463ba160e6c5aa23d671a0c245.png)







