1.0.0 • Published 5 years ago

@cere/embedded-wallet-sdk v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

Embedded Wallet Implementation JS

This is Javascript implementation of the Embedded Wallet

Quick start

  1. Start development server locally:
nvm exec npm start
  1. Include the bundle in your HTML. Example:
<script src="http://localhost:8111/cereSDK.js"></script>
  1. Now you can access cereSDK object

API

init(): Promise\

Parameters:

  • appID: string
  • integrationPartnerUserId: string
  • token?: string

Example:

await cereSDK.init(242, 'sdfsdfsdf3243rfsd');

How to build SDK

nvm exec npm run build

How to deploy

aws s3 sync build/ s3://some-bucket-on-s3