
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
npm install vice-aa
Simple Paymaster -> https://vice-aa-api.vercel.app/paymaster
ERC20 Token Paymaster -> https://vice-aa-api.vercel.app/tokenpaymaster
You can get this token from Uniswap
⚠️ WARNING: MAKE SURE TO APPROVE THE ERC20PAYMASTER CONTRACT FOR HYPER TOKEN TO USE ERC20PAYMASTER URL.
This package provides four main functions:
getUserOperationgetSignedUserOpCustomJsonRpcProviderwaitForReceiptFollow the steps below to use these functions in your project.
First, set up your provider and create an instance of the contract with which you wish to interact.
import { ethers } from "ethers";
import { YourContractAddress, YourContractABI } from "<your-contract-data-location>";
const provider = new ethers.providers.Web3Provider(window.ethereum);
const contract = new ethers.Contract(YourContractAddress, YourContractABI, provider);
Next, populate the transaction you intend to execute.
const populatedTx = await contract.populateTransaction.<YourContractMethod>(
// Method parameters go here
);
Use getUserOperation with your contract wallet address, contract address, populated transaction, paymaster URL, and your chosen RPC URL.
import { getUserOperation } from "vice-aa";
const userOperation = await getUserOperation(
yourContractWalletAddress,
YourContractAddress,
populatedTx,
"https://<your-paymaster-url>",
"<your-rpc-url>"
);
Then, call getSignedUserOp with the userOperation , paymaster URL, and a boolean to indicate the type of paymaster.
import { getSignedUserOp } from "vice-aa";
const signedUserOp = await getSignedUserOp(
userOperation,
"https://<your-paymaster-url>",
true // Set to false for ERC20 paymaster
);
Create a custom provider and send the user operation.
import { CustomJsonRpcProvider } from "vice-aa";
const customProvider = new CustomJsonRpcProvider("<your-rpc-url>");
const userOpHash = await customProvider.sendUserOperation(signedUserOp);
Finally, wait for the transaction hash using waitForReceipt.
import { waitForReceipt } from "vice-aa";
const txHash = await waitForReceipt(customProvider, userOpHash);
For additional support or queries, feel free to reach out or open an issue on the vice-aa repository.
FAQs
Made account abstraction easy to understand and implement.
We found that vice-aa demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.