UNPKG

@swapper-finance/sdk

Version:
111 lines (73 loc) 2.17 kB
<a name="readme-top"></a> <!-- PROJECT LOGO --> <br /> <div align="center"> <h1 align="center">Swapper SDK</h1> <p align="center"> Swapper SDK exposes a variety of models and tools for other projects to use. <br /> <a href="https://docs.swapper.finance/swapper/introduction/what-is-swapper"><strong>Explore the docs »</strong></a> <br /> </p> </div> <!-- TABLE OF CONTENTS --> <details> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> </ol> </details> <!-- ABOUT THE PROJECT --> ## About The Project Swapper SDK exposes a functions to access the advanced swap solution offered by Swapper. <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- GETTING STARTED --> ## Getting Started To get the library follow these simple example steps. ### Prerequisites - npm / pnpm `npm i pnpm@latest -g` ### Installation Below you will find a step-by-step installation guide. 1. Install the library in your project ```sh npm/pnpm i @swapper-finance/sdk ``` <p align="right">(<a href="#readme-top">back to top</a>)</p> <!-- USAGE EXAMPLES --> ## Usage Todo <p align="right">(<a href="#readme-top">back to top</a>)</p> ## Contribution A detailed instruction on how to contribute ### Prerequisites - pnpm ```sh npm i pnpm@latest -g ``` #### 1. Get the project and install dependencies ```sh git clone git@github.com:swapper-finance/swapper-sdk.git cd swapper-sdk pnpm i ``` #### 2. Create new branch based on the `develop` one ```sh git checkout develop git checkout -b feature/<your_feature_name> ``` #### 3. Create changeset `pnpm changeset` and follow instructions to describe your changes #### 4. Commit changes including changeset: `git commit -m "feat: <your desc>>"` #### 5. Create PR to `develop` branch <p align="right">(<a href="#readme-top">back to top</a>)</p>