A Node.js Application with examples to use the Nullafi Node.js SDK.
- Node.js >= v10.14.0
- Run
npm install
to install the SDK npm package
-
To get started with the Examples, get a API Key from the Configuration page of your app in the Settings Page -> API Key. You can use this token to make calls for your own Nullafi account.
-
All vaults and tokens examples are in
examples
folder. -
Run
npm start
to view all examples working.
var Examples = require('./examples/examples');
class Program
{
static api_key()
{
return "YOUR_API_KEY";
}
static async main()
{
try {
const examples = new Examples(this.api_key());
await examples.Run();
}
catch (ex) {
console.log(ex);
}
}
}
Program.main();
Copyright 2019 Joinesty, Inc. All rights reserved.