1.1.0 • Published 11 months ago

@dexknot/1inch v1.1.0

Weekly downloads
-
License
-
Repository
github
Last release
11 months ago

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';