Install binary distribution
Prerequisites
Java JDK version 11 or higher.
libsodium is required if using kalium instead of the default jnacl NaCl implementation. See the libsodium installation docs or install using brew (macOS only):
brew install libsodium
Install binaries
Download and unpack the latest tessera-dist-<VERSION>.zip|tar distribution from the ConsenSys/tessera repository:
$ tar xvf tessera-[version].tar
$ tree tessera-[version]
tessera-[version]
├── bin
│ ├── tessera
│ └── tessera.bat
└── lib
├── HikariCP-3.2.0.jar
...
Verify the installation with the help command:
./tessera-<version>/bin/tessera help
You can optionally add the tessera script to path:
export PATH=$PATH:tessera-[version]/bin
tessera help
Supplement the distribution
You can add functionality to a distribution by adding .jar files to the /lib directory.
Add Tessera artifacts
Download and unpack the artifact:
$ tar xvf aws-key-vault-[version].tar
$ tree aws-key-vault-[version]
aws-key-vault-[version].tar
└── lib
├── annotations-2.10.25.jar
...
Copy the contents of the artifact's /lib into the distribution /lib (resolve any version conflicts or duplicated .jar files introduced during the copy):
cp -a aws-key-vault-[version]/lib/. tessera-[version]/lib/