Developer Cheat Sheet

Details are provisional and may be updated during development.

Quick Command Reference

# EVM Development (unchanged from Ethereum)
npx hardhat compile                    # Compile contracts
npx hardhat deploy --network arichain # Deploy to Arichain
npx hardhat verify --network arichain # Verify contracts
npx hardhat console --network arichain # Interactive console

# SVM Development (unchanged from Solana)
anchor build                          # Build programs
anchor deploy                         # Deploy to Arichain
anchor test --skip-local-validator    # Run tests
solana program show <program-id>      # Show program info

# MultiVM Specific Commands
npm install @arichain/sdk             # Install MultiVM SDK
arichain account link                 # Link EVM and SVM accounts
arichain balance --unified            # Check unified balance
arichain deploy --optimize           # Deploy with VM optimization

Network Configuration

Performance Tips

  • Route high-frequency operations to SVM

  • Use EVM for complex state management

  • Batch operations when possible

  • Monitor gas usage on both VMs

  • Leverage unified asset management for better UX

Last updated