{
  "slug": "Notes-for-Solidity--Blockchain--and-Smart-Contract-Course---Beginner-to-Expert-Python-Tutorial--f39a7fda9e82",
  "title": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
  "subtitle": "Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial by patrick collins",
  "excerpt": "Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial by patrick collins",
  "date": "2023-12-06",
  "tags": [
    "Python"
  ],
  "readingTime": "4 min",
  "url": "https://medium.com/@mobinshaterian/notes-for-solidity-blockchain-and-smart-contract-course-beginner-to-expert-python-tutorial-f39a7fda9e82",
  "hero": "https://cdn-images-1.medium.com/max/800/1*dvEnzne1KK3OVoQcX4duvA.png",
  "content": [
    {
      "type": "heading",
      "level": 2,
      "text": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial video"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial by patrick collins"
    },
    {
      "type": "embed",
      "provider": "youtube",
      "url": "https://www.youtube.com/embed/M576WGiDBdQ?feature=oembed"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Welcome to block chain"
    },
    {
      "type": "embed",
      "provider": "youtube",
      "url": "https://www.youtube.com/embed/M576WGiDBdQ?start=393&feature=oembed&start=393"
    },
    {
      "type": "heading",
      "level": 3,
      "text": "Bitcoin whitepaper"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://bitcoin.org/bitcoin.pdf\" target=\"_blank\" rel=\"noreferrer noopener\">https://bitcoin.org/bitcoin.pdf</a>"
    },
    {
      "type": "heading",
      "level": 3,
      "text": "Smart contracts are written in codes with many parties."
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*IJEZLSiuioeGGSwVWrhc1w.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 616,
      "height": 355
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Dapp = smart contract = Decentralized app"
    },
    {
      "type": "paragraph",
      "html": "Hybrid smart contract = smart conract + centerilze system"
    },
    {
      "type": "paragraph",
      "html": "Decentralized system is one of the advantages of smart contract."
    },
    {
      "type": "paragraph",
      "html": "Smart contract has a clear system."
    },
    {
      "type": "paragraph",
      "html": "Blockchain is immutable."
    },
    {
      "type": "paragraph",
      "html": "— — — — — — — — — — — — — — — — — — — — -"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Decentralized autonomous organization DAo"
    },
    {
      "type": "embed",
      "provider": "youtube",
      "url": "https://www.youtube.com/embed/tbO-tfZX3sc?feature=oembed"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "MetaMask"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Access to private Key"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*liH_nCcSe-KbrcIYrS4jAQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 688,
      "height": 502
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*-BRivxTDqOjjEFgqPOP2Tw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1092,
      "height": 545
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Test NET"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "The Rinkeby Testnet is Deprecated"
    },
    {
      "type": "paragraph",
      "html": "<strong>Sepolia was a proof-of-authority testnet created in October 2021 by Ethereum core developers and maintained ever since.</strong> After the Ropsten testnet reached a Terminal Total Difficulty (TTD) of 50000000000000000 the Sepolia and the Goerli testnets transitioned to a proof-of-stake consensus mechanism to mimic the Ethereum mainnet."
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*0geRAj4udjR6I7CrqNGaGA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 353,
      "height": 343
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://sepolia.etherscan.io/\" target=\"_blank\" rel=\"noreferrer noopener\">https://sepolia.etherscan.io/</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*mBQhZQRKU12zhTiZmw7Cuw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1032,
      "height": 198
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*W-QnugNUIdcP18_5cDhhMg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 627,
      "height": 193
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://goerlifaucet.com/\" target=\"_blank\" rel=\"noreferrer noopener\">https://goerlifaucet.com/</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*23dtM2yB89HVPAsAjgvKvQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 707,
      "height": 216
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.alchemy.com/nft-api\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.alchemy.com/nft-api</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*6TJlcxTvJwKAwBOFdWiaLA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 867,
      "height": 339
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*7ezThNzR4onSbUUvHm7wXw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 905,
      "height": 323
    },
    {
      "type": "paragraph",
      "html": "Gwei is <strong>a denomination of the cryptocurrency ether (ETH), used on the Ethereum network to buy and sell goods and services</strong>. A gwei is one-billionth of one ETH. Gwei is the most commonly used ether unit because it is easier to specify Ethereum gas prices."
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*dvEnzne1KK3OVoQcX4duvA.png",
      "alt": "https://www.investopedia.com/terms/g/gwei-ethereum.asp",
      "caption": "https://www.investopedia.com/terms/g/gwei-ethereum.asp",
      "width": 596,
      "height": 396
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*SliFYoOFpOORTo6Iz-4TCA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 936,
      "height": 392
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*unmS2sGek7UQPF0Tyd2NDA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 914,
      "height": 332
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Live block chain demo"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*1-Y_UTGsBf6DWJMCI4noWg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 883,
      "height": 248
    },
    {
      "type": "heading",
      "level": 2,
      "text": "keccak256"
    },
    {
      "type": "paragraph",
      "html": "Keccak256 is a cryptographic hash function that takes an input of an arbitrary length and produces a fixed-length output of 256 bits. It is the function used <strong>to compute the hashes of Ethereum addresses, transaction IDs, and other important values in the Ethereum ecosystem</strong>"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.youtube.com/watch?v=ucw5ZW291V0\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.youtube.com/watch?v=ucw5ZW291V0</a>"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "SHA256"
    },
    {
      "type": "paragraph",
      "html": "SHA-256 is <strong>one of the successor hash functions to SHA-1</strong> (collectively referred to as SHA-2), and is one of the strongest hash functions available. SHA-256 is not much more complex to code than SHA-1, and has not yet been compromised in any way. The 256-bit key makes it a good partner-function for AES."
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.youtube.com/watch?v=orIgy2MjqrA\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.youtube.com/watch?v=orIgy2MjqrA</a>"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Target is finding best Nonce for condition in a hash function"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*vfApAuCzrzG6ukxphn928Q.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1207,
      "height": 559
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*2ONOHt59oF9ZvMXr-4Tp-A.png",
      "alt": "has 4 zeros at start",
      "caption": "has 4 zeros at start",
      "width": 1161,
      "height": 503
    },
    {
      "type": "heading",
      "level": 3,
      "text": "Bruce force trying to find the best nonce"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*gt5JmGwDPsXRkO0-p5p-zw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 794,
      "height": 415
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*T1Bj879Awska5UP5J74Z4Q.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 622,
      "height": 134
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Peer to peer transaction"
    },
    {
      "type": "paragraph",
      "html": "we have 3 different peers&nbsp;:"
    },
    {
      "type": "paragraph",
      "html": "peer A"
    },
    {
      "type": "paragraph",
      "html": "peer B"
    },
    {
      "type": "paragraph",
      "html": "peer c"
    },
    {
      "type": "paragraph",
      "html": "when value in A change then hash A change"
    },
    {
      "type": "paragraph",
      "html": "base on majority peer A has different value from peer B and peer C"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Hash Wars !"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*y1lH58k9Au5qPg-_g1B9Bg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 766,
      "height": 370
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*tidc9XpW3gDUKSDrvbpHEQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 940,
      "height": 283
    },
    {
      "type": "paragraph",
      "html": "Nonce in Etherium is number of transaction"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://andersbrownworth.com/blockchain/public-private-keys/keys\" target=\"_blank\" rel=\"noreferrer noopener\">https://andersbrownworth.com/blockchain/public-private-keys/keys</a>"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "The Elliptic Curve Digital Signature Algorithm (ECDSA) is a Digital Signature Algorithm (DSA) which uses keys derived from elliptic curve cryptography (ECC)"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.youtube.com/watch?v=NF1pwjL9-DE\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.youtube.com/watch?v=NF1pwjL9-DE</a>"
    },
    {
      "type": "heading",
      "level": 3,
      "text": "Diffie Hellman -the Mathematics bit- Computerphile"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.youtube.com/watch?v=Yjrfm_oRO0w\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.youtube.com/watch?v=Yjrfm_oRO0w</a>"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://www.youtube.com/watch?v=NF1pwjL9-DE\" target=\"_blank\" rel=\"noreferrer noopener\">https://www.youtube.com/watch?v=Yjrfm_oRO0w</a>"
    },
    {
      "type": "paragraph",
      "html": "private key ( secure) -&gt; using math algoritm -&gt; public key"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Signatures"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Ethereum address is public key"
    },
    {
      "type": "paragraph",
      "html": "An Ethereum address is <strong>a 42-character hexadecimal address derived from the last 20 bytes of the public key controlling the account with 0x appended in front</strong>. e.g., 0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*N7CfoKLSTY6OkYOm-4amHg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 815,
      "height": 205
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*0yK2YIUshpXB5arp_5S3qg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 880,
      "height": 313
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Proof of work and proof of stack"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*_7Q9RQv2VEYXA8EgChPG5g.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 736,
      "height": 83
    },
    {
      "type": "paragraph",
      "html": "chain selection<br>Sybil resistance"
    },
    {
      "type": "paragraph",
      "html": "proof of work"
    },
    {
      "type": "paragraph",
      "html": "civil attack"
    },
    {
      "type": "paragraph",
      "html": "Nakamoto consensus"
    },
    {
      "type": "paragraph",
      "html": "block confirmation&nbsp;: number of blocks ahead of chain"
    },
    {
      "type": "paragraph",
      "html": "we paid gas to the miner"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Proof of work uses a lot of energy"
    },
    {
      "type": "paragraph",
      "html": "transaction fee and gas reward"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Sybil Attack"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "blockchain is more democratic"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "proof of work uses a lot of energy"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "ETH 2.0"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*YczXllMoz0oGn2BCnA8gjA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 736,
      "height": 83
    },
    {
      "type": "heading",
      "level": 2,
      "text": "validators: how choose random validators?"
    },
    {
      "type": "paragraph",
      "html": "layer one and layer two"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*lYIQziDoc2SpzABr7zc69w.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 901,
      "height": 76
    },
    {
      "type": "paragraph",
      "html": "bitcoin ethereum are layer one."
    },
    {
      "type": "paragraph",
      "html": "layer 2: application added on layer one"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "What Are Blockchain Rollups?"
    },
    {
      "type": "paragraph",
      "html": "Blockchain rollups refers to a <a href=\"https://www.ledger.com/academy/layer-2-blockchains-explained\" target=\"_blank\" rel=\"noreferrer noopener\">Layer 2 crypto</a> scaling solution for blockchains which involves ‘rolling up’ or compiling a bunch of transactions on a layer 2 blockchain and turning them into a single piece of data to broadcast on a Layer 1 blockchain. To explain, they take the transactions out of the mainnet and process them off-chain. Then convert them into one single piece of data, and submit them back on a parent chain. This is why rollups are also called ‘off-chain scaling solutions.’"
    },
    {
      "type": "heading",
      "level": 2,
      "text": "Solidity program"
    },
    {
      "type": "code",
      "lang": "solidity",
      "code": "pragma solidity ^0.6.0;"
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://docs.soliditylang.org/en/v0.8.23/types.html\" target=\"_blank\" rel=\"noreferrer noopener\">https://docs.soliditylang.org/en/v0.8.23/types.html</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*WfbJwpdem_McXc9hcohLlQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 770,
      "height": 285
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*olhkwQXKN9mmOH86zJv0cw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 550,
      "height": 283
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*qhGqhZ4PJUNjbmrbnMKa7Q.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 362,
      "height": 508
    },
    {
      "type": "paragraph",
      "html": "for each run the code we need to spend money"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*jXGabA17nZQMzmdJ8R8GMQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 919,
      "height": 402
    },
    {
      "type": "heading",
      "level": 2,
      "text": "default value is internal"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*FGYeP-5SyokpVjLepNfqzw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 919,
      "height": 402
    },
    {
      "type": "paragraph",
      "html": "view is read a state of blockchain"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*rRjACzI1KoKBBwIgV_jUsA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 604,
      "height": 83
    },
    {
      "type": "heading",
      "level": 2,
      "text": "pure is not save anything"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*-LSSXK-4TdnPli4W9RBd9A.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 597,
      "height": 145
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*CWAJQe6E07JC0afxUTEbLA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 623,
      "height": 258
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*6TVtuGzroXP-Kp72yjAYEw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1026,
      "height": 511
    },
    {
      "type": "paragraph",
      "html": "<strong>storage</strong> mean data will access after function execute."
    },
    {
      "type": "paragraph",
      "html": "string is array of bytes. we need to use string memory when use it as a parameter."
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*6Pa_uCfts-nQUbGPmQZnyA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 347,
      "height": 374
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*WKuwa1XJpebvOpDR7fH8oQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 472,
      "height": 83
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*9kWFxwxECGKXQNdPVkLLHw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1023,
      "height": 457
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*qBs0JL3Ft68OOifP77fGSQ.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 569,
      "height": 229
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*I76LV97l4yMriKRQabCZvw.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 289,
      "height": 483
    },
    {
      "type": "heading",
      "level": 2,
      "text": "sepolia testnet faucet"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*kw8_zk7rOC5apY1L8ENZXA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 818,
      "height": 369
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://docs.chain.link/resources/acquire-link\" target=\"_blank\" rel=\"noreferrer noopener\">https://docs.chain.link/resources/acquire-link</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*77zNfYSpmVyxTikYgNHp9A.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 507,
      "height": 404
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*_6txQ6YqtqHdeDdM62XCOg.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1094,
      "height": 570
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://sepolia.etherscan.io/tx/0x8e70f41f41ebe2b3dbd01e649ce385d08c23f5f79499694347147517040e52be\" target=\"_blank\" rel=\"noreferrer noopener\">https://sepolia.etherscan.io/tx/0x8e70f41f41ebe2b3dbd01e649ce385d08c23f5f79499694347147517040e52be</a>"
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*-LUIAzHdpZVAn_u_xjwPAA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1099,
      "height": 538
    },
    {
      "type": "image",
      "src": "https://cdn-images-1.medium.com/max/800/1*QC5x2_pwW6LAtcBeRu8LIA.png",
      "alt": "Notes for Solidity, Blockchain, and Smart Contract Course — Beginner to Expert Python Tutorial…",
      "caption": "",
      "width": 1006,
      "height": 137
    },
    {
      "type": "code",
      "lang": "solidity",
      "code": "// SPDX-License-Identifier: MITpragma solidity ^0.6.0;\ncontract SimpleStorage {\n  // this will get initialized to 0! uint256 favoriteNumber;\n  bool favoriteBool;\n  struct People {\n    uint256 favoriteNumber;\n    string name;\n  }\n  People[] public people;\n  mapping(string => uint256) public nameToFavoriteNumber;\n  function store(uint256 _favoriteNumber) public {\n    favoriteNumber = _favoriteNumber;\n  }\n  function retrieve() public view returns(uint256) {\n    return favoriteNumber;\n  }\n  function addPerson(string memory _name, uint256 _favoriteNumber) public{\n    people.push(People(_favoriteNumber, _name));\n    nameToFavoriteNumber[_name] = _favoriteNumber;\n  }\n}"
    },
    {
      "type": "paragraph",
      "html": "Subscribe to DDIntel <a href=\"https://www.ddintel.com/\" target=\"_blank\" rel=\"noreferrer noopener\">Here</a>."
    },
    {
      "type": "paragraph",
      "html": "Have a unique story to share? Submit to DDIntel <a href=\"https://datadriveninvestor.com/ddintelsubmission\" target=\"_blank\" rel=\"noreferrer noopener\">here</a>."
    },
    {
      "type": "paragraph",
      "html": "Join our creator ecosystem <a href=\"https://join.datadriveninvestor.com/\" target=\"_blank\" rel=\"noreferrer noopener\">here</a>."
    },
    {
      "type": "paragraph",
      "html": "<a href=\"https://ddintel.datadriveninvestor.com/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>DDIntel</em> </a>captures the more notable pieces from our <a href=\"https://www.datadriveninvestor.com/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>main site</em></a> and our popular <a href=\"https://medium.datadriveninvestor.com/\" target=\"_blank\" rel=\"noreferrer noopener\"><em>DDI Medium publication</em></a>. Check us out for more insightful work from our community."
    },
    {
      "type": "paragraph",
      "html": "DDI Official Telegram Channel: <a href=\"https://t.me/+tafUp6ecEys4YjQ1\" target=\"_blank\" rel=\"noreferrer noopener\">https://t.me/+tafUp6ecEys4YjQ1</a>"
    },
    {
      "type": "paragraph",
      "html": "Follow us on <a href=\"https://www.linkedin.com/company/data-driven-investor\" target=\"_blank\" rel=\"noreferrer noopener\"><em>LinkedIn</em></a>, <a href=\"https://twitter.com/@DDInvestorHQ\" target=\"_blank\" rel=\"noreferrer noopener\"><em>Twitter</em></a>, <a href=\"https://www.youtube.com/c/datadriveninvestor\" target=\"_blank\" rel=\"noreferrer noopener\"><em>YouTube</em></a>, and <a href=\"https://www.facebook.com/datadriveninvestor\" target=\"_blank\" rel=\"noreferrer noopener\"><em>Facebook</em></a>."
    }
  ]
}
