The Uniswap v4 SDK
Welcome to the v4 Uniswap SDK!
The Uniswap v4 SDK provides abstractions to assist you with interacting with the Uniswap v4 smart contracts in a Typescript/Javascript environment (e.g. websites, node scripts). It makes uses of the Core SDK to gain access to abstractions that are common amongst the Uniswap SDKs. With the SDK, you can add/remove liquidity, collect fees like what you will usually do with v3 SDK, but more with the extra functionalities from hook introduced in v4!
For complete documentation of the SDK's offerings, see the Technical Reference.
Installation
To interact with the v4 SDK we recommend installing though npm:
npm i --save @uniswap/v4-sdk
npm i --save @uniswap/sdk-core