Skip to content

Variance SDK v0.1.0

Compare
Choose a tag to compare
@code-z2 code-z2 released this 08 Apr 14:52
· 34 commits to main since this release

The Variance SDK v0.1.0 introduces a more streamlined way of using account abstraction with dart.

  • Safe smart accounts can now be created. This is supported in both the entrypoint v0.7 and v0.6
  • This Release adopts pimlico bundler as default for entrypoint v0.7 user-ops. This is however a limited support and will revert to whatever schema that is adopted by bundlers.
  • Additionally, the Signers has be separated into a separate package. see web3 signers, this is to make it easier for developing with this package.
  • The SecureStorageMiddleWare has been removed. Going forward, if you need to store the credentials from the signers, please implement session storage.
  • There is a override function for manually specifying gasFees. This is because, internally calculated gasFees might not be accepted by some bundlers or paymasters. In such case, there are methods you can use to get possible gas values example: pimlico_getUserOperationGasPrice
  • Paymasters are fully supported, simply specify a paymaster URL in your configurations to automatically use a veryfyingPaymaster. Additionally, specify your paymaster address and/or a valid context in order to switch to erc20token paymaster at runtime. Only provide a paymaster URL if you need to use paymaster.
  • A logger class has been implemented to help with conditional logging and debbuging.

Full Changelog: v0.0.9...v0.1.0