![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
abstractionkit
Advanced tools
A Typescript Library to easily build and send ERC-4337 UserOperations, with first class support for Safe Accounts.
Abstraction Kit is agnostic of:
For full detailed documentation visit our docs page.
npm install abstractionkit
Abstraction Kit currently features the Candide Account, a compliant EIP-4337 smart contract account based on Safe v1.4.0 contracts.
In the next releases, it will feature Safe Accounts with the new architecture of Safe{Core}Protocol.
import { CandideAccount } from "abstractionkit";
const smartAccount = new CandideAccount();
Then you can consume accout methods:
import { Wallet } from "ethers";
const eoaSigner = new Wallet(privateKey);
const [newAccountAddress, initCode] = smartAccount.createNewAccount([
eoaSigner.address,
]);
Initialize a Bundler with your desired bundler RPC url
import { Bundler } from "abstractionkit";
const bundlerRPC = "https://sepolia.voltaire.candidewallet.com/rpc";
const entrypointAddress = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
const bundler: Bundler = new Bundler(bundlerRPC, entrypointAddress);
Then you can consume Bundler methods:
const entrypointAddresses = await bundler.supportedEntryPoints();
Initialize a Paymaster with your RPC url
import { CandideValidationPaymaster } from "abstractionkit";
const paymasterRpc = "https://api.candide.dev/paymaster/v1/$network/$apikey";
const entrypointAddress = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
const paymaster: CandideValidationPaymaster = new CandideValidationPaymaster(
entrypointAddress,
paymasterRPC
);
Then you can consume Paymaster methods:
const supportedGasTokens = await paymaster.getSupportedERC20Tokens();
Title | Description |
---|---|
Send your first user operation | Learn how to create a smart wallet and to send your first user operation |
Send a Gasless Transaction | Learn how to send gasless transactions using a paymaster |
Pay Gas in ERC-20 | Learn how to offer the ability for users to pay gas in ERC-20s using a Paymaster |
MIT
FAQs
Account Abstraction 4337 SDK by Candidelabs
The npm package abstractionkit receives a total of 12,816 weekly downloads. As such, abstractionkit popularity was classified as popular.
We found that abstractionkit demonstrated a healthy version release cadence and project activity because the last version was released less than 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
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.