Skip to content

kryptokrauts/contraect-showcase-maven

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

kryptokrauts

kryptokrauts.com

This project showcases how to use the aepp-sdk-java along with the contraect-maven-plugin in order to interact with Smart Contracts on the æternity blockchain.

Requirements

  • Docker
  • Java 15

Local environment

Make sure to run the local docker setup before compiling and running the tests by spinning up a local environment:

  • docker-compose up -d

This command will spin up a local node and a local Sophia http compiler which are both needed in the setup of this repository.

Generate the Java classes

Run mvn contraect:generate-contraects to generate all the Java classes that are used in the tests to deploy and interact with smart contracts on the æternity blockchain.

After that you can execute each test in your favorite IDE like you prefer it.

Contracts and tests

The contracts are all located under resources/contraects.

The generated classes are all located under target/generated-sources/contraect.

The tests are all located under src/test/java/com/kryptokrauts.

Highlights

All the contracts and tests are good examples to get started but following tests are definitely noteworthy:

Support us

If you like this project we would appreciate your support. You can find multiple ways to support us here:

About

a demonstration how to use the contraect-maven-plugin to generate java classes for smart contract interactions on the æternity blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published