0.1.0 • Published 3 days ago

@xswap-link/sdk v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

About The Project

XSwap SDK exposes a functions to access the advanced cross-chain routing solution offered by XSwap.

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
    npm/pnpm i @xswap-link/sdk

Usage

Simply import the stuff from the library.

Optional configuration

You can create xswap.config.local.ts to override default configuration. Local file should look like this:

import { XSwapConfig } from "@src/models";

const xSwapConfig: XSwapConfig = {
    apiUrl: "http://127.0.0.1:5001/api",
};

export default xSwapConfig;

Contribution

This is open-source library and below you will find a step-by-step contribution guide.

Prerequisites

  • pnpm
    npm i pnpm@latest -g

1. Get the project and install dependencies

git clone git@github.com:xswap-link/xswap-sdk.git

cd xswap-sdk

pnpm i

2. Create new branch based on the develop one

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

0.1.0

3 days ago

0.0.12

1 month ago

0.0.13

1 month ago

0.0.11

1 month ago

0.0.10

1 month ago

0.0.9

2 months ago

0.0.8

2 months ago

0.0.7

2 months ago

0.0.5

2 months ago

0.0.6

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago