Algo Builder v0.5 Released
algob as well as creating unit tests and integration tests.
We had to change the name. We can’t use
Algorand Builder name. The new project name is
Algo Builder. Please update your package.json dependencies:
The JS Runtime (@algo-builder/runtime) is a combination of a TEAL parser, interpreter, account storage, smart contract storage, and transaction execution environment.
We have 100% TEAL
#pragma version 2 support with a robust internal test suite.
Algob Test Framework
We integrated the JS Runtime into
algob and created a test framework. Testing your Algo Builder based project will consist of three phases:
- Initializing a Runtime and Storage
- Creating accounts and saving them in a storage
- Preparing the variables or smart contracts
- Test flow
- Writing a test scenario: creating transactions, updating smart contract
- Using chai.js to write assertions to verify the updated storage.
- Tear down (optional): closing resources
With Algo Builder v0.5 you can tests all your smart contracts and ASA! Check the Crowdfunding App Example to see tests in action.
JS Algorand SDK
We continue adding definite typings into for the js-algorand-sdk. We released a new version with improved TypeScript type definitions →
In the past versions we improved our private net setup (scripts in
/infrastructure). It required the algorand node (
goal to be locally installed. In the meantime the Algorand Team improved the Sandbox Docker image (the v2 release).
In this release we integrated Sandbox v2 - you can setup a Sandbox private network with one command:
- go to
/infrastructure(a directory in our repository)
make sandbox-up sandbox-setup-master-account
To stop the sandbox you can run:
infrastructure command worth noting is:
make recreate-private-net which will remove and recreate a current private net (not Sandobx based).
infrastructure/Makefile for more useful commands.
Infrastructure Breaking Change
We changed the default port and node token to match the one from Sandbox:
- Added new optin functions:
deployer.optInLsigToASA(breaking - we removed
- Added support for
bigintfor all numeric values in
- Added TypeScript example project -
Check our README file for a quick setup instructions.
Write to us in the Algorand Discord Server -> #algo-builder channel.