P6 - Python frontend interface for Ethereum Layer 2 Blockchain
Charming Data
Extract data from the blockchain using the serverside callack in Dash. In this tutorial series we'll create a dapp front end interface in Python, using Dash. We will use a pre-built smart contract, written in solidity, to create and deploy a decentralized application on top of it. There will be a little bit of javascript used for inserting data into the blockchain, but most of the app will be in Python.
dApp in Python code: https://github.com/charmingdata/dApp-animal-shelter-python/tree/main
Smart Contract: https://github.com/charmingdata/all-smart-contracts/blob/main/ShelterDB.sol
Polygonscan zkEVM testnet: https://testnet-zkevm.polygonscan.com/address/0x1245dBd38a1FF2371436245A9D7eF7AE4A9a1A26
Remix.Ethereum for smart contract development: https://remix.ethereum.org/
Video layout: 00:00 - Pull data from the blockchain 01:40 - Serverside callback structure 03:25 - Callback function 05:01 - getShelterListings function 09:20 - ShelterInfo event 12:38 - Last callback function 14:16 - latestShelterEvent dictionary 15:45 - shelters with capacity list
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/ ... https://www.youtube.com/watch?v=CJPhTITzc8Q
118143643 Bytes