Skip to content

Nim contracts on eWASM #122

@0zAND1z

Description

@0zAND1z

Objective: Develop a detailed pipeline for Contracts in Nim based on the eWASM Specs

People involved: @kggp1995, @AchalaSB and others from eWASM & status.im team

Goal(s):

  1. Develop a proper emscripten-based transpiler that can convert a .nim program (contract) to WASM executable along with other supporting files

Detailed Workflow (Proposed/Expected):

  1. Writing contracts in Nim as per the eWASM Specs
  2. Compiling contracts using emscripten and generating .wasm, .js, .html & other files.
  3. Generating .wast from .wasm using wabt
  4. Getting Hex code for the contracts
  5. Deploy WASM "Bytecode" & generate new contract address
  6. Testing wast code in eWASM testnet
  7. Extending wast file conversion which contains gas usage and metering information

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