Swap-for-Gas was built using the Squid widget example from https://github.com/0xsquid/widget-integrations .
- Clone this repo
- To install the widget you need to have an npm token . To obtain it, please contact Squid on their Discord.
Then create a
.npmrc
file at the root of your repository and provide the token in it
//registry.npmjs.org/:_authToken=
-
Run yarn add @0xsquid/widget
-
Run yarn start