This project provides examples for interacting with the Sudo Virtual Cards JS SDK on the Sudo Platform.
Engine | Supported version |
---|---|
Node | >= 16 |
Safari | >= 14 |
Firefox | last 2 versions |
Chromium and Edge | last 2 versions |
IE | not supported |
To run this sample app you must first add a TEST registration key and SDK configuration file to the project.
-
Follow the steps in the Getting Started guide and in User Registration to obtain a config file (sudoplatformconfig.json) and a TEST registration key, respectively
-
Place both files in the following location with these names:
[project-root]/config/sudoplatformconfig.json
[project-root]/config/register_key.private
- Create a text file named
register_key.id
containing the TEST registration key ID in the same location:
[project-root]/config/register_key.id
- Follow the above steps in "Getting Started".
-
npm install && npm run start
oryarn install && yarn start
- Navigate to
https://localhost:3000
in your browser.
- Clone this repository
-
npm install && npm run build
oryarn install && yarn build
- Assets will be built into the
dist
folder.
Refer to the following documents for more information:
File issues you find with this sample app in this Github repository. Ensure that you do not include any Personally Identifiable Information (PII), API keys, custom endpoints, etc. when reporting an issue.
For general questions about the Sudo Platform please contact partners@sudoplatform.com