Distributed ledger-based Foundation for self-sovereign identity. It provides a software ecosystem for private, secure, and powerful identity, and the Indy SDK enables clients for it.
Prerequisites
- Virtual Machine with Ubuntu 16.04 OS.
- Open Ports 9701–9708.
- Root privileges on the VM.
- Internet access to download libraries & docker images.
Steps to Install Indy Pool
- Getting Started
- Install Rust for compilation.
- Update & Install packages.
- Install Docker for container support.
- Build & Install libsodium.
- Get indy-sdk source from github.
- Build libindy.
- Build & Run indy_pool docker container.
- Build cli .
- You are Ready!!
Getting started
Login to your virtual machine terminal and assume root privileges. Also fetch updates and install required libraries.
sudo su -
Install Rust for compilation.
curl https://sh.rustup.rs -sSf | sh
At the prompt Choose option 1 to Install
Reboot after installation.
reboot
Update & Install Packages
apt-get update
apt-get install -y \
build-essential \
pkg-config \
cmake \
libssl-dev \
libsqlite3-dev \
libzmq3-dev \
libncursesw5-dev
Install Docker for container support
apt install docker.io
Confirm docker version (in our case it was version 18.09.7, build 2d0083d)
docker --version
Build & Install libsodium
cd /tmp
#download and install libsodium library
curl https://download.libsodium.org/libsodium/releases/old/unsupported/libsodium-1.0.14.tar.gz | tar -xz
chmod 777 -R libsodium-1.0.14/
cd /tmp/libsodium-1.0.14
#build and install library
./configure --disable-shared && \
make && \
make install
#removed downloaded package
rm -rf /tmp/libsodium-1.0.14
Get indy-sdk from github repository
cd /opt
git clone https://github.com/v13s/indy-sdk.git
Build libindy
cd ./indy-sdk/libindy
cargo build
Build & Run indy_pool docker container
cd /opt
chmod 777 -R indy-sdk/
cd indy-sdk
docker build -f ci/indy-pool.dockerfile -t indy_pool .
docker run -itd -p 9701-9708:9701-9708 indy_pool
Check if indy_pool docker container is up and running
docker ps
Build cli for indy-sdk
cd /opt/indy-sdk/libindy
#run cargo test for libindy. This takes a while
RUST_TEST_THREADS=1 cargo test
#build 'cli'
cd ../cli
RUSTFLAGS=" -L ../libindy/target/debug" cargo build
#you should get a message like
#Finished dev [unoptimized + debuginfo] target(s) in Xm XXs
#add the libindy to the path
echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/indy-sdk/libindy/target/debug" >> ~/.bashrc
sudo ldconfig
source ~/.bashrc
You are ready!!
#To run indy cli
cd /opt/indy-sdk/cli/target/debug
./indy-cli
I as well as my pals were found to be analyzing the great thoughts found on the blog while all of a sudden developed an awful suspicion I never expressed respect to the web blog owner for those secrets. These young boys became for that reason excited to learn them and have now seriously been taking pleasure in them. Thanks for actually being so helpful and for going for this sort of nice topics most people are really wanting to know about. Our own sincere regret for not expressing gratitude to earlier.
Thanks for another informative blog. The place else could I am getting that kind of information written in such an ideal way? I’ve a undertaking that I am just now operating on, and I’ve been on the glance out for such information.
if i ready above article, execute nodejs node main.js??
You don’t need to run nodejs for this setup.
Howdy! Do you know if they make any plugins to safeguard against hackers?
I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?
I intended to create you the very little word to help say thank you over again on the incredible thoughts you’ve discussed above. It is really surprisingly open-handed with you to provide extensively all a lot of folks would’ve offered for an electronic book in making some profit for themselves, and in particular seeing that you might well have done it in the event you decided. These things in addition served to be the fantastic way to know that some people have similar dreams like my own to grasp whole lot more when it comes to this problem. I am certain there are a lot more pleasurable instances ahead for many who discover your blog post.
I am not sure where you’re getting your information, but good topic.
I needs to spend some time learning much more or understanding
more. Thanks for great information I was looking for
this info for my mission.
I’ve recently started a blog, the info you provide on this web site has helped me greatly. Thank you for all of your time & work.
Major thanks for the blog post.Really looking forward to read more. Great.
This will be a fantastic blog, will you be involved in doing an interview about how you developed it? If so e-mail me!
I really like your wordpress template, where would you get a hold of it from?
Great post however , I was wanting to know if you could write a litte more on this topic? I’d be very thankful if you could elaborate a little bit more. Thanks!