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

# architecture

> system internals

# architecture

rust backend. react dashboard. solana via dedicated rpc and mev infrastructure.

## stack

| component | what                 |
| --------- | -------------------- |
| api       | rust + axum          |
| dashboard | react + vite         |
| database  | postgres             |
| rpc       | dedicated solana rpc |
| mev       | jito grpc bundles    |
| bot       | rust + teloxide      |
| ai        | mcp server           |

## launch pipeline

```
create token -> bundle buys -> snipe -> volume -> swarm
     (atomic jito bundle)    (block-targeted)  (parallel)
```

all phases are modular. enable what you need, disable what you don't.

## transaction paths

* jito bundles for atomic multi-tx operations (launch + buys in same block)
* dedicated rpc for standard transactions with priority fees
* block targeting for snipe transactions that hit specific slots after launch

## security

* private keys encrypted at rest (aes-256-gcm)
* keys only decrypted in memory for signing, never leave the server
* jwt auth from telegram, api keys for ai integrations
* ai wallets isolated from human wallets
* row-level security on all user data
