Setup Hyperledger Indy Pool in Ubuntu

Setup Hyperledger Indy Pool in Ubuntu

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.


  • 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

  1. Getting Started
  2. Install Rust for compilation.
  3. Update & Install packages.
  4. Install Docker for container support.
  5. Build & Install libsodium.
  6. Get indy-sdk source from github.
  7. Build libindy.
  8. Build & Run indy_pool docker container.
  9. Build cli .
  10. 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 -sSf | sh
At the prompt Choose option 1 to Install

Reboot after installation.


Update & Install Packages

apt-get update
apt-get install -y \
   build-essential \
   pkg-config \
   cmake \
   libssl-dev \
   libsqlite3-dev \
   libzmq3-dev \

Install Docker for container support

apt install

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 | 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

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

9 thoughts on “Setup Hyperledger Indy Pool in Ubuntu

  1. Reply
    Free Stuff
    June 28, 2020 at 12:24 PM

    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.

  2. Reply
    Taisha Riggert
    July 27, 2020 at 8:20 PM

    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.

  3. Reply
    October 14, 2020 at 11:26 PM

    if i ready above article, execute nodejs node main.js??

    1. Reply
      October 23, 2020 at 6:52 AM

      You don’t need to run nodejs for this setup.

  4. Reply
    October 30, 2020 at 10:44 PM

    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?

  5. Reply
    November 17, 2020 at 10:29 AM

    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.

  6. Reply
    November 22, 2020 at 1:55 PM

    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.

  7. Reply
    December 4, 2020 at 3:37 AM

    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.

  8. Reply
    July 1, 2021 at 11:52 PM

    Major thanks for the blog post.Really looking forward to read more. Great.

Leave a Reply

Your email address will not be published. Required fields are marked *