wido
v0.4.1
Published
JavaScript library for interacting with the Wido protocol which allows you to seamlessly move liquidity across vaults and chains.
Downloads
319
Readme
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
andtoChain
params togetSupportedTokens
.
0.2.6
- Patch release
- Add
gasFee
andgasFeeUsdValue
props toQuoteResult
.
0.2.5
- Patch release
- Add
messages
prop toQuoteResult
.
0.2.4
- Patch release
- Add
toChainId
togetWidoSpender
.
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 inquote
.
0.2.0
- Minor release
- Deprecate function
getWidoContractAddress
in favor ofgetWidoSpender
. - Deprecate parameter
tokenAddress
in favor offromToken
in theapprove
request object.