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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@morpho-org/quoter

v0.1.0

Published

Morpho Midnight quoter CLI: setup checks, position bootstrap, ladder quoting, and combined monitoring for maker operators.

Downloads

123

Readme

@morpho-org/quoter

Morpho Midnight quoter CLI: validates maker setup, bootstraps target lending positions, maintains two-sided rate ladders, and provides explicit recovery commands on Ethereum mainnet and Base.

The package ships one self-contained bundle — no dependencies are installed.

Install

Requires Node.js 24.14.1 or newer.

npm install -g @morpho-org/quoter

Quickstart

Configuration comes from environment variables, a YAML file, or both. The CLI discovers quoter-bot.yaml (then quoter-bot.yml) in the working directory, or takes an explicit file with --config <path>. Start from the example configuration.

# Read-only readiness checks against the configured maker address (no key required).
morpho-quoter --readonly setup-check

# Inspect every intended action without signing or submitting anything.
morpho-quoter --readonly ladder --monitor --verbose

# Run setup checks, position bootstrap, and ladder monitoring together until SIGINT/SIGTERM.
morpho-quoter start --verbose

Start with --readonly to inspect every intended action before enabling signing.

Commands

| Command | Behavior | | ----------------------- | ------------------------------------------------------------------ | | setup-check | Run quoter readiness checks once, or continuously with --monitor | | bootstrap | Run one position-bootstrap cycle, or continuously with --monitor | | ladder | Run one quoter ladder cycle, or continuously with --monitor | | start | Monitor setup, bootstrap, and ladder together until shutdown | | invalidate [group-id] | Invalidate all active maker offer groups, or one explicit group |

Root options precede the command: --config <path>, --readonly, --json (JSON Lines output for automation), and the signer options below. Add --verbose to writer commands for safe diagnostics and submitted transaction hashes. The bootstrap --monitor and ladder --monitor writer variants (and start) clean up owned offers on SIGINT/SIGTERM; setup-check --monitor stays read-only.

Signing

Exactly one signer source is required in write mode:

# Environment (preferred for unattended operation): MAKER_PRIVATE_KEY or YAML equivalent.
morpho-quoter setup-check

# Encrypted JSON keystore with a hidden interactive password prompt.
morpho-quoter --keystore ./maker.json --interactive setup-check

# Non-exportable AWS KMS key (AWS_KMS_KEY_ID, AWS_REGION, standard AWS credential chain).
morpho-quoter --aws setup-check

--private-key <key> and --password <password> exist for explicit automation but place secrets in argv, where process listings and shell history may expose them; prefer MAKER_PRIVATE_KEY and KEYSTORE_PASSWORD. Never commit real configuration.

Exit contract

Success exits 0 and writes human-readable output to stdout; with --json, one JSON Lines record per value (bigints as decimal strings). Failures exit non-zero with an explicit sanitized error on stderr that never includes credentials, URLs, or provider payloads.

Documentation

Complete configuration reference (all environment variables, YAML schema, bootstrap and ladder fields, formulas, and operational behavior): https://github.com/morpho-org/morpho-bots/tree/main/bots/quoter-bot#readme

Also available as a Docker image: morphoorg/quoter.

License

Apache-2.0