Observed since 21 Oct, 11:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
This package provides 2 APIs for using UserOperations:
This package provides 2 APIs for using UserOperations:
An abstract base-class to create UserOperation for a contract wallet.
An implementation of the BaseWalletAPi, for the SimpleWallet sample of account-abstraction.
owner = provider.getSigner()
const walletAPI = new SimpleWalletAPI({
provider,
entryPointAddress,
owner,
factoryAddress
})
const op = await walletAPi.createSignedUserOp({
target: recipient.address,
data: recipient.interface.encodeFunctionData('something', ['hello'])
})
A simplified mode that doesn't require a different wallet extension. Instead, the current provider's account is used as wallet owner by calling its "Sign Message" operation.
This can only work for wallets that use an EIP-191 ("Ethereum Signed Message") signatures (like our sample SimpleWallet) Also, the UX is not great (the user is asked to sign a hash, and even the wallet address is not mentioned, only the signer)
import { wrapProvider } from '@account-abstraction/sdk'
//use this account as wallet-owner (which will be used to sign the requests)
const signer = provider.getSigner()
const config = {
chainId: await provider.getNetwork().then(net => net.chainId),
entryPointAddress,
bundlerUrl: 'http://localhost:3000/rpc'
}
const aaProvider = await wrapProvider(provider, config, aasigner)
const walletAddress = await aaProvider.getSigner().getAddress()
// send some eth to the wallet Address: wallet should have some balance to pay for its own creation, and for calling methods.
const myContract = new Contract(abi, aaProvider)
// this method will get called from the wallet address, through account-abstraction EntryPoint
await myContract.someMethod()
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.17.0Registry latest | 6 May 2023 | 20 | |
| 1.16.0 | 5 May 2023 | 20 | |
| 1.15.0 | 4 May 2023 | 20 | |
| 1.14.0 | 18 Apr 2023 | 20 | |
| 1.13.0 | 25 Mar 2023 | 20 | |
| 1.12.0 | 15 Mar 2023 | 20 | |
| 1.11.0 | 15 Mar 2023 | 20 | |
| 1.10.0 | 6 Mar 2023 | 20 | |
| 1.9.0 | 2 Mar 2023 | 20 | |
| 1.8.0 | 2 Mar 2023 | 20 | |
| 1.7.0 | 2 Mar 2023 | 20 | |
| 1.6.0 | 28 Feb 2023 | 20 | |
| 1.5.0 | 27 Feb 2023 | 20 | |
| 1.4.0 | 27 Feb 2023 | 20 | |
| 1.3.0 | 27 Feb 2023 | 20 | |
| 1.2.0 | 24 Feb 2023 | 20 | |
| 1.1.0 | 24 Feb 2023 | 20 | |
| 1.0.0 | 22 Feb 2023 | 20 | |
| 0.0.0 | 22 Feb 2023 | 20 | |
| 0.0.0-20230218225937 | 19 Feb 2023 | 20 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:33 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:ce4ed610ca5d3c3e4134d1c30ff5445757b192aadb47363086e01876c33e4ec4