# Stellar Turrets Docs

## Welcome!

Stellar Turrets introduce a new way for applications to create decentralized, permissioned applications on the Stellar blockchain. This tool adds a layer 2 solution for decentralizing turing complete smart contracting for Stellar transactions, as well as adding a permissioned system for users to run smart contracts on.

### What you'll find here

Details on the foundations of Stellar Turrets including what they are, how they work, and why they exist.&#x20;

{% content-ref url="/pages/D7AOvYmNqrxXMKmIZ0d8" %}
[Foundation](/foundation/basics.md)
{% endcontent-ref %}

Information on how to utilize Stellar Turrets for an application or smart contract.

{% content-ref url="/pages/nzneqqfJxQGGmpPVtSfR" %}
[Developers](/developers/getting-started.md)
{% endcontent-ref %}

Resources on what it means to be a Stellar Turrets Host, and how to support the Turret Network

{% content-ref url="/pages/LKm4DIbjPX2UuY0P3tiw" %}
[Turret Hosts](/turret-hosts/getting-started.md)
{% endcontent-ref %}

### Resources

Links to external resources

* [JavaScript Reference Implementation](https://github.com/tyvdh/stellar-turrets)
* [Discord Group](https://discord.com/invite/d5RPb5gDrK)


---

# 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.turrets.script3.io/stellar-turrets-docs.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.
