Skip to content

CREDITSCOM/contract-executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation | Guides | News

Twitter AGPL License Build Status

Contract Executor

Contract Executor is app for deploy and execute methods of smart-contract

Used environment
How to build
Maven build compilation from sources files for contract-executor

Maven - Is a tool that can be used for building and managing any Java-based project. It is a command-line tool for building Java (and other) programs developed by Apache.

It's up to you to set up your prerequisites and environment to run Maven on Windows. Therefore, the major prerequisite needed is Java SDK installation because Maven is written in Java and primarily it is used to build Java programs.

The installation of Apache Maven implies extracting the archive and adding the bin folder with the mvn command to the PATH.

Detailed steps are:

  1. Download and install JDK and Add ‘JAVA_HOME’ Environment Variable. After installing Java you must add JAVA_HOME variable to JDK install folder. In addition, ‘java/bin’ directory must be included in ‘PATH’ variable.

  1. Download and install Maven and set the ‘M2_HOME’ and ‘MAVEN_HOME’ variables to maven installation folder. You can download Maven here.

  1. Afterward, ‘maven/bin’ directory must be included in ‘PATH’ variable also. To run maven from command prompt, this is necessary so update the PATH variable with 'maven/bin' directory.

  1. Check the installation by typing the following command in the console: mvn -version

  1. Install Git and clone the thrift-api-client repository from GitHub: https://github.com/CREDITSCOM/thrift-api-client
  2. Change to the directory by using command:_ cd_
  3. Once on the directory write the following command in the prompt to build compilation from sources files: mvn clean install

  1. Now, repeat the process for smart-contract-api repository. Clone it from the repository: https://github.com/CREDITSCOM/smart-contract-api
  2. Change to the directory by using command:_ cd. _Then build compilation from sources by using the command: mvn clean install

  1. Finally clone contract-executor repository from: https://github.com/CREDITSCOM/contract-executor
  2. Change to the contract-executor directory and build it by using:mvn clean install. If all the steps were performed properly and secuently, errors won’t be.

Resources

CREDITS Website

Documentation

Whitepaper

Technical paper

Developers portal

Credits forum

Community links

About

App for deploy and execute methods of smart-contract

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages