macOS (ARM)
To install Indy SDK on macOS, a couple of dependencies are required. This guide covers the installation of the Indy SDK for macs with an ARM processor. For installing the Indy SDK on Intel based macs, please refer to the Indy SDK macOS (Intel) guide.
This installation assumes that you have brew installed. If not, please install it via this command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Libsodium
Libsodium is used by the Indy SDK for encryption, decryption, hashing and signing.
brew install libsodium
Libzmq
Libzmq is a lightweight messaging queue used by the Indy SDK.
brew install zeromq
Indy SDK
The Indy SDK does not been distributed properly for macOS. We have a pre-built library available that can be downloaded. If you prefer to build from source, you can follow the instructions in the Indy SDK repository
First, download the pre-built library from Google Drive.
After this, open Finder
, control+click
on the library and click on open
.
This is something that has to be done as the library is not properly signed.
Lastly the library just has to be moved to the correct location.
If you downloaded the file in another directory, please change the first part of this command
sudo mv ~/Downloads/libindy.dylib /usr/local/lib/
Confirm installation
To see whether the Indy SDK is correctly installed on your system, run the following command and it should not error.
npx -p @aries-framework/node@^0.3 is-indy-installed