Skip to content

SDK roadmap #3

@netoneko

Description

@netoneko

Compiled with help of @talkol

Excluding for now:

  • multifile contracts
  • unit testing

Sanitization:

  • functions that can break consensus (Math.rand, new Date(), V8Worker2, ...)
  • asynchronous behavior
  • review by @bolshchikov
  • review by @gilamran

Contract API:

  • exporting functions via ES6 syntax
  • forbid underscored _functions from being called from the outside even if they are exported
  • type checks via helper functions (Verify.uint64 and so on)
  • events as functions with type checks
  • helper functions to transform strings to bytes, bytes to strings, JSON/hex encoding, and so on

Contract Objects:

Data types:

  • string
  • bytes
  • uint32
  • uint64

Data types for the future:

  • uint256
  • byte20
  • byte32
  • boolean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions