
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
aqua-compiler
Advanced tools
An expressive high level language for the Algorand block chain that compiles to TEAL code.
An expressive high level language for the Algorand blockchain smart contracts that compiles to TEAL code.
This is a work in progress. Please report issues and help set the direction for this project.
Download the latest executable for your platform from the releases page.
Add the executable to your path. If you are on MacOS or Linux you should rename the executable from aqua-mac
or aqua-linux
to just be called aqua
(so the rest of the instructions make sense).
Running the executable with no arguments starts the REPL:
aqua
You can type Aqua expressions and statements at the REPL and see the TEAL code that is generated.
Trying entering expressions at the REPL prompt:
txn.Amount >= 1000;
15 + txn.Amount >= 1000;
txn.Amount <= arg[0];
txn.Amount + arg[0] > 1000 && arg[1] > 30;
txn.Receiver == addr ABC123;
"a string" == txn.Something;
return 1+2;
To compile an Aqua file to TEAL code, input the Aqua filename:
aqua my-smart-contract.aqua
That prints the generated TEAL code to standard output.
Typically you'll want to capture the TEAL code to a file (so you can run it against the blockchain):
aqua my-smart-contact.aqua > my-smart-contract.teal
See the examples
subdirectory for various examples of Aqua code.
See the development guide for instructions on development of Aqua.
FAQs
An expressive high level language for the Algorand blockchain that compiles to TEAL code.
The npm package aqua-compiler receives a total of 1 weekly downloads. As such, aqua-compiler popularity was classified as not popular.
We found that aqua-compiler demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.