Trinsic SDK for Go
Usage
go get github.com/trinsic-id/sdk/go
Dependencies
This SDK depends on Okapi library which is distributed as a C-callable library.
The bindings use cgo
to call into this native functionality. You must have the Okapi static library in
your library search path, including the C headers. You can use the below instructions to install them for your platform.
Homebrew (MacOS and Linux)
We maintain a Homebrew Tap with bottles for MacOS and Linux. To install run:
brew install trinsic-id/tap/okapi
dpkg
for Linux
You can find .deb packages for your platform with each release. These can be installed using dpkg
.
Choose the package for your architecture.
The packages will install the required libraries and header files.
wget https://github.com/trinsic-id/okapi/releases/download/v1.1.0/okapi_1.1.0_amd64.deb
dpkg -i okapi_1.1.0_amd64.deb