Scaling solution for performant, composable games and applications.
This repository contains examples of how delegate/undelegate accounts and run transactions in an Ephemeral Rollups. Read more about Ephemeral Rollups here.
To view integrated demos for specific usecases, please look at MagicBlock Starter Kits.
- Anchor Counter - A simple counter that can be incremented. Tests use the ts sdk to delegate/undelegate accounts and run transactions.
- Rust Counter - A simple counter that can be incremented. Tests natively to delegate/undelegate accounts and run transactions.
- Bolt Counter - A simple counter that can be incremented. Tests use the bolt sdk to delegate/undelegate accounts and run transactions.
- Crank Counter - A counter program with scheduled cranks for automatic execution using MagicBlock's crank system.
- Dummy Token Transfer - A token transferer that can delegate and execute both on-chain and in the ephemeral rollup.
- Magic Actions - Demonstrates using Magic Actions to execute base chain actions from an ephemeral rollup.
Older pre-Anchor 1.0 versions of the migrated programs are kept in
zz-legacy-anchor-0.32. The zz- prefix
keeps these compatibility references listed after the active examples in
alphabetical folder views. These examples are for users who still need the
previous Anchor 0.32.1 implementations while upgrading to the current Anchor 1.0
programs.
The Ephemeral Rollups are currently under testing. Reach out to us on Discord to get access to the testing endpoint.