# xchain-thorchain

This section for the XChain Thorchain package provides an insight into the operational workflow and mechanisms employed for interacting with the Thorchain network and participating in decentralized finance (DeFi) activities.

### Third-Party Library <a href="#third-party-library" id="third-party-library"></a>

It communicates with Thorchain by using [`cosmos-client`](https://github.com/cosmos-client/cosmos-client-ts)

#### Client URL <a href="#client-url" id="client-url"></a>

* Mainnet: `http://138.68.125.107:1317`
* Testnet: `http://134.209.138.247:1317`

Available mainnet seeds [`here`](https://chaosnet-seed.thorchain.info/) Available testnet seeds [`here`](https://testnet-seed.thorchain.info/)

#### Explorer URL <a href="#explorer-url" id="explorer-url"></a>

* Mainnet: [`https://thorchain.net`](https://thorchain.net/)
* Testnet: [`https://thorchain.net`](https://thorchain.net/)

#### Chain ID <a href="#chain-id" id="chain-id"></a>

* Mainnet: `thorchain`
* Testnet: `thorchain`

### Address Generation <a href="#address-generation" id="address-generation"></a>

It supports the [`BIP44 path derivations`](https://github.com/satoshilabs/slips/blob/master/slip-0044.md). By default, the index is 0. - `44/931/0/0`

### Blockchain-specific functions <a href="#blockchain-specific-functions" id="blockchain-specific-functions"></a>

It doesn't have any blockchain-specific functions.

### Peer Dependencies

You can visit the [xchain-thorchain](https://github.com/xchainjs/xchainjs-lib/tree/master/packages/xchain-thorchain) package repository to get the updated peer dependencies by looking at the "devDependencies" object in the "package.json" file.

For more information about the API of the package, please click [here](https://docs.xchainjs.org/xchain-docs/xchain-thorchain/docs/index.html)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xchainjs.gitbook.io/xchainjs/clients/xchain-cosmos-sdk/xchain-thorchain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
