everest-sdk

1.0.12 • Public • Published

everest-sdk

Everest Javascript SDK to buy crypto from fiat

NPM JavaScript Style Guide

Install

npm install --save everest-sdk

Options

Following options can be provided to the SDK:
env {sandbox, production}
appKey
widgetWidth
widgetHeight
service (buySell/identity)
buttonColor (this will take effect only for the identity service)
buttonTextColor (this will take effect only for the identity service)

Usage

import React from 'react'
import everestSDK from 'everest-sdk'

const App = () => {
    const options = {
        appKey: "__PROVIDED_BY_EVEREST__",
        widgetWidth: "600px",
        widgetHeight: "700px"
    };
    return <button onClick={() => everestSDK.initialize(options)}>Click Me</button>
};

export default App

License

MIT © everestdotorg

Package Sidebar

Install

npm i everest-sdk

Weekly Downloads

86

Version

1.0.12

License

MIT

Unpacked Size

14.3 kB

Total Files

4

Last publish

Collaborators

  • everestnetwork