当前位置:网站首页>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
边栏推荐
- Where is the red area of OpenCV?
- Development of trading system (x) -- fix agreement
- Development of trading system (XIII) -- Analysis of quickfix source code
- 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
- IntStream API介绍
- 【LeetCode】22. 括号生成
- 微信小程序中的列表渲染
- Hello CTP (II) -- Introduction to CTP
- Flutter Builder & futurebuilder components
- Siddhartha: the book of life can be regurgitated frequently
猜你喜欢

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

Hello CTP (IV) - CTP transaction API

The 5th series of NFT works of missing parts was launched on the sandbox market platform

NFT Insider #63:The Sandbox与时代杂志达成合作,YGG成立西班牙subDAO

《悉达多》:一生之书,可以时常反刍

opencv怎么安装?opencv下载安装教程

《Missing Parts》NFT 作品集第 5 系列上线 The Sandbox 市场平台

Development of trading system (VII) -- Analysis of trading delay

DAP数据调度功能完善说明

WMS仓储管理系统的使用价值,你知道多少
随机推荐
Crawler grabs the idea of reading on wechat
numpy np tips: numpy数组的squeeze等处理
Flutter Builder & FutureBuilder组件
Development of trading system (XIII) -- Analysis of quickfix source code
web3.eth. Getpendingtransactions() returns null?
地方/園區產業規劃之 “ 如何進行產業定比特 ”
SQL, CTE, flg case problems
opencv是开源的吗?
Flutter FittedBox组件
Upgrade cmake
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
client-go gin的简单整合十-Update
95% 程序员都在这里摸鱼……
Lecture record: history and development of strapdown inertial navigation solution
SEO的5大关键指标:排名+流量+会话+停留时长+跳出率
1280_C语言求两个无符号整形的平均值
Standing wave ratio calculation method
数字时代的“文艺复兴”?起底数字藏品,让人欢喜让人愁
Smart wind power: operation and maintenance of digital twin 3D wind turbine intelligent equipment
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