Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK roadmap #3

Open
14 of 26 tasks
netoneko opened this issue Oct 30, 2019 · 0 comments
Open
14 of 26 tasks

SDK roadmap #3

netoneko opened this issue Oct 30, 2019 · 0 comments

Comments

@netoneko
Copy link

netoneko commented Oct 30, 2019

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant