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

βœ”5❀ Contract Packaging πŸ‘Œ #22

Open
5 tasks
hypercube-lab opened this issue Sep 9, 2021 · 0 comments
Open
5 tasks

βœ”5❀ Contract Packaging πŸ‘Œ #22

hypercube-lab opened this issue Sep 9, 2021 · 0 comments
Labels

Comments

@hypercube-lab
Copy link
Owner

hypercube-lab commented Sep 9, 2021

  • No VM, program is just an i386 .elf that gets loaded directly into the fullnode process. The .elf will have no external deps (no plt, pic, rx) and we'll write a custom loader that works on Windows, Linux, macOS.

  • .so needs to be signed (to identify the author's public key only ?) and verified as being unmodified before loading.

  • Source code is any language that can produce a compatible .elf (potentially just C since that'll likely be easiest to get toolchain to output the right .elf but could also a "safe" subset of Rust (no unsafe, external crates, spawn)

  • Hosted server service that accepts signed source code, compiles it into an .rexx, and "installs" it on the testnet. Contract ID (publickey?) provided back to the submitter

  • Produce an RFC that discusses how programs are loaded on-chain

@hypercube-lab hypercube-lab changed the title βœ”5❀ CLI Interface πŸ‘Œ βœ”5❀ Contract Packaging πŸ‘Œ Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant