Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.hyperledger:fabric-api:'
}
dependencies {
implementation("com.github.hyperledger:fabric-api:")
}
<dependency>
<groupId>com.github.hyperledger</groupId>
<artifactId>fabric-api</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.hyperledger" % "fabric-api" % ""
:dependencies [[com.github.hyperledger/fabric-api ""]]
This project is a Hyperledger project in Incubation. It was proposed to the community and documented here. Information on what Incubation entails can be found in the Hyperledger Project Lifecycle document.
Fabric-API comes with a client API.
While this project represents the fruit of many man-years of development, it is still a work in progress and we are in the process of replacing several components, adding others, and integrating with other open source projects. This particularly relates to security, scalability, and privacy.
Fabric-API was built with the requirements of enterprise architecture in mind by a team that has worked in financial institutions for decades. It has a highly modular design at both the code and runtime levels to allow for integrations with legacy systems.
Version numbers below indicate the versions used.
brew update
brew tap homebrew/versions
brew install git
brew install maven
local_policy.jar
and US_export_policy.jar
files to your
<java_runtime_home>/lib/security
brew install protobuf250
brew install procmail
if the command lockfile
is not available on
your OSX versionbrew install automake
brew install libtool
xcode-select --install
command. You should now have
/System/Library/Frameworks/JavaVM.framework/Headers/jni.h
$JAVA_HOME
environmental variable is unset.add-apt-repository ppa:webupd8team/java
apt-get update
apt-get install git maven oracle-java8-installer
apt-get install oracle-java8-unlimited-jce-policy protobuf-compiler
apt-get install procmail
git clone https://github.com/hyperledger/fabric-api.git
cd fabric-api
mvn clean package -Djava.library.path=
<secp256k1_lib_path>