Installation
Install the library globally using Yarn:
yarn global add @notabene/cli
or NPM:
npm i -g @notabene/cli
Make sure that the path to globally installed packages are in your $PATH
environment variable.
Tokens
Login
Login using your Notabene issued Client ID and Client Secret:
notabene auth:login --clientId={CLIENT_ID} --clientSecret={CLIENT_SECRET}
Logout
Logout from Notabene:
notabene auth:logout
Token
Generate a M2M token for use with the Notabene Travel Rule gateway. Note you must be logged in first:
notabene auth:token
Keys
Create a key
You can use the CLI to generate a key that can be used to encrypt PII information to be sent as part of a Travel Rule message:
notabene keys:create
This will generate a JSON object containing an Ed25519 key and metadata which can be passed to the Notabene SDK when creating transactions to encrypt the PII.
License
BSD 3-Clause © Notabene Inc.