Skip to content

Simple Scripts for Pioneer Alpha, Native Account Abstraction Devnet based on OP Stack.

Notifications You must be signed in to change notification settings

kroma-network/rip7560-scripts

Repository files navigation

RIP-7560 Scripts for Simple Interactions

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:

For more information, please visit the following pages:

Setup

  1. Install dependencies.

Ensure you have Node.js installed, then run the following command to install the necessary dependencies:

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

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

RIP-7560 Gas Estimation

To execute gas estimations for RIP-7560:

npm run estimate

After running the estimations, you can generate a graph to visualize the gas usage:

npm run draw-graph

RIP-7560 Send Transaction

To send a RIP-7560 transaction to Pioneer Alpha, run the following command.

npm run send-tx

If you already deployed a RIP-7560 Account and has its address, you can simply run this command to skip the deployment process.

npm run send-tx --address <ACCOUNT_ADDRESS>

Additional Resources

About

Simple Scripts for Pioneer Alpha, Native Account Abstraction Devnet based on OP Stack.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published