Demonstrates using Magic Actions to execute automatic on-chain handlers when committing accounts from Ephemeral Rollups to the base layer.
This program has utilized the following software packages.
| Software | Version | Installation Guide |
|---|---|---|
| Solana | 2.3.13 | Install Solana |
| Rust | 1.85.0 | Install Rust |
| Anchor | 0.32.1 | Install Anchor |
| Node | 24.10.0 | Install Node |
# Check and initialize your Solana version
agave-install list
agave-install init 2.3.13
# Check and initialize your Rust version
rustup show
rustup install 1.85.0
# Check and initialize your Anchor version
avm list
avm use 0.32.1Run the tests with existing program:
anchor test --skip-deploy --skip-build --skip-local-validatorBuild, deploy and run the tests with new program (note: delete keypairs in /target/deploy folder):
# Delete keypairs in the deploy folder
rm -rf /target/deploy/*.keypair
# Build, deploy and test program
anchor test