Aperture-Finance / uniswap-v3-automation-sdk

14 stars 7 forks source link

Uniswap V3 Automation SDK

This repository contains the Uniswap V3 Automation SDK developed by Aperture Finance.

Lint Test npm version

Overview

The Uniswap V3 Automation SDK is a comprehensive software development kit designed to automate various workflows related to Uniswap V3. It provides a set of tools, libraries, and utilities that simplify the process of interacting with the Uniswap V3 protocol.

Features

Documentation

For detailed information on how to use the Uniswap V3 Automation SDK, please refer to the official documentation: Documentation Link.

Getting Started

To get started with the Uniswap V3 Automation SDK, follow these steps:

  1. Clone the repository:
git clone https://github.com/Aperture-Finance/uniswap-v3-automation-sdk.git
  1. Install the required dependencies:
npm i -g yarn
yarn
  1. Explore the examples and code samples provided in the repository to understand the SDK's functionalities and usage patterns.

Use yarn link for debugging

When debugging with frontend / backend environment, you don't have to release a new version for every change. Instead, use yarn link can easily replace current module under node_modules with your local code.

Here's the step:

  1. Build sdk
yarn build
  1. Run yarn link in current repo root
❯ yarn link
yarn link v1.22.22
success Registered "@aperture_finance/uniswap-v3-automation-sdk".
info You can now run `yarn link "@aperture_finance/uniswap-v3-automation-sdk"` in the projects where you want to use this package and it will be used instead.
  1. Run yarn link @aperture_finance/uniswap-v3-automation-sdk in target project, it will create a soft link to sdk code.
❯ yarn link @aperture_finance/uniswap-v3-automation-sdk
yarn link v1.22.22
success Using linked package for "@aperture_finance/uniswap-v3-automation-sdk".
  1. After make changes on current repo, you will need to run build again
yarn
yarn build
  1. Use unlink to clean up the soft link
❯ yarn unlink @aperture_finance/uniswap-v3-automation-sdk
yarn unlink v1.22.22
success Removed linked package "@aperture_finance/uniswap-v3-automation-sdk".

Contributing

We welcome contributions from the community! If you would like to contribute to the Uniswap V3 Automation SDK, please follow the guidelines outlined in CONTRIBUTING.md: Contributing Guidelines Link.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

Contact

If you have any questions, suggestions, or feedback, please feel free to reach out to us at engineering@aperture.finance