Complete Examples Overview
This section contains complete, end-to-end examples of how to use the AAStar SDK for various roles and use cases.
Available Examples
- Operator Flow: Staking and managing a SuperPaymaster.
- Community Flow: Registering a community and setting up reputation rules.
- End User Flow: Sending gasless transactions using community credit.
- Multi-Chain Setup: Configuring and using the SDK across different networks.
Running Examples Locally
Most examples can be run against a local Anvil instance. Ensure you have the AAStar Contracts deployed locally first.
bash
pnpm run example:local