Skip to content

magicblock-labs/magicblock-engine-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

259 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ MagicBlock Engine - Integration Examples

Scaling solution for performant, composable games and applications.

✨Overview

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.

👷Examples

  • 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.

Backward Compatibility

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.

🚧 Under Testing 🚧

The Ephemeral Rollups are currently under testing. Reach out to us on Discord to get access to the testing endpoint.

About

Ephemeral Rollups - Integration Examples

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors