0.4.1 • Published 10 months ago

@open-social-protocol/osp-wallet v0.4.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
10 months ago

@open-social-protocol/osp-wallet

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);
}