@cenoa/waas-js-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.12 • Public • Published

Cenoa WaaS JS SDK

This article documents how to integrate your server-side services with Cenoa in order to offer Cenoa Wallet products.

Overview

Simply just import the SDK into your TypeScript based project by following the instructions below. Currently, the SDK is only available in JS/TypeScript but we are working on supporting other environments (Java, Phyton, etc.)

Prerequisites

In order to start integrating Cenoa Wallet as a Service, contact your Cenoa sales representative to get the following items:

  • API key
  • API secret

Those key pairs are going to be delivered to you via a secure portal and you need to keep them in a safe place.

💡 Important

NEVER expose API key or API secret in the client code (mobile app or website etc.)

Setting up the SDK

import CenoaWaaSSDK from '@cenoa/waas-js-sdk';

CenoaWaaSSDK.init({
  apiKey: string, // '[YOUR_API_KEY]'
  apiSecret: string, // '[YOUR_API_SECRET]'
  environment: 'production' | 'sandbox';
});

Package Sidebar

Install

npm i @cenoa/waas-js-sdk

Weekly Downloads

0

Version

1.0.12

License

MIT

Unpacked Size

939 kB

Total Files

82

Last publish

Collaborators

  • ogzhnsbs
  • sperek