thorchain.js
v0.0.19
Published
Thorchain.js is a libary that lets you interact with mutiple blockchains perform swaps, etc
Downloads
21
Maintainers
Readme
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
- First you will have to install the project
yarn add thorchain.js
ornpm i thorchain.js
- 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
});
After you get your client setup youre all good to start using this libary
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