This repository contains the smart contracts for Balanced in Java. For python contracts check balanced-contracts.
- Clone this repo with submodules
$ git clone --recursive git@github.com:balancednetwork/balanced-java-contracts.git- Clone only submodules if you have already cloned the repo
$ git submodule update --init- Run unit tests
./gradlew clean build optimizedJar- Install docker and docker-compose
- Start local blockchain
$ docker-compose up -d- Run integration test
$ ./gradlew integrationTestAfter installing docker and docker-compose, start the local blockchain.
- Run deployment task
$ ./gradlew deployToLocalVisit us on Discord to discuss.