Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

v0.3.2

Compare
Choose a tag to compare
@hazim-j hazim-j released this 03 Aug 03:03
· 19 commits to main since this release
2018000

Release notes

This patch release adds 2 changes:

  1. Fix verificationGasLimit typo in eth_estimateUserOperationGas (verificationGas is still used as fallback to prevent breaking changes).
  2. Add the ability to override the salt in preset builders so that a single signer can control multiple contract accounts.

Salt override

Below is an example for how to override the salt to generate new contract addresses using the same signing key.

export default async function main() {
  const acc = await Presets.Builder.SimpleAccount.init(
    new ethers.Wallet(SIGNING_KEY),
    RPC_URL,
    { salt: NUMBER }
  );
  const address = acc.getSender();

  console.log(`Address: ${address}`);
}

What's Changed

Full Changelog: v0.3.0...v0.3.2