Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 2.09 KB

Workshop-Agenda.md

File metadata and controls

44 lines (37 loc) · 2.09 KB
  • Overview

    • what are smart contracts, dev restrictions
    • Development tools: neo-boa & neo-python
  • Hands-On 1

    • Check that Python 3.5.2 is installed
    • Clone and setup neo-python and neo-boa
    • Pull the privnet Docker image
    • Run Docker privnet and connect neo-python to it
      • use help, open wallet & rebuild
  • Smart contract internals 1

  • Hands-On 2

    • Very simple Print example
    • neo-python build & test process
      • See also: Smart Contract Parameters and Return Values
  • Smart contract internals 2

    • Costs for deploying and running smart contracts: http://docs.neo.org/en-us/sc/systemfees.html
    • Storage
      • you can only store a bytearray, int, and strings in storage.
      • if you want to store more complex objects i'd take a look at the serialization example ([1], [2])
    • CheckWitness
  • Hands On 3

    • Domain registration system
    • Deploy to privnet, invoke methods
  • Smart contract internals 3

    • TriggerType.Verification and TriggerType.Application
    • timestamps + random numbers
      • timestamps/block time: boa/src/tests/blockchain // from boa.blockchain.vm.Neo.Header import GetTimestamp
      • random numbers: docs from ambethia on first dapp comp project (reference)
    • NEP-5 token standard
  • Hands-On 4