wido
TypeScript icon, indicating that this package has built-in type declarations

0.4.1 • Public • Published

wido

JavaScript library for interacting with the Wido protocol which allows you to seamlessly move liquidity across vaults and chains.

With the help of this package you can enable omni-chain zaps into your dApp.

Learn more about Wido on https://joinwido.com.

Installation

yarn add wido

or

npm install --save wido

Getting started

https://docs.joinwido.com/integrate-wido/wido-javascript-sdk

API Reference

https://unpkg.com/wido@latest/docs/index.html

Features

  • Typescript ✅
  • ES modules ✅
  • Generated API Reference docs using typedoc ✅

Contributing

Contributing docs are located in CONTRIBUTING.md.

Changelog

0.2.7 - Patch release

  • Add toToken and toChain params to getSupportedTokens.

0.2.6 - Patch release

  • Add gasFee and gasFeeUsdValue props to QuoteResult.

0.2.5 - Patch release

  • Add messages prop to QuoteResult.

0.2.4 - Patch release

  • Add toChainId to getWidoSpender.

0.2.3 - Patch release

  • Add getStatus function to retrieve the status of a transaction.

0.2.2 - Patch release

  • Update the Step type to match the API response.

0.2.1 - Patch release

  • Fix recipient not being passed in quote.

0.2.0 - Minor release

  • Deprecate function getWidoContractAddress in favor of getWidoSpender.
  • Deprecate parameter tokenAddress in favor of fromToken in the approve request object.

Package Sidebar

Install

npm i wido

Weekly Downloads

89

Version

0.4.1

License

UNLICENSED

Unpacked Size

1.02 MB

Total Files

76

Last publish

Collaborators

  • daniel-wido
  • swido