0.0.6 • Published 5 years ago

@aergoio/athena-compiler v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

athena-compiler

Provides compiler for aergo smart contract

Api

lua

const filePath = "${LUA_SOURCE_FILE_PATH}";
const source = "${LUA_SOURCE}";
const luaCompiler = new CompilerFactory().create(CompilerType.Lua);

luaCompiler.compile(source, filePath).then(compileResult => {
  console.log("Compile result");
  console.log("Payload", compileResult.payload);
  console.log("Abi", compileResult.abi);
}).catch(err => {
  console.log("Error", err);
});

ascl

// TODO

Usage

  • Install dependenty : yarn install
  • Test : yarn run test
  • Build : yarn run build
0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago