This package implements a light version of the go-algorand runtime. It allows to executes transactions and processes TEAL in JavaScript environment. The packages provides 4 main object:
Runtime
object to set up accounts, create applications, opt-in to app, update app, etc...AccountStore
object. All information about an account (apps
, assets
, localState
, globalState
etc..) is stored in AccountStore
.@algo-builder/runtime
can be included as a library using yarn add @algo-builder/runtime
and then import it using import * from '@algo-builder/runtime'
.
Please read more about usage of runtime
from here.
runtime
supports:
Prepare account state for teal execution.
Stateless TEAL - Approve/Reject logic.
Stateful TEAL - Update and verify global/local states if teal logic is correct.
Transactions to
Full transaction processing for type payment
, application call
Asset related transactions:
Multisignature - Runtime
now allows to to withdraw from accounts that has been rekeyed to
multisignature account. In order to do it:
algosdk
.algosdk
.runtime.executeTx(SignedMultiSigTransaction)
More details.
STATUS: production ready.
Please read the main README.
Generated using TypeDoc