This week we highly recommend that you check these two posts:
Aleo Instructions
AVM opcodes
The full list of AVM opcodes are now available here.
There are 3 new opcodes:
- mod
(for modulus)
- rem
(for checked remainder)
- rem.w
(for wrapping remainder)
You can find references to them in the source code here.
New functionality
- function and closure no longer require a minimum # of inputs, instructions, or outputs. This increases the flexibility of programs.
- A new keyword finalize has been introduced, which allows you to evaluate on-chain (public) logic after a function has been executed.
- A new storage type mapping has been introduced, which allows a program to store public on-chain data accessible by program functions.
- Two new commands increment and decrement have been introduced, to allow a program to finalize to increment or decrement the value stored in a mapping.
For those interested to play with an early preview of these features:
1. Install the Aleo Plugin for Sublime Text 3 which will make it easy to read the new syntax.
2. Re-install aleo (with git clone https://github.com/AleoHQ/aleo.git && cd aleo && cargo install --path .
)
3. Try the new token.aleo program here: https://github.com/AleoHQ/aleo/tree/main/examples/token (or cd aleo/examples/token
)
In trying out things help by filing any bugs you run into on the snarkVM or aleo Github repo (with steps to reproduce the issue
Aleo Explorer and Wallet
Explorer:
You can view a WIP version of the explorer here.
Basic functionality of the wallet working:
Blog posts
Community projects
* nucleo Private, audit-friendly multisigs for on-chain orgs.
* KREAd is an application that uses and implements composable NFTs on Agoric, the application allows users to customize their own characters by equipping and unequipping items.