@cronus-finance/widgets
TypeScript icon, indicating that this package has built-in type declarations

0.0.8-beta • Public • Published

Cronus Finance Widgets

The @cronus-finance/widgets package is an npm package of React components used to provide subsets of Cronus Finance services in a small and configurable user interface element.

Swap Widget

The Swap Widget bundles the whole swapping experience into a single React component that developers can easily embed in their app with one line of code.

You can customize the theme (colors, fonts, border radius, and more) to match the style of your application. You can also configure your own default token list.

Installation

Install the widgets library via npm or yarn. If you do not already use the widget's peerDependencies redux and react-redux, then you'll need to add them as well.

yarn add @cronus-finance/widgets redux react-redux
npm i --save @cronus-finance/widgets redux react-redux

Guide

Our docs at gitbook.io can give you an overview of the React Component and its requirements. If you are interested in integrating the widget in your interface please check it out

Example

You can preview and test the widget at widget.cronusfinancexyz.com

A note to users

The usage of the Swap component is in no way an endorsement from Cronus Finance to the project/website/app that integrates it. Cronus Finance is not responsible for any damage to the final user caused by illicitly modified Swap components, incorrect/maliciously altered custom Token Lists or any other attempt of mimicking the interface.

USE THE SWAP WIDGET ONLY ON WEBSITES YOU PERSONALLY TRUST.

Cronus Finance guarantees code coherence only on: app.cronusfinancexyz.com app.cronusfinance.xyz cronusfinance.mypinata.cloud

Legal notice

Cronus Finance encourages integrators to evaluate their own regulatory obligations when integrating this widget into their products, including, but not limited to, those related to economic or trade sanctions compliance.

Readme

Keywords

none

Package Sidebar

Install

npm i @cronus-finance/widgets

Weekly Downloads

0

Version

0.0.8-beta

License

GPL-3.0-or-later

Unpacked Size

2.56 MB

Total Files

9

Last publish

Collaborators

  • barenfels