This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Degxifi — Jito JSON-RPC UUID auth + bundle submission | |
| // Stack: jito-js-rpc@0.2.2 on Bun + TypeScript | |
| // Project: automated DLMM LP on Solana (Meteora). Each user action = a 4-5 TX bundle. | |
| // ============================================================================ | |
| // 1) JSON-RPC UUID AUTHENTICATION SETUP | |
| // ============================================================================ | |
| // | |
| // `JitoJsonRpcClient(baseUrl, uuid?)` from `jito-js-rpc` automatically attaches | |
| // the UUID as both `x-jito-auth: <uuid>` header AND `?uuid=<uuid>` query param |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Degxifi — Jito gRPC integration snippets (jito-ts@4.2.1, Bun + TS) | |
| // Project: automated DLMM LP on Solana (Meteora). Each user action = 4–5 TX bundle. | |
| // ============================================================================ | |
| // 1) gRPC AUTHENTICATION SETUP | |
| // ============================================================================ | |
| // | |
| // One persistent SearcherClient per region (9 mainnet regions). Auth uses | |
| // JWT challenge-response signed by a dedicated keypair (no funds, never | |
| // used elsewhere). Channel keepalive tuned for long-lived idle connections. |