Not sure where to start? Head on over to learn.aion.network and follow along with our guides there.
Just looking for documentation for that thing you're building? Jump right into the docs.
Want to take a look at our code or help out in one of our repositories. Head on over to Github
wget https://github.com/aionnetwork/AVM/releases/download/avmtestnet-2019-02-08/avmtestnet-2019-02-08.tar.bz2 tar xvzf avmtestnet-2019-02-08.tar.bz2
cd avmtestnet-2019-02-08/lib java -jar avm.jar > Usage: AvmCLI [options] [command] [command options]
Hello Worldapplication to your local AVM network:
java -jar avm.jar deploy ../dapp.jar > ... > Result status: SUCCESS > Dapp Address : 0f3b39f4e8b4bd60d55d8e803547365d44d169770795ca9192eec3e20163e111 > ...
Dapp Addressand call the
sayHellocommand in the newly deployed application:
java -jar avm.jar call 0f3b39f4e8b4bd60d55d8e803547365d44d169770795ca9192eec3e20163e111 -m "sayHello" > ... > Output from transaction d29271db4d81bfaed55daff7c54a15ab0e664a9ca7e3c23f4224cff6c2fb93ab > Hello World! > ...
What you just did was pretty cool. You ran the Aion Virtual Machine and created a small blockchain on your local computer. Then you deployed a Java based blockchain application to this local blockchain, and then you called a method in it! We cover how the AVM works in more details over at the Aion Virtual Machine section of the docs.