npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

@aergo/athena-compiler

0.1.3 • Public • Published

athena-compiler

npm npm

Provides compiler for aergo smart contract

aergoluac version : v1.1.1

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("Payload", compileResult.payload); // as a trimmed string form
  console.log("Abi", compileResult.abi); // as a json object
}).catch(err => {
  console.log("Error", err);
});

ascl

// TODO

Usage

  • Install dependenty : yarn install
  • Lint : yarn run lint
  • Test : yarn run test
  • Build : yarn run build

install

npm i @aergo/athena-compiler

Downloadsweekly downloads

0

version

0.1.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability