C to Algorand TEAL compiler (transpiler)
AKA use your favorite C++ IDE to write Algorand contracts
#include <avm.hpp>
void init()
{
// initialize app
}
void noop()
{
// insert NoOp logic here
}
uint64 avm_main()
{
if (avm_txn.ApplicationID == 0)
{
init();
return 1;
}
if (avm_txn.OnCompletion != NoOp)
{
avm_err();
}
noop();
}
go run cmd/ceal/main -path contract.cpp
See examples for more.
See 'dev' tag for the latest build artifacts ->