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

# Direct Contract Integration

> Call Amplify account smart contracts directly without the SDK

This section walks you through interacting with Amplify account smart contracts **without** the `@paxoslabs/amplify-sdk`. Use this approach when you need to integrate from a non-JavaScript backend, a mobile app, or when you want full control over transaction construction.

<Info>
  If you're building a JavaScript or TypeScript app and want the fastest path to
  production, the [Amplify SDK](/v0.5.2/intro/products/earn/developers/index)
  handles ABI encoding, address resolution, token approvals, and error handling
  for you.
</Info>

<Warning>
  As of v0.5.2, Amplify accounts use **KYT** (Know Your Transaction) enabled depositor contracts. Deposit functions now require an `Attestation` parameter for compliance policy integration. For now, pass empty/zero attestation values — contact the [Paxos Labs team](mailto:support@paxoslabs.com) to implement the compliance policy of your choice. See [Deposits](/v0.5.2/intro/products/earn/developers/guides/direct-contract/deposits#kyt-accounts) for details.
</Warning>

<CardGroup cols={2}>
  <Card title="Setup & Prerequisites" icon="gear" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/setup">
    Obtain contract addresses, configure multi-chain support, and install an
    Ethereum library for your language.
  </Card>

  <Card title="Concepts" icon="lightbulb" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/concepts">
    Smart contracts, ABIs, token approvals, permits, account shares, slippage,
    and contract architecture.
  </Card>

  <Card title="Deposits" icon="arrow-down-to-line" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/deposits">
    Deposit tokens into an account and receive account shares. Covers both the
    standard approval flow and the single-transaction permit flow.
  </Card>

  <Card title="Withdrawals" icon="arrow-up-from-line" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/withdrawals">
    Submit a withdrawal order offering account shares in exchange for stablecoins.
    Covers order construction, submission, and status polling.
  </Card>

  <Card title="Cancellations" icon="xmark" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/cancellations">
    Cancel a pending withdrawal order and recover your locked account shares.
    Covers direct cancellation and meta-transaction cancellation.
  </Card>

  <Card title="Account Queries & Monitoring" icon="chart-line" href="/v0.5.2/intro/products/earn/developers/guides/direct-contract/vault-queries/index">
    Discover accounts, read APY/TVL, check balances, withdrawal fees, pause state,
    and monitor withdrawal request history via REST API and on-chain reads.
  </Card>
</CardGroup>

## Learning Path

1. **[Setup & Prerequisites](/v0.5.2/intro/products/earn/developers/guides/direct-contract/setup)** — Get contract addresses and install your Ethereum library
2. **[Concepts](/v0.5.2/intro/products/earn/developers/guides/direct-contract/concepts)** — Understand ABIs, approvals, permits, account shares, and contract architecture
3. **[Deposits](/v0.5.2/intro/products/earn/developers/guides/direct-contract/deposits)** — Implement your first deposit flow
4. **[Withdrawals](/v0.5.2/intro/products/earn/developers/guides/direct-contract/withdrawals)** — Submit withdrawal orders
5. **[Cancellations](/v0.5.2/intro/products/earn/developers/guides/direct-contract/cancellations)** — Cancel pending withdrawals
6. **[Account Queries](/v0.5.2/intro/products/earn/developers/guides/direct-contract/vault-queries/index)** — Read account state and monitor requests

***

## Using the SDK?

If you're integrating from JavaScript or TypeScript, see the [SDK Integration](/v0.5.2/intro/products/earn/developers/guides/index) guides — they cover the same deposit, withdrawal, and cancellation workflows using the `@paxoslabs/amplify-sdk`.
