![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@xchainjs/xchain-mayachain-amm
Advanced tools
module that exposes estimating & swapping cryptocurrency assets on mayachain
MAYAChain AMM is a module that allows users and developers to interact with the MAYAChain protocol without having to worry about the underlining particularities of the protocol.
yarn add @xchainjs/xchain-mayachain-amm
or
npm install @xchainjs/xchain-mayachain-amm
Using Mayachain AMM, you can initialize the main class of the module in consultation mode if you do not provide any parameters, this means you could retrieve information from the protocol, but you will not be able to make actions the protocol needs you to sign.
import { MayachainAMM } from '@xchainjs/xchain-mayachain-amm'
const mayachainAmm = new MayachainAMM()
Otherwise, if you want to be able make actions the protocol needs you to sign, you will need to initialize the main class of the protocol as follows
import { MayachainAMM } from '@xchainjs/xchain-mayachain-amm'
import { MayachainQuery } from '@xchainjs/xchain-mayachain-query'
import { Wallet } from '@xchainjs/xchain-wallet'
const mayaChainQuery = new MayachainQuery()
const wallet = new Wallet({
// Your XChainJS clients
})
const mayachainAmm = new MayachainAMM(mayaChainQuery, wallet)
Using MAYAChain AMM package, you could easily implement the following features
You can find examples using the MAYAChain AMM package in the mayachain-amm examples folder.
FAQs
module that exposes estimating & swapping cryptocurrency assets on mayachain
The npm package @xchainjs/xchain-mayachain-amm receives a total of 0 weekly downloads. As such, @xchainjs/xchain-mayachain-amm popularity was classified as not popular.
We found that @xchainjs/xchain-mayachain-amm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.