@trustology/trustvault-nodejs-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.8.1 • Public • Published

trustvault-nodejs-sdk

The TrustVault Node.js SDK allows Node.js clients to interact with TrustVault. It includes the following core components.

TrustVault - client interface to interact with TrustVault (webhooks, transaction, wallet)
AwsKmsKeyStore - Class that wraps AWS KMS key for signing
transaction - Bitcoin and Ethereum Transaction Class (validate and sign transaction digest(s))
wallet - Policy Class (validate and sign policyChangeRequest digest)
signature - verify and produce sign data
decoder - asn1-der decoder
encoder - asn1-der encoder

Installation

$ npm i @trustology/trustvault-nodejs-sdk
# Or:
$ yarn add @trustology/trustvault-nodejs-sdk

Getting Started

// common
const { TrustVault } = require("@trustology/trustvault-nodejs-sdk");

// es6
import { TrustVault } from "@trustology/trustvault-nodejs-sdk";

// sandbox env
const trustVaultSandbox = new TrustVault({ apiKey: "<TRUST_VAULT_API_KEY>", environment: "sandbox" });

const trustVault = new TrustVault({ apiKey: "<TRUST_VAULT_API_KEY>"});

You can find more detailed documentation and examples in our Developer Documentation.

Readme

Keywords

none

Package Sidebar

Install

npm i @trustology/trustvault-nodejs-sdk

Weekly Downloads

0

Version

1.8.1

License

MIT

Unpacked Size

390 kB

Total Files

121

Last publish

Collaborators

  • tomu00
  • fodder1997