Table of Contents
XSwap Common exposes a variety of models and tools for other projects to use. The main things you will find in this repo are models, smart contract abis, util functions, and, constant variables.
To get the library follow these simple example steps.
- npm
npm install pnpm@latest -g
Below you will find a step-by-step installation guide.
- Install the library in your project
npm i @xswap.link/xswap-common
Simply import the stuff from the library.
This is open-source library and below you will find a step-by-step contribution guide.
- pnpm
npm install pnpm@latest -g
git clone git@github.com:xswap-link/xswap-common.git
cd xswap-common
pnpm i
Github workflow will fail if you skip it
git checkout -b feature/<your_feature_name>
Github workflow will fail to publish if you skip it
pnpm changeset