"Family budget" in minutes 
with Chainstack

"Family budget" in minutes 
with Chainstack

- Today’s showcase: “Family budget”
- Live! Create the infrastructure in minutes
- The smart contract and use case
- Live! Deploy a contract and make transactions
- Q&A

320f3b558c773592bba16c976d1b28d1?s=128

Alex Khaerov

July 23, 2019
Tweet

Transcript

  1. Proprietary and Confidential © 2019 hayorov chainstack.com !1 Blockchain project

    in minutes 
 with Chainstack Alex Khaerov Development Lead alex.khaerov@chainstack.com
  2. !2 Agenda • Today’s showcase: “Family budget” • Live! Create

    the infrastructure in minutes • The smart contract and use case • Live! Deploy a contract and make transactions • Q&A
  3. Proprietary and Confidential © 2019 hayorov chainstack.com !3 Quorum blockchain

    (ethereum-based) Jupyter notebook with web3py
  4. Proprietary and Confidential © 2019 hayorov chainstack.com !4 Today’s showcase

    “Family budget”
  5. Proprietary and Confidential © 2019 !5 Family budget Total balance

    - 200$ - 10$ - 15$ -100$ - 50$ - 100$ 1000$ - 10$ - 15$ 900$ 890$ 875$ 675$ 575$ 560$ 510$ 500$
  6. Proprietary and Confidential © 2019 !6 Family budget NaN$ 1000$

    define the balance X X Total balance
  7. Proprietary and Confidential © 2019 My Family The blockchain infrastructure

    Create a project The balance tracker Dad Mom Girl Boy </> Contract Deploy a network with 4 nodes Write some smart contract
  8. Proprietary and Confidential © 2019 hayorov chainstack.com !8 Live! Create

    the infrastructure in minutes
  9. Proprietary and Confidential © 2019 !9

  10. Proprietary and Confidential © 2019 hayorov chainstack.com !10 The smart

    contract
  11. Proprietary and Confidential © 2019 peek the balance init the

    program the program name define the balance & record spendings
  12. Proprietary and Confidential © 2019 hayorov chainstack.com !12 The use

    case
  13. Proprietary and Confidential © 2019 !13 Dad deploys the contract

    Mom Addr: 0x4…d1 Mom defines the balance Dad Addr: 0x3…d3 simpleStorage.constructor(0x4…d1) simpleStorage.makeRecord(1000)
  14. Proprietary and Confidential © 2019 !14 records spendings Boy Addr:

    0x4…22 Dad Addr: 0x3…d3 Mom Addr: 0x4…d1 Girl Addr: 0x5…99 simpleStorage.makeRecord(-15) simpleStorage.getBalance() gets the balance
  15. Proprietary and Confidential © 2019 hayorov chainstack.com !15 Live! Deploy

    a contract and make transactions
  16. Proprietary and Confidential © 2019 !16

  17. Proprietary and Confidential © 2019 !17 bit.ly/cs14free Try Chainstack with

    free 14 days Alex Khaerov Development Lead alex.khaerov@chainstack.com and subscribe for updates at bit.ly/cs-updates