Catalog npm
PACKAGE EXPLORERView in registry

@0xsquid/widget

npm

A front end widget for using Squid

Versions collected480
Direct dependencies45From release 7.0.0
Last observed21 Oct, 11:54 UTC

README

Current package documentation

Squid Widget

Squid Widget is a cross-chain swap widget built with TypeScript & React. It is designed to be embedded into websites, providing an easy and convenient way to perform cross-chain swaps directly from the partner's website.

Tech Stack

Project Structure

├── src
│   ├── widget
│   │   ├── assets
│   │   ├── components
│   │   ├── connectors
│   │   ├── contracts
│   │   ├── core
│   │   ├── hooks
│   │   ├── services
│   │   ├── store
│   │   ├── views
│   └── index.tsx
├───index.ts
└───compiled-tailwind.css

External providers (Gnosis / Ledger)

For more informations about external providers, click here

Getting Started

Prerequisites

  • Node.js
  • Yarn

Installation

Install Yarn packages at the root folder

yarn

Development

The development server must be started from the nextjs package, which embeds the widget.

cd ../nextjs
yarn dev

Building

The build command must be run from the root folder as this is a lerna monorepo.

cd ../..
yarn build

Please note that TailwindCSS has to be built manually as it's embedded in the build. Therefore, sometimes you may have to run yarn build.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 480

Collected releases
VersionPublishedDirect dependenciesOpen version
5.0.0-beta.113 May 202519
5.0.0-beta.013 May 202519
4.2.9-onramp-beta.812 May 202519
4.2.9-onramp-beta.712 May 202519
4.2.9-onramp-beta.69 May 202519
4.2.9-onramp-beta.59 May 202519
4.2.9-onramp-beta.49 May 202519
4.4.1-rollup-beta.48 May 202518
4.4.1-rollup-beta.38 May 202518
4.4.1-rollup-beta.28 May 202519
4.4.1-rollup-beta.17 May 202519
4.4.1-rollup-beta.07 May 202519
4.4.01 May 202519
4.2.9-xrpl-beta.029 Apr 202519
4.2.9-onramp-beta.329 Apr 202519
4.2.2-beta.1629 Apr 202519
4.2.9-onramp-beta.228 Apr 202519
4.2.9-onramp-beta.128 Apr 202519
4.2.9-onramp-beta.028 Apr 202519
4.2.2-beta.1528 Apr 202519

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xsquid/squid-widget

Shared repository data · GitHub

License detected in repository
Not collected

Repository

PENDING
0xsquid/api-widget

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:35ee0433141bed8225a8f13c46181f435f115657f84c2b9baadf39cf1ea3b809