0.0.10-development • Published 1 month ago
vinuswap-sdk v0.0.10-development
vinuswap-sdk
Wrapper for VinuSwap contracts, based on Uniswap v3 SDK.
Install
npm install vinuswap-sdk
Usage
import VinuSwap from 'vinuswap-sdk';
const sdk = await VinuSwap.create(
tokenAAddress,
tokenBAddress,
poolAddress,
quoterAddress,
routerAddress,
positionManagerAddress,
signerOrProvider
);
IMPORTANT: Uniswap (and, therefore, VinuSwap) uses an address-based ordering for tokens that does not necessarily match the order
in which they are passed to the constructor. Therefore, be sure to check which token is token0 and which token is token1 with
sdk.token0Address
and sdk.token1Address
.
0.0.10-development
1 month ago
0.0.9-development
1 month ago
0.0.7-development
1 month ago
0.0.8-development
1 month ago
0.0.6-development
1 month ago
0.0.5-development
1 month ago
0.0.4-development
1 month ago
0.0.3-development
1 month ago
0.0.2-development
1 month ago
0.0.1-development
1 month ago
0.0.0-development
1 month ago