-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Research Thorchain #20
Comments
THORChain ResearchTHORChain does not have a TESTNET. THORChain relies on two main APIs:
Additionally, there is an xchainJS library that abstracts away THORChain and individual blockchain complexities, offering an easy-to-use API for developers. Packages Overview1. Thorchain-queryResponsible for retrieving THORChain-related information and performing various estimates. Examples:
2. Thorchain-ammFacilitates actions such as swaps, adding and removing liquidity. It wraps xchainJS clients and streamlines operations on THORChain. Chain ClientsThese clients handle specific blockchains:
DO SINGLE SWAP PROCESS FLOW in xchainJSNeeded input: amount, decimals, fromAsset,toAsset, toChain
swapParams: QuoteSwapParams = {
|
The existing apps use the ninerealms API to access thorchain data: https://github.com/vultisig/vultisig-android/blob/7af83f1f3a180989a4dc2d898ad703b600dae175/data/src/main/kotlin/com/vultisig/wallet/data/api/ThorChainApi.kt Might be easier to continue with that for consistency with the existing flow as well. |
No description provided.
The text was updated successfully, but these errors were encountered: