@xchainjs/xchain-mayachain-amm

@xchainjs/xchain-mayachain-amm

Modules

Mayachain AMM module

Installation

yarn add @xchainjs/xchain-mayachain-amm

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

  "dependencies": {
"@cosmos-client/core": "0.46.1",
"@psf/bitcoincashjs-lib": "^4.0.3",
"@xchainjs/xchain-bitcoin": "^0.23.6",
"@xchainjs/xchain-client": "^0.15.4",
"@xchainjs/xchain-cosmos-sdk": "^0.1.3",
"@xchainjs/xchain-crypto": "^0.3.0",
"@xchainjs/xchain-dash": "^0.2.5",
"@xchainjs/xchain-ethereum": "^0.31.1",
"@xchainjs/xchain-mayanode": "^0.1.2",
"@xchainjs/xchain-mayachain-query": "^0.1.0",
"@xchainjs/xchain-evm": "^0.4.1",
"@xchainjs/xchain-kujira": "^0.1.2",
"@xchainjs/xchain-mayachain": "^0.2.10",
"@xchainjs/xchain-mayamidgard": "^0.1.0",
"@xchainjs/xchain-thorchain": "^0.28.13",
"@xchainjs/xchain-util": "^0.13.1",
"@xchainjs/xchain-utxo-providers": "^0.2.8",
"axios": "^1.3.6",
"axios-retry": "^3.2.5",
"bignumber.js": "^9.0.0",
"bitcoinjs-lib": "5.2.0",
"coininfo": "^5.1.0",
"coinselect": "^3.1.12",
"dotenv": "^16.0.0",
"ethers": "^5.6.6",
"wif": "^2.0.6"
}

For live examples

Documentation

Compiler options

tsconfig compiler options

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

Setting environment variables

Generated using TypeDoc