0.0.7 • Published 1 year ago

@b2network/aa-utils v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

aa-utils

Wagmi-compliant hooks to ease integration with BSquared Network AA.

Getting Started

  • Install the package
// with yarn
yarn add @b2network/aa-utils
// with npm
npm i @b2network/aa-utils

Hooks

useSCAAddress

useWaitForUserOperation

Examples

// Required addresses and endpoints can be retrived from our doc

const { data: scaData } = useSCAAddress({
  owner: someAddress,
  scaFactoryAddress: KERNEL_FACTORY_ADDRESS,
  scaRegistryAddress: SCA_REGISTRY_ADDRESS
});

const { data: receipt } = useWaitForUserOperation({
  hash: someUOHash,
  opts: {
    baseUrl: BUNDLER_BASE_URL
  }
})
0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago