A path to aesophia_cli binary, by default uses the integrated one
Options
Optional
ignoreDon't ensure that the compiler is supported
Compile contract by contract's source code
Contract source code as string
Optional
fileSystem: Record<string, string>A map of contract filename to the corresponding contract source code to include into the main contract
ACI and bytecode
{
'library.aes': 'namespace TestLib =\n function sum(x: int, y: int) : int = x + y'
}
Generate contract's ACI by contract's source code
Contract source code as string
Optional
fileSystem: Record<string, string>A map of contract filename to the corresponding contract source code to include into the main contract
ACI
{
'library.aes': 'namespace TestLib =\n function sum(x: int, y: int) : int = x + y'
}
Verify that a contract bytecode is the result of compiling the given source code
Contract bytecode to verify
Contract source code as string
Optional
fileSystem: Record<string, string>A map of contract filename to the corresponding contract source code to include into the main contract
{
'library.aes': 'namespace TestLib =\n function sum(x: int, y: int) : int = x + y'
}
Generated using TypeDoc
A wrapper around aesophia_cli, available only in Node.js. Requires Erlang installed, assumes that
escript
is available in PATH.