Skip to content

Example integrations with the Squid SDK/API and Contracts

License

Notifications You must be signed in to change notification settings

edgarr1986/examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Squid examples

Repository of examples integrating the Squid API, SDK and Widget ✨💜

Instructions

Requires node and npm to be installed

Navigate to the folder you want to try cd V2/api/evmToEVMSwap

Install packages yarn install

Copy the .env.example to a file named .env in the same directory, fill in your values. These will not be committed, since .env is in the .gitignore file.

Run index.js yarn start

How to approach this

Get straight into code! Run the route example of your choice, understand it, and then start extending. Send some tokens to the Cosmos, buy an NFT across chains, and stake across chains.

Check out our docs for a deeper look, and some hidden features.

Available V2 Examples

In this repository we have examples for the following transaction routes:

  • EVM Routes

  • BTC & Solana Routes

  • Cosmos Routes

  • EVM preHooks

  • EVM postHooks

  • Cosmos PostHooks

Note, v1 has been deprecated and is no longer publicly available.

Where to find us

If you'd like support, or a private walkthrough, we're happy to jump on a chat and help you through anything:)

Find us here: Discord Twitter

About

Example integrations with the Squid SDK/API and Contracts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.8%
  • Other 1.2%