@dexknot/1inch
v1.1.0
Published
The submodule is a part of monorepo [Dexknot](https://github.com/yozh-io/dexknot).
Downloads
3
Readme
1inch
The submodule is a part of monorepo Dexknot.
Contains OneInch class providing the ability to execute swap transactions using the 1inch protocol.
Install
- yarn
yarn add --dev @dexknot/1inch
or
- npm
npm install --dev @dexknot/1inch
Importing
Individual components can be imported:
import {
OneInch,
//Interfaces
FetchApproveTxParams,
FetchQuoteParams,
FetchSwapParams,
} from '@dexknot/1inch';