Code Examples

This website contains multiple code examples. These examples are all standalone, and include a `README.md` file that explains how to set-up and use the examples. Examples found on this page are not intended to be full tutorials, but they may help you in understanding how the Aion Network works.

Contracts

These examples are specific to Java contract creation. They do not contains any setup or configuration files, unlike the IntelliJ Plugin) and Maven CLI examples.

Ethers.js

These examples show how to use Ethers.js as a frontend JavaScript framework for your Java blockchain applications.

There are currently no Ether.js example projects.

IntelliJ Plugin

These examples are specific to using the IntelliJ IDE with the Aion4j plugin. These examples may be similar to Maven CLI, and Contract examples, but have been built using the IntelliJ IDE so they might have a different folder structure. They have been designed to be directly imported into IntelliJ.

There are currently no IntelliJ Plugin example projects.

Maven CLI

These examples are specific to using the Maven CLI. These examples may be similar to IntelliJ Plugin, and Contract examples, but have been built using the Maven CLI so they might have a different folder structure. Projects within this section have been designed to be directly ran using the Maven CLI.

There are currently no Maven CLI example projects.

Web3J

These examples show how to integrate a Java blockchain application into a standard Java application using the Web3J framework.

Web3.js

These examples show how to use Web3.js as a frontend JavaScript framework for your Java blockchain applications.