Socket
Socket
Sign inDemoInstall

@xchainjs/xchain-thorchain-amm

Package Overview
Dependencies
Maintainers
9
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xchainjs/xchain-thorchain-amm

module that exposes estimating & swappping cryptocurrency assets on thorchain


Version published
Weekly downloads
229
decreased by-13.58%
Maintainers
9
Weekly downloads
 
Created
Source

@xchainjs/xchain-thorchain-amm

Modules

Thorchain AMM module

Installation

yarn add @xchainjs/xchain-thorchain-amm

Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-thorchain-amm.

  "dependencies": {
    "@binance-chain/javascript-sdk": "^4.2.0",
    "@cosmos-client/core": "^0.45.1",
    "@psf/bitcoincashjs-lib": "^4.0.2",
    "@terra-money/terra.js": "^3.1.4",
    "@xchainjs/xchain-binance": "^5.5.0",
    "@xchainjs/xchain-bitcoin": "^0.19.0",
    "@xchainjs/xchain-bitcoincash": "^0.14.0",
    "@xchainjs/xchain-client": "^0.12.0",
    "@xchainjs/xchain-cosmos": "^0.19.0",
    "@xchainjs/xchain-crypto": "^0.2.6",
    "@xchainjs/xchain-doge": "^0.3.0",
    "@xchainjs/xchain-ethereum": "^0.26.0",
    "@xchainjs/xchain-litecoin": "^0.9.0",
    "@xchainjs/xchain-midgard": "^0.1.0-alpha2",
    "@xchainjs/xchain-terra": "^0.2.0",
    "@xchainjs/xchain-thorchain": "^0.25.3",
    "@xchainjs/xchain-thornode": "^0.1.0-alpha3",
    "@xchainjs/xchain-util": "^0.8.0",
    "axios": "^0.27.2",
    "axios-retry": "^3.3.1",
    "bchaddrjs": "^0.5.2",
    "bech32-buffer": "^0.2.0",
    "bitcoinjs-lib": "^6.0.1",
    "dotenv": "^16.0.0",
    "ethers": "^5.6.2"
  }

Examples

Documentation

xchain thorchain-amm How thorchain-amm works
How to use thorchain-amm

tsconfig compiler options

{
    "compilerOptions": {
        "module":"commonjs",
        "target": "es5",
        "noEmitOnError": true,
        "resolveJsonModule": true,
        "esModuleInterop": true,
        "lib": ["es6", "dom", "es2016", "es2017"]
    }
}

Keywords

FAQs

Package last updated on 07 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc