Lifecycle of the Integration
The lifecycle of integrating Ephemeral Rollups in your program is as follows:1
Write your Solana program as you normally would.
2
Add delegation and undelegation hooks in your program
Add CPI hooks to delegate, commit and undelegate state accounts through
Ephemeral Rollup sessions.
3
Deploy your program on Solana.
Deploy your program directly on Solana using Anchor or Solana CLI.
4
Ready to execute transactions for delegation and real-time speed
Send transactions without modifications on-chain and off-chain that also
comply with the SVM RPC specification.
Counter Example
The following software packages may be required, other versions may also be compatible:| Software | Version | Installation Guide |
|---|---|---|
| Solana | 2.1.21 | Install Solana |
| Rust | 1.82.0 | Install Rust |
| Anchor | 0.31.1 | Install Anchor |
- 1. Write program
- 2. Delegate
- 3. Deploy
- 4. Test
A simple counter program where value is initialized and incremented in a state account:⬆️ Back to Top

