In this video I will explain what a mutli-sig wallet is and show you how to write one in Solidity. Some features will be left as an exercise for you to complete.
Damn Vulnerable DeFi is a CTF challenge illustrating hacks in DeFi. In this video I explain how to beat the 3rd challenge - truster.
Setup and challenge - 0:11
Code - 0:32
Solution - 1:42
#Solidity #SmartContract #Ethereum #CTF #DeFi #スマートコントラクト
CTF
https://www.damnvulnerabledefi.xyz/
Code with solutions
https://github.com/t4sk/damn-vulnerable-defi
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=Qq1hr_Im4Bk
Solidity application - role based access control
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=tfk25O-5Ppg
Example of how structs are stored in EVM storage
0:00 Intro
1:45 Read from structs
5:18 Execute functions
Code
https://solidity-by-example.org/evm/storage/
Take a course
https://www.smartcontract.engineer/
Remix
https://remix.ethereum.org
#Solidity #SmartContract #Ethereum #スマートコントラクト
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=xWkOlxerVJw
Example of match statement in Sway
Code
https://github.com/t4sk/hello-sway
Playground
https://sway-playground.org/
Sway
https://fuellabs.github.io/sway
Fuel
https://www.fuel.network/
Take a course
https://www.smartcontract.engineer/
#Sway #SmartContract #Fuel #スマートコントラクト
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
...
https://www.youtube.com/watch?v=JBpTgbm3590
What's the difference between a view an a pure function in Solidity?
Code: https://solidity-by-example.org/view-and-pure-functions/
Remix IDE: http://remix.ethereum.org
Solidity: https://solidity.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=xknoxALAL8c
RAI is a decentralized stablecoin that is not pegged to 1 dollar
Take a course
https://www.smartcontract.engineer/
#Solidity #SmartContract #Ethereum #スマートコントラクト
Remix
https://remix.ethereum.org
Follow
https://odysee.com/@SmartContractProgrammer:8
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=5gGqSLpzdAU
We will put together the basic concepts of Vyper and implement a payment channel. Payment channel enables stream of payments to go back and forth between 2 parties. It is one technique to scale layer 1 blockchain by exchanging signature offchain and only submitting a single transaction to finalize the payments.
#Vyper #PaymentChannel #SmartContract #Ethereum
Payment channel 2:41
Code 4:44
getHash 7:03
getEthSignedHash 10:55
verify 12:19
close 14:20
cancel 17:13
Remix 20:08
Code: https://github.com/t4sk/vyper-by-example
# References
Remix IDE: http://remix.ethereum.org
Vyper: https://vyper.readthedocs.io
Follow on Twitter: @ProgrammerSmart https://twitter.com/ProgrammerSmart
Join me on Discord: https://discord.gg/Ny8sPaj
Website: https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=BVBlubp9q8s
Where is the best place to start learning Solidity and smart contract programming? Remix.
In this video, I will show you how to write your first smart contract in Solidity, compile it, deploy it and interact with your smart contract. Everything is done inside the browser, no setup required.
0:31 - License
0:49 - Solidity compiler version
1:43 - First contract HelloWorld
2:37 - Compile
2:54 - Deploy
#Solidity #SmartContract #Ethereum #Remix #スマートコントラクト
Remix
https://remix.ethereum.org
Code
https://solidity-by-example.org/hello-world/
Take a course
https://www.smartcontract.engineer/
Follow
https://twitter.com/ProgrammerSmart
https://discord.gg/bt8FK2wkcW
https://t.me/smartcontractprogrammer
https://smartcontractprogrammer.com
...
https://www.youtube.com/watch?v=g_t0Td4Kr6M