# LIT Actions

#### Lit Actions Overview

**Lit Actions** are immutable JavaScript programs executed in a decentralized environment on the Lit Network. Designed for secure, condition-based automation, they enable blockchain-agnostic execution with native cryptographic primitives such as signing, encryption, and decryption.

Key properties:

* **Language + Runtime:** JavaScript (Deno), with support for selected libraries like `ethers.js` and `@solana/web3.js`.
* **Programmable Signing:** Integrated with **Programmable Key Pairs (PKPs)** to perform threshold-based signing when predefined conditions are met.
* **Cross-Chain Capable:** Interacts with multiple chains (EVM, Solana, etc.) and can query off-chain APIs directly.
* **Decentralized & Verifiable:** Executes on a globally distributed node network, ensuring censorship resistance, determinism, and transparency.

***

#### Lit Actions in Genius Bridge Protocol (GBP)

Within GBP, Lit Actions form the **execution layer** that replaces centralized backends or solver networks. Specifically, they are used to:

* **Monitor On-Chain Events:** Detect order emissions, vault imbalances, and state transitions across supported chains.
* **Trigger Execution Logic:** Initiate swaps, vault rebalancing, or USDC movements across chains using CCTP or Wormhole.
* **Sign Transactions:** Use threshold PKPs to programmatically sign transactions once trigger conditions are met—no single signer, no trusted relayer.
* **Coordinate Cross-Chain State:** Enforce deterministic logic across heterogeneous chains without compromising decentralization or liveness.

Lit Actions are foundational to how Genius achieves *deterministic, decentralized cross-chain automation*—without centralized intermediaries.
