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
- 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!!
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.
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)
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
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
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
9 thoughts on “Setup Hyperledger Indy Pool in Ubuntu”
Free StuffJune 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.
Taisha RiggertJuly 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.
namtaewooOctober 14, 2020 at 11:26 PM
if i ready above article, execute nodejs node main.js??
cogniverseOctober 23, 2020 at 6:52 AM
You don’t need to run nodejs for this setup.
HaroldOctober 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?
SallachNovember 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.
sidneyNovember 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.
GrauerDecember 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.
MisemerJuly 1, 2021 at 11:52 PM
Major thanks for the blog post.Really looking forward to read more. Great.