README
Embedded Wallet Implementation JS
This is Javascript implementation of the Embedded Wallet
Quick start
- Start development server locally:
nvm exec npm start
- Include the bundle in your HTML. Example:
<script src="http://localhost:8111/cereSDK.js"></script>
- Now you can access
cereSDK
object
API
init(): Promise<void>
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