Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@polyswapai/widget

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polyswapai/widget

Build your DeFi aggregator with just a few lines of code with Polyswap API

  • 1.0.19
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

Polyswap Widget

The Polyswap White Label is a customizable swap widget that uses the Polyswap API. Whether you are using plain HTML, vanilla, or modular projects such as React, the Polyswap White Label gives you access to a fully functional DeFi aggregator in your website with few lines of code, including a powerful API aggregating multiple liquidity sources, smart contracts and a fully customizable UI—all for free. In this guide, we walk you through adding the code to your website or dApp. We also show you how to customize the code to make it match your brand's style and even collect affiliate fees when your community uses the widget to swap.

Docs

  • Documentations

  • Storybook Playground

Demo

Installing

NPM

npm i @polyswapai/widget

Yarn

yarn add @polyswapai/widget

browser (UMD)

<script src="https://cdn.jsdelivr.net/npm/@polyswapai/widget@latest/bundles/polyswap-app.min.js" type="text/javascript">
</script>

Font

By default we use Roboto font. Include following font stylesheet or install using @fontsource/roboto

<link href='https://fonts.googleapis.com/css?family=Roboto:300,400,500' rel='stylesheet' type='text/css'>

Keywords

FAQs

Package last updated on 23 Jun 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc