Skip to content

amiwrpremium/ts-bitpin

Repository files navigation

ts-bitpin

Bitpin is an Iranian cryptocurrency exchange that allows users to buy and sell cryptocurrencies using Iranian Rial (IRR).

The purpose of this project is to provide a TypeScript client for the Bitpin API.

This project is provided as is and is not affiliated with Bitpin in any way and is not an official Bitpin project.

Installation

NPM

npm install ts-bitpin

Yarn

yarn add ts-bitpin

From Source

git clone https://github.com/amiwrpremium/ts-bitpin.git
cd ts-bitpin
npm install # or yarn

Usage

Import

import { Client } from 'ts-bitpin';

Create a Client

Simple

const client = new Client();

With Options

const client = new Client({
  apiKey: 'YOUR_API_KEY',
  secretKey: 'YOUR_SECRET_KEY',
});

Async factory

const client = await Client.Create({
  apiKey: 'YOUR_API_KEY',
  secretKey: 'YOUR_SECRET_KEY',
});

License

This project is licensed under the MIT License - see the LICENSE file for details.

Disclaimer

This project is provided as is and is not affiliated with Bitpin in any way and is not an official Bitpin project.

Documentation

The documentation for this project can be found here.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Changelog

The changelog for this project can be found here.