osp-wallet
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

osp-wallet@0.0.1

Usage

const provider = new BundlerJsonRpcProvider(url, bundlerRpcUrl);
const ospAccount = new OspAccount(signer, accountFactoryAddress);
const sender = new Sender(provider, ospAccount);

async function main() {
  const userOperationReceipt = await sender.sendUserOperation({
    target: "0x490Dd3cCc7ff94823d4F10bb6d97c7802957e6bf",
    value: 0,
    data: "0x",
  });
  console.log(userOperationReceipt);
}

Readme

Keywords

none

Package Sidebar

Install

npm i osp-wallet

Weekly Downloads

7

Version

3.0.0

License

MIT

Unpacked Size

262 kB

Total Files

8

Last publish

Collaborators

  • zhanxinxu
  • zhanxinxu-evg