Installing the Widget
Preparing to integrate the widget into your app
Installing the Squid Widget
Prerequisites
Before installing the Squid Widget, ensure you have:
Registered for an Integrator ID with the Squid Team.
Node.js and npm (or yarn) installed on your system.
Getting an Integrator ID
To use the Squid Widget, you need to register for an Integrator ID:
Complete the Integrator ID request form.
You will receive your Integrator ID via email.
Installation
Step 1: Install the package
Install the Squid Widget npm package using one of the following commands:
Using npm:
Using yarn:
Step 2: Update dependencies (if necessary)
Squid v2.0 uses Wagmi v2 and ethers v6. If you have these packages in your project, update them:
For more information on upgrading Wagmi, refer to the official Wagmi upgrade guide.
Next Steps
After installation, you'll need to integrate the widget into your project. We provide specific guides for different frameworks:
Choose the guide that matches your project's setup.
Support
If you have any questions or need assistance, please join our Discord server and post in the #⛛│developers channel.
Breaking Changes
Be aware that Squid v2.0 introduces several breaking changes, including:
Updated API URL(apiplus)
Renamed and removed properties
New theming system
Refer to our Migration Guide for detailed information on these changes and how to adapt your integration.
Last updated