# hopper-associated-token
Hopper-owned Associated Token Account (ATA) builders. `Create`,
`CreateIdempotent`, `RecoverNested`. ATA derivation helpers re-exported from
the runtime.
[](https://crates.io/crates/hopper-associated-token)
[](https://docs.rs/crate/hopper-associated-token/0.2.0)
Part of the **[Hopper](https://hopperzero.dev)** framework.
```rust
use hopper::prelude::*;
hopper_associated_token::instructions::CreateIdempotent {
payer,
associated_token,
owner,
mint,
system_program,
token_program,
}
.invoke()?;
```
Works against both legacy SPL Token and Token-2022 mints; pass the
`token_program` account that matches the mint.
Docs: <https://docs.rs/crate/hopper-associated-token/0.2.0>
Support: `solanadevdao.sol` / `F42ZovBoRJZU4av5MiESVwJWnEx8ZQVFkc1RM29zMxNT`.
License: Apache-2.0.