@daimo/userop
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Daimo Userop

This library constructs all userops sent by a Daimo account.

Example usage:

import { DaimoOpSender } from "@daimo/userop";

// Create DaimoOpConfig, then send some of that account's home coin (eg USDC).
const sender = DaimoOpSender.init(config);
sender.erc20Transfer(toAddress, amount, nonceMetadata);

See apps/daimo-mobile for more examples. Built with userop.js.

Readme

Keywords

none

Package Sidebar

Install

npm i @daimo/userop

Weekly Downloads

1

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

54.8 kB

Total Files

28

Last publish

Collaborators

  • dcposch