Build a decentralized app with 90% Python / Dash. Use Web3.py to retrieve data from the blockchain and ethers to insert data into the blockchain. This dApp will be based on the Donation-to-Educator smart contract we created in the previous video tutorial.
Decentralized App:
https://github.com/charmingdata/dApp-donation-to-educator-python
Donation Smart Contract:
https://github.com/charmingdata/all-smart-contracts/blob/main/DonationToEducator.sol
Polygon zkEVM testnet:
https://testnet-zkevm.polygonscan.com/address/0x98544219dd60eCc071302dAfBfce22F74334f244
Ordering of Event data (last comment in solution):
https://ethereum.stackexchange.com/questions/152266/how-to-decode-a-logdata-hexbytes-from-a-solidity-event-using-web3-py
Video layout:
00:00 - What you'll learn & code access
04:18 - dApp libraries and theme
05:35 - Layout
08:00 - 2nd Callback
10:45 - 2nd callback function
19:45 - clientside callback
22:40 - checkNetwork function
25:00 - sendTransaction function
28:17 - updating your JS code
*****************************************************************************************
Join my channel to support its existence and access perks:
https://www.youtube.com/channel/UCqBFsuAz41sqWcFjZkqmJqQ
GitHub tutorials code:
https://github.com/charmingdata?tab=repositories&q=&type=&language=&sort=name
Connect with me on LinkedIn:
https://www.linkedin.com/in/charmingdata/