Use Your Chain
A focused guide to interacting with your appchain
This guide covers four key aspects of interacting with your appchain:
- Transaction Submission: How to send transactions on your appchain.
- Gas Estimation: How to estimate and manage gas for your transactions.
- Error Handling: How to handle errors on your appchain.
- Recovery Procedures: How to recover from issues and use appchain-specific recovery mechanisms.
Transaction Submission
On an appchain, once your wallet is set up and connected, submitting a transaction works much like any other EVM chains, but may include appchain-specific transaction types or metadata.
Gas Estimation
Appchains may use different gas pricing models or have optimizations compared to public chains. Some may have lower base fees, fixed gas prices, or even subsidized transactions.
Error Handling
Appchains can introduce custom error codes, revert reasons, or behaviors not found on public chains. You may encounter errors related to appchain-specific logic, governance, or state transitions.
Transaction Simulation: Transaction simulation only checks if a transaction would succeed based on the current chain state. However, even if simulation succeeds, the transaction can still fail later due to custom logic in the sequencing contract, which standard simulation tools cannot detect.
Recovery Procedures
Appchains may offer unique recovery mechanisms, such as on-chain governance, admin keys, or custom recovery contracts. These can differ significantly from public chain recovery processes.
- Stuck Transactions: Appchains may allow governance or admin intervention to clear stuck transactions.
- Account Recovery: Some appchains support social recovery, multisig, or custom account abstraction.
- Emergency Procedures: Appchains may have circuit breakers, pausable contracts, or other app-specific safety features.