# Thorchain

Thorchain is a decentralised cross-chain liquidity protocol which uses the [Tendermint](https://tendermint.com/) consensus engine, [Cosmos-SDK](https://cosmos.network/) state machine, and GG20 [Threshold Signature Scheme](https://eprint.iacr.org/2019/114.pdf) (TSS). It does not peg or wrap assets, it manages funds directly in on-chain vaults, and secures those funds using economic security. It could be described as a "cross-chain automated market maker (AMM), like Uniswap but accross chain". It allows for amazing and novel actions like million dollar BTC-ETH streaming swaps with close to zero slippage, or native BTC single sided yield.<br>

Building on the foundation of liquidity pools, Thorchain pursues three important financial primitives:

1. Allow a user to **Swap** {*Asset X on Chain A*}, to {*Asset Y on Chain B*}.
2. Allow a user to **Save** {*Asset X on Chain A*}.
3. Allow a user to **Lend** {*Asset X on Chain A*}, to **Borrow** {*Asset Y on Chain B*}.

\
Learn about this and more at <https://thorchain.org/>.


---

# 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://docs.eldorito.club/el-dorito/integrations/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.
