compile
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / compile
Function: compile()
Call Signature
compile(
contract
,options
?):CompiledContract
Defined in: packages/algo-ts/src/compiled.ts:107
Compile a contract and return the resulting byte code for approval and clear state programs.
Parameters
contract
The contract class to compile
options?
Options for compiling the contract
Returns
Call Signature
compile(
logicSig
,options
?):CompiledLogicSig
Defined in: packages/algo-ts/src/compiled.ts:113
Compile a logic signature and return an account ready for signing transactions.
Parameters
logicSig
The logic sig class to compile
options?
Options for compiling the logic sig