Skip to content

The Trinsic Ruby SDK

The Trinsic Ruby SDK makes it easy to interact with the Trinsic API from any Ruby application. The most recent version of the library can be found on RubyGems. You can find the SDKs source on Github.

Installation and Configuration

  • Make sure you have the okapi native binaries installed on your machine. Default installation instructions are in the here
  • If you install to a different location for debugging, use the environment variable RUBY_DLL_PATH on windows. LD_LIBRARY_PATH for Ruby on Mac/Linux
    gem install trinsic-services
  • Test installation by running the following Ruby script:
    require 'trinsic_services'
    account_service =, Trinsic::trinsic_prod_server)
    account_profile = account_service.sign_in(nil).profile
    puts account_profile
  • Output should look something like this:
    <Services::Account::V1::AccountProfile: profile_type: "", auth_data: ")urn:trinsic:wallets:bbBEp9EmV1NNWMadBhit2$19ac25ae-2fd0-44d1-9ef7-73cc668e8f7d", auth_token: "▒", protection: <Services::Account::V1::TokenProtection: enabled: false, method: :None>>

Next Steps

Once the SDK is installed and configured, you're ready to start building! We recommend going through the walkthrough next. If you're ready to dive into building your ecosystem, check out our API Reference

Start Walkthrough Explore API