UserOpSDK: Account Abstraction SDK
Designed as a potent JavaScript/TypeScript tool, the UserOpSDK streamlines UserOperations on NERO Chain creation, signing, and transmission. This piece will assist you to use Account Abstraction capabilities in your dApp by using the SDK.
The UserOpSDK provides access to fundamental Account Abstraction functionality on NERO Chain, with capabilities such as:
- Creating UserOperations for contract calls and transfers
- Signing UserOperations with Ethereum signers
- Communicating with bundlers to execute transactions
- Integrating with Paymasters to sponsor gas or accept ERC-20 tokens
- Creating and managing smart contract wallets
This section helps you get started with the SDK and provides examples of common operations.
What’s Inside
- Installation & Basic Usage - How to install the SDK and get started
- Working with AA Wallets - Getting wallet addresses and checking deployment status
- Creating UserOperations - Creating simple and batch operations
- Paymaster Integration - Setting API keys, getting supported tokens, and payment types
- Sending UserOperations - How to submit operations to the network
- Advanced Usage - Custom gas parameters and nonce management
- Error Handling - Common errors and how to handle them
- Best Practices - Tips for optimal SDK usage