## âš¡ Ephemeral Rollups SDK

The SDK provides convenience utils to prepare programs for executing transactions in the Ephemeral Rollups

## Packages

| Package                                   | Description                                           | Version                                                                                                                                  | Docs                                                                                        |
|:------------------------------------------|:------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------|
| `ephemeral-rollups-sdk`                   | Rust SDK for integrating with the Ephemeral Rollups   | [![Crates.io](https://img.shields.io/crates/v/ephemeral-rollups-sdk?color=blue)](https://crates.io/crates/ephemeral-rollups-sdk)                                 | [![Docs.rs](https://img.shields.io/badge/docs-tutorials-blue)](https://docs.magicblock.gg/) |
| `@magicblock-labs/ephemeral-rollups-sdk`  | TypeScript helper for preparing transactions          | [![npm](https://img.shields.io/npm/v/@magicblock-labs/ephemeral-rollups-sdk.svg?color=blue)](https://www.npmjs.com/package/@magicblock-labs/ephemeral-rollups-sdk)         | [![Docs](https://img.shields.io/badge/docs-tutorials-blue)](https://docs.magicblock.gg)     |

### ✨ Add CPIs to delegate, undelegate, and commit accounts

See the integration example: https://github.com/magicblock-labs/magicblock-engine-examples

## 👷Examples

- [Anchor Counter](https://github.com/magicblock-labs/magicblock-engine-examples/blob/main/anchor-counter/README.md) - A simple counter that can be incremented. Tests use the ts sdk to delegate/undelegate accounts and run transactions.
- [Bolt Counter](https://github.com/magicblock-labs/magicblock-engine-examples/blob/main/bolt-counter/README.md) - A simple counter that can be incremented. Tests use the bolt sdk to delegate/undelegate accounts and run transactions.

## 🚧 Under Testing 🚧

The Ephemeral Rollups are currently under testing. Reach out to us on [Discord](https://discord.com/invite/MBkdC3gxcv) to get access to the testing endpoint.