> ## Documentation Index
> Fetch the complete documentation index at: https://partner.tren.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Program IDLs

> Download the Anchor IDLs for the Trench Bonding Curve and Trench Governance programs.

The Trench IDLs are primarily intended for indexers that decode accounts and events directly from on-chain data. They can also be used to construct transactions for instructions that do not require Trench authority. Use the Partner API for authority restricted instructions.

<Columns cols={2}>
  <Card title="Trench Bonding Curve IDL" icon="download" href="/idls/trench_program.json" />

  <Card title="Trench Governance IDL" icon="download" href="/idls/trench_governance.json" />
</Columns>

## Programs

| Program              | IDL file                                                 | Program ID                                     |
| -------------------- | -------------------------------------------------------- | ---------------------------------------------- |
| Trench Bonding Curve | [`trench_program.json`](/idls/trench_program.json)       | `4yjQUVLV4VPzgGCXPGBQUziGjo1HG2atxsBBsS3jddHB` |
| Trench Governance    | [`trench_governance.json`](/idls/trench_governance.json) | `Fmy9Mi1RbcHPEht6ydGmrLGFCiU3P9JSUomVDEsYwF2J` |

<Warning>
  The `address` in each IDL is a temporary deployment purely for testing purposes.
</Warning>
