Skip to content

balancednetwork/balanced-java-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Balanced Java Contracts

Gradle build codecov

This repository contains the smart contracts for Balanced in Java. For python contracts check balanced-contracts.

Setting up Local Environment

  • 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

Running integration tests

$ docker-compose up -d
  • Run integration test
$ ./gradlew integrationTest

Local Deployment

After installing docker and docker-compose, start the local blockchain.

  • Run deployment task
$ ./gradlew deployToLocal

Discussion

Visit us on Discord to discuss.