thorchain.js
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

ThorChain.js

Thorchain.js is a libary that allows you to work with mutiple chains including, Thorchain, Bitcoin, Dogecoin, Ethereum, Etc
Currently this libary isnt really fully released so it doesnt support swapping, liquidity adding/removing, Etc. However if you just want to do some basic stuff you can.

BETA

This project isnt fully released so it is missing many features i want to add to it in the future.

Supported Chains Swapping Liquidity
Bitcoin No No
Thorchain No No

Getting Started

  1. First you will have to install the project
    yarn add thorchain.js
    or
    npm i thorchain.js
  2. You will want to initalize your thor client like so
const thorchain = require("thorchain.js");

const client = new thorchain.client({
  network: "mainnet", // Defaults to testnet if you dont provide
  seed: "12 word seed phrase", // Defaults to "" if you dont provide a mnemonic
});
  1. After you get your client setup youre all good to start using this libary

  2. Check out the examples folder to learn how to do things. Official documentation wont be made until package is done

Discord

If you need help you can join the Discord

Package Sidebar

Install

npm i thorchain.js

Weekly Downloads

6

Version

0.0.19

License

ISC

Unpacked Size

20.2 kB

Total Files

18

Last publish

Collaborators

  • ducksquaddd