@aergoio/athena-compiler
TypeScript icon, indicating that this package has built-in type declarations

0.0.6 • Public • Published

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

Package Sidebar

Install

npm i @aergoio/athena-compiler

Weekly Downloads

6

Version

0.0.6

License

MIT

Unpacked Size

185 MB

Total Files

395

Last publish

Collaborators

  • acktsap