This is the simple GUI utility for minting tokens based on Indy-Sdk and Libsovtoken libraries.
- Python3
- python3-tk -
sudo apt-get install -y python3-tk
- Indy-SDK - https://github.com/hyperledger/indy-sdk#installing-the-sdk
- Libsovtoken - do the same steps as for Libindy but use at the end
sudo apt-get install -y libsovtoken
.
- Wallet with a DID on that ledger. This can be done using the Indy-CLI.
- Other configuration options are pulled from a shared file so that all trustees use the same values. The configuration file is specified in src.constants.CONFIG_URL
`python3 run.py`
-
Ubuntu
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88 sudo add-apt-repository "deb https://repo.sovrin.org/test/deb xenial token-minter" sudo apt-get update sudo apt-get install -y token-minter
-
Windows
- Download
libsovtoken.dll
from https://repo.sovrin.org/test/windows/token-minter/ - Add path to
libsovtoken.dll
toPATH
environment variable. - Install Indy
- Download
token-minter.exe
from https://repo.sovrin.org/test/windows/token-minter/ - Run token-minter.exe
- Download
-
MacOs
- Build
libindy
https://github.com/hyperledger/indy-sdk bycargo build
command.- Copy
libindy.dylib
either :- to
/user/lib/
or/user/local/lib/
folder - to any
/User/tmp/
and setDYLIB_LIBRARY_PATH
env variable to this folder.
- to
- Copy
- Build
libsovtoken
https://github.com/sovrin-foundation/libsovtoken bycargo build
by cargo build. - Copy
libsovtoken.dylib
to the same folder as you did forlibindy.dylib
. - Install indy python wrapper:
pip3 install python3-indy
. - Run
token-minter
from python sources bypython3 run.py
.
- Build