Study, Connect & Interact with a Solidity Smart Contract on Ethereum Blockchain using web3 in Python
In this challenge, we have the source code of a very simple Solidity Smart Contract. We need to setup on environemnt to interact with it and learn how we should call / use the contract functions.
I will show you the ABI, simple calls, creating transactions (build_transcation) and signing them and sending them to the contract and reading the outputs using the web3 librariy in Python.
This is a great challenge to understand the basics of the Solidity contracts on the Ethereum Blockchain and start using web3.
00:00 - Intro to CTF, blockchain and web3
02:48 - How to connect & use smart contract
04:35 - Studying our solidity smart contract
08:44 - Checking our blockchain challenge & ABI
11:44 - using web3 to connect to the ethereum blockchain
14:40 - getting the ABI from the source
17:50 - Connecting and calling the smart contract functions using web3
22:20 - Adding POA middleware to web3
30:25 - Learn more about web3 and blockchain programming
...
https://www.youtube.com/watch?v=1FxjP_hwqec