Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.36 KB

File metadata and controls

46 lines (33 loc) · 1.36 KB

✨ Magic Actions

Demonstrates using Magic Actions to execute automatic on-chain handlers when committing accounts from Ephemeral Rollups to the base layer.

Software Packages

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

Build and Test

Run the tests with existing program:

anchor test --skip-deploy --skip-build --skip-local-validator

Build, 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