npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

otmoiccli

v0.0.8

Published

otmoic-cli has functions such as generating account reports, querying quotes, and making exchanges.

Downloads

391

Readme

otmoiccli

otmoic-cli has functions such as generating account reports, querying quotes, and making exchanges.

oclif Version Downloads/week

Usage

$ npm install -g otmoiccli
$ otmoiccli COMMAND
running command...
$ otmoiccli (--version)
otmoiccli/0.0.8 darwin-arm64 node-v20.11.1
$ otmoiccli --help [COMMAND]
USAGE
  $ otmoiccli COMMAND
...

Commands

otmoiccli ask

ask for relay

USAGE
  $ otmoiccli ask [-r <value>] [-n <value>] [-c <value>] [-b <value>] [-a <value>]

FLAGS
  -a, --amount=<value>    amount for you want to exchange
  -b, --bridge=<value>    bridge name, like: BSC-0x55d398326f99059ff775485246999027b3197955(USDT)-->OPT-0x94b008aa00579c
                          1307b0ef2c499ad98a8ce58e58(USDT)
  -c, --chainRpc=<value>  rpc config json, like: { bsc: "<RPC_BSC>" }
  -n, --network=<value>   network: mainnet / testnet
  -r, --relay=<value>     relay url

DESCRIPTION
  ask for relay

EXAMPLES
  $ otmoiccli ask

See code: src/commands/ask.ts

otmoiccli help [COMMAND]

Display help for otmoiccli.

USAGE
  $ otmoiccli help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for otmoiccli.

See code: @oclif/plugin-help

otmoiccli monkey

describe the command here

USAGE
  $ otmoiccli monkey [-i <value>] [-r <value>] [-a <value>] [-b <value>] [-p <value>] [-s <value>] [-w
    <value>] [-t <value>] [-C <value>] [-l <value>] [-n <value>] [-c <value>] [-T <value>] [-S <value>] [-d <value>]

FLAGS
  -C, --complaint=<value>         do complaint, enter [true] or [false], if "type" is not "succeed", complaint can be
                                  run
  -S, --solanaTo=<value>          your solana address for receiving token
  -T, --to=<value>                your evm address for receiving token
  -a, --amount=<value>            the per mille (num over 1000) of srctokens exchanged (base of balance) in each test,
                                  random within a specific range, in the format of [min]-[max]
  -b, --bridge=<value>            the bridges to be tested are separated by commas. If it is empty, there is no limit.
  -c, --chainRpc=<value>          rpc config json, like: { bsc: "<RPC_BSC>" }
  -d, --debug=<value>             output verbose logs for debugging if true, otherwise be false
  -i, --interval=<value>          the interval between the two monkeys' departures is random within a certain range, in
                                  the format of [min]-[max]
  -l, --lp=<value>                the lp name to be tested. no restriction if empty.
  -n, --network=<value>           network: mainnet / testnet
  -p, --privateKey=<value>        evm private key used during testing
  -r, --relay=<value>             relay url
  -s, --solanaPrivateKey=<value>  solana private key used during testing
  -t, --type=<value>              the test type, separated by commas, [succeed] or [refund] or [cheat amount] or [cheat
                                  address] or [cheat txin]
  -w, --webhook=<value>           webhook address for receiving execution reports

DESCRIPTION
  describe the command here

EXAMPLES
  $ otmoiccli monkey

See code: src/commands/monkey.ts

otmoiccli reportforms

describe the command here

USAGE
  $ otmoiccli reportforms

DESCRIPTION
  describe the command here

EXAMPLES
  $ otmoiccli reportforms

See code: src/commands/reportforms.ts

otmoiccli swap

exchange token

USAGE
  $ otmoiccli swap [-r <value>] [-n <value>] [-c <value>] [-b <value>] [-a <value>] [-p <value>] [-s
    <value>] [-t <value>]

FLAGS
  -a, --amount=<value>             amount for you want to exchange
  -b, --bridge=<value>             bridge name, like: BSC-0x55d398326f99059ff775485246999027b3197955(USDT)-->OPT-0x94b00
                                   8aa00579c1307b0ef2c499ad98a8ce58e58(USDT)
  -c, --chainRpc=<value>           rpc config json, like: { bsc: "<RPC_BSC>" }
  -n, --network=<value>            network: mainnet / testnet
  -p, --privateKeyForSign=<value>  your wallet private key for sign this deal
  -r, --relay=<value>              relay url
  -s, --privateKeyForSend=<value>  your wallet private key for send src token
  -t, --to=<value>                 your wallet address for receiving token

DESCRIPTION
  exchange token

EXAMPLES
  $ otmoiccli swap

See code: src/commands/swap.ts