Adds Sovrin's token functionality to HyperLedger's Indy-SDK.
- Rust Lang (Stable)
- LibIndy (Stable)
- Indy Pool (Provided)
-
Ubuntu
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88 sudo add-apt-repository "deb https://repo.sovrin.org/sdk/deb xenial stable" sudo apt-get update sudo apt-get install -y libindy>=1.6.0
-
macOS
git clone https://github.com/hyperledger/indy-sdk.git cd indy-sdk git checkout stable cd libindy cargo clean cargo update cargo build
Libsovtoken build needs to know how to find Indy-SDK. This is done through the environment variable LIBINDY_DIR.
Create an environment variable LIBINDY_DIR. Have it point the directory containing indy-sdk binaries.
Use
pwd
to get path to current directoryAdd this to your bash profile:
# EXAMPLE export LIBINDY_DIR='/my/path/to/indy-sdk/libindy/target/debug/'
Note anytime you get latest for indy-sdk, you must rebuild the libraries before building libsovtoken, as the libsovtoken build does not compile indy-sdk.
cd devops/indy-pool/ && docker build -t indy_pool .
docker run -itd -p 9701-9708:9701-9708 indy_pool
-
Make sure you meet the requirements above, including building the projects, if you elect to use source code.
-
Get latest for libsovtoken at https://github.com/sovrin-foundation/libsovtoken.git
-
The source code is in a sub-directory called libsovtoken
-
Run the following commands from the libsovtoken subdirectory
- cargo update
- cargo build
-
Run the tests to ensure everything is in good order.
- cargo test
The Sovtoken release process defines the following release channels:
master
- development builds for each push to master branch.stable
- stable releases.
It is recommended to install the SDK packages with APT:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88
sudo add-apt-repository "deb https://repo.sovrin.org/sdk/deb xenial {release channel}"
sudo apt-get update
sudo apt-get install -y libsovtoken
- Go to
https://repo.sovrin.org/windows/libsovtoken/{release-channel}
- Download last version of libsovtoken.
- Unzip archives to the directory where you want to save library.
- Go to
https://repo.sovrin.org/ios/libsovtoken/{release-channel}/libsovtoken-core/
. - 5 target architecture are supported as of now aarch64-apple-ios, armv7-apple-ios, armv7s-apple-ios, i386-apple-ios, x86_64-apple-ios and universal.
- Download latest version of libsovtoken.
- Unzip archives to the directory where you want to save library.
- Go to
https://repo.sovrin.org/android/libsovtoken/{release-channel}
. - 3 architecture are supported as of now arm,arm64 and x86.
- Download latest version of libsovtoken.
- Unzip archives to the directory where you want to save library.
Please follow the guide here.