Skip to content

compile

Algorand TypeScript


Algorand TypeScript / index / compile

compile(contract, options?): CompiledContract

Defined in: compiled.ts:107

Compile a contract and return the resulting byte code for approval and clear state programs.

ConstructorFor<BaseContract>

The contract class to compile

CompileContractOptions

Options for compiling the contract

CompiledContract

compile(logicSig, options?): CompiledLogicSig

Defined in: compiled.ts:113

Compile a logic signature and return an account ready for signing transactions.

ConstructorFor<LogicSig>

The logic sig class to compile

CompileLogicSigOptions

Options for compiling the logic sig

CompiledLogicSig