eosio-asc

0.3.0 • Public • Published

Transform

Compiling the eosio-asc smart contract code to generate as normal as code that can be directly compiled into wasm.

Build

yarn build

Example

npx asc path/to/examples/solar/solar.ts --transform ./index.ts  --noEmit

Note: You need to use the asc under transform module for transform, that is ./transform/node_modules/assemblyscript/bin/asc

It generated a normal as file. And then you could compile it by asc.

You need set --runtime stub for compiling as code to smart contract environment.

Recommanded args are:

--importMemory --initialMemory 2 --maximumMemory 16 --noExportMemory --runtime stub --use abort= -O2

Readme

Keywords

none

Package Sidebar

Install

npm i eosio-asc

Weekly Downloads

104

Version

0.3.0

License

MIT

Unpacked Size

563 kB

Total Files

74

Last publish

Collaborators

  • jafri
  • learnforpractice