beach-os-proxy
TypeScript icon, indicating that this package has built-in type declarations

0.0.51 • Public • Published

beach-proxy-sdk

Usage

  import { list, buy, bid } from '...';

  // Should `approveForAll` for this contract before listing.
  await list({
    privateKey,
    url,
    price
  });

  // Buy it
  await buy({
    privateKey,
    url
  });

  // Bid price should above 0.003.
  // Keep a eye on the balance of WETH when bidding.
  await bid({
    privateKey,
    url,
    price
  });

CLI

> yarn // npm i
...

> npm run build-cli
...

> beach
Usage: beach [options] [command]

CLI to proxy Opensea action.

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  list [options]  List a token.
  buy [options]   Buy one.
  bid [options]   Bid one.
  help [command]  display help for command

Readme

Keywords

none

Package Sidebar

Install

npm i beach-os-proxy

Weekly Downloads

51

Version

0.0.51

License

MIT

Unpacked Size

75 kB

Total Files

14

Last publish

Collaborators

  • allen_ginlabs