Skip to content

performTemplateSubstitutionAndCompile

performTemplateSubstitutionAndCompile(tealCode, algod, templateParams?, deploymentMetadata?): Promise<CompiledTeal>

Defined in: src/app-deploy.ts:326

Parameters

tealCode

string

The TEAL logic to compile

algod

AlgodClient

An algod client

templateParams?

TealTemplateParams

Any parameters to replace in the .teal file before compiling

deploymentMetadata?

AppDeployMetadata

The deployment metadata the app will be deployed with

Returns

Promise<CompiledTeal>

The information about the compiled code