Skip to content

magicblock-labs/magicblock-engine-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

285 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

Counter programs

Tokens & payments

  • Dummy Token Transfer — Token transferer that can delegate and execute on both the base chain and the ER.
  • SPL Tokens — SPL token delegation example with transfers on the ER.
  • Private Payments — Next.js demo for MagicBlock private payments.

VRF & games

Other patterns

  • Magic Actions — Execute base-chain actions from inside an Ephemeral Rollup.
  • On-Curve Delegation — Delegate on-curve (non-PDA) accounts to the ER and manage their lifecycle.

Backward Compatibility

Older pre-Anchor 1.0 versions of the migrated programs are kept in 00-LEGACY_EXAMPLES. The 00- prefix keeps these compatibility references listed before 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