Socket
Socket
Sign inDemoInstall

@openware/opendax-web-sdk

Package Overview
Dependencies
48
Maintainers
3
Versions
101
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @openware/opendax-web-sdk

Opendax WEB SDK


Version published
Maintainers
3
Created

Readme

Source

Opendax WEB SDK

Opendax WEB SDK

The Opendax WEB SDK supplies reusable UI components for common web interfaces used in creating exchange platform applications, including, UI components and widgets. All components come with a simple, modern design, and can be used as-is or restyled with a custom theme. In addition to UI components, the library leverages React state management tools such as Providers, Hooks, and Utils to connect to the Opendax WEB SDK for JavaScript and pass data to the UI layer, simplifying state synchronization so that developers can concentrate on building.

Getting Started

  1. Add @openware/opendax-web-sdk and the necessary peer dependencies to your project:
// with npm
npm install --save @openware/opendax-web-sdk
  1. Render a CoreProvider in the root of your application.
import { CoreProvider } from '@openware/opendax-web-sdk'

const Root => () => {
  return (
    <CoreProvider>
      <MyApp />
    </CoreProvider>
  )
}
  1. Add styles to the application.

Almost all styles in the application are base on TailwindCSS.

import '@openware/opendax-web-sdk/index.css'
  1. Start mockserver

install dependencies:

npm i npm-run-all colors header-case-normalizer js-combinatorics --save-dev

run mockserver:

npm explore @openware/opendax-web-sdk -- npm run mockserver
  1. Use the widgets to build out your application;

After adding all the necessary providers to the application root, you can use widgets to render balances, connect button, orderbook, and more.

import { OrderBookWidget } from '@openware/opendax-web-sdk'

const Page = () => {
  return <OrderBookWidget />
}

FAQs

Last updated on 11 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc