wido
Version:
JavaScript library for interacting with the Wido protocol which allows you to seamlessly move liquidity across vaults and chains.
73 lines (40 loc) • 1.44 kB
Markdown
# 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
```sh
yarn add wido
```
or
```sh
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](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.