UNPKG

@aeternity/aepp-sdk

Version:

SDK for the æternity blockchain

16 lines (15 loc) 557 B
import HttpBrowser from './Http.js'; import { Aci, CompileResult } from './Base.js'; import { Encoded } from '../../utils/encoder.js'; /** * Contract Compiler over HTTP for Nodejs * * Inherits CompilerHttp and implements `compile`, `validate` methods * @category contract * @example CompilerHttpNode('COMPILER_URL') */ export default class CompilerHttpNode extends HttpBrowser { compile(path: string): CompileResult; generateAci(path: string): Promise<Aci>; validate(bytecode: Encoded.ContractBytearray, path: string): Promise<boolean>; }