Notwithstanding Previous Misdemeanors

    v3swap-v2-sdk
    TypeScript icon, indicating that this package has built-in type declarations

    3.0.5 • Public • Published

    V3swap V2 SDK

    修改了class Pair,通过前端传入FACTORY_ADDRESS和INIT_CODE_HASH来计算Pair合约地址

    在uniswap的前端中通过npm remove @uniswap/v2-sdk删除原版uniswap v2 sdk

    然后在前端目录中运行npm install v3swap-v2-sdk安装本项目

    之后修改前端对应的new Pair()computePairAddress()函数

    Install

    npm i v3swap-v2-sdk

    DownloadsWeekly Downloads

    2

    Version

    3.0.5

    License

    MIT

    Unpacked Size

    266 kB

    Total Files

    18

    Last publish

    Collaborators

    • v3swap