This is a simple scripts for basic interactions with Pioneer Alpha, which is OP Stack based devnet for Native Account Abstraction. Pioneer Alpha implements RIP-7560, RIP-7711, and RIP-7712, offering full support for Native Account Abstraction on the OP Stack.
The implementation is fully open-sourced on the following repositories:
- Execution client (geth): inspired by the work of eth-infinitism.
- Consensus client (optimism)
- RIP-7560 compatible bundler: inspired by the Stackup ERC-4337 bundler.
For more information, please visit the following pages:
- Motivation behind Pioneer Alpha
- Official Launch Announcement
- Official Docs
- Telegram Group for support
- Spec Thread on Optimism Spec Repository
- Install dependencies.
Ensure you have Node.js installed, then run the following command to install the necessary dependencies:
pnpm install
This will also install viem-rip7560 submodule, which is revised version of viem for RIP-7560 transactions.
- Obtain test ETH from the faucet.
To interact with the Pioneer Alpha network, you'll need test ETH. Visit the Pioneer Alpha Faucet, input your wallet address, and receive test ETH to your account.
- Configure the
.env
file
You'll need to set up a .env file with your wallet information. Follow these steps:
Copy the provided example file to create your own .env configuration:
cp .env.example .env
Open the .env file in your preferred text editor and add your wallet's private key:
WALLET=<your-private-key-here>
RPC_URL=https://api.pioneer.kroma.network
BUNDLER_URL=https://bundler.pioneer.kroma.network
Replace with the private key of your wallet. Ensure this key is kept secure and never shared publicly.
To execute gas estimations for RIP-7560:
pnpm run estimate
After running the estimations, you can generate a graph to visualize the gas usage:
pnpm run draw-graph
To send a RIP-7560 transaction to Pioneer Alpha, run the following command.
pnpm run send-tx
If you wanna send a quantum-resistant transaction to Pioneer Alpha, run the following command.
pnpm run send-tx-quantum
- For more detailed information, please refer to the official documentation.
- If you encounter any issues or need support, join the Telegram Group.