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