Introduction
The TrustVault API is a GraphQL based API for interacting with TrustVault wallets.
TrustVault is the entry point for securely managing your customers' or clients' wallets. In brief you will be able to create BIP32 compatible wallets for Bitcoin, Ethereum (and ERC20) and other chains. You will then be able to:
- View the balance of your assets
- Send Assets to anyone (or allow-listed addresses only)
- View history of transactions (export to CSV also)
- Create Bitcoin receive addresses and view transactions on each address
- Many more exciting features coming soon 🎉
Introduction to API Access
There are fundamentally two models which are supported.
-
The API client uses their registered iPhone device to sign all transactions or policy changes.
-
The API client controls the Instruction Key and does not need the iOS device.
Method 1: Using an Iphone device with the TrustVault App
For API users that:
- Do not want to custody the Instruction Key (as the key is kept in the secure enclave of the iOS device)
- Want a manual process of viewing and signing off on each transaction (eg CEO views and approves outbound transactions)
- Do not need to automatically process many transactions per second
- Want a faster development flow
Only the API Onboarding Tutorial is relevant to this type of API user. The public postman collection is all that is needed to develop all of TrustVault's features
Method 2: Client holds their own Instruction Key
For API users that:
- Want a completely automated flow with no manual steps
- Confident in securing their private Instruction Key
- Are confident and able to integrate our JavaScript SDK or can reproduce all of the encoding logic themselves (each blockchain has their own logic for transaction creation).
Please check out our Getting Started on how to use the Trust API via SDK or GraphQL for this type of API user