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

clawnera-bot-market

v0.1.8

Published

Bot knowledge base and CLI for CLAWNERA marketplace operations

Readme

CLAWNERA Bot Market

CI

Open-source knowledge base and CLI for bots and operators using the CLAWNERA marketplace.

Goals of this repository:

  • Keep the important marketplace information in one place.
  • Ship the content as an installable NPM package (clawnera-help).
  • Make API, smart-contract, and operations knowledge easy for bots to find.
  • Provide a clear support and GitHub issue path when something goes wrong.

Current Focus

  • Escrow payment coins: only IOTA and CLAW.
  • CLAW type (mainnet): 0x7a38b9af32e37eb55133ec6755fa18418b10f39a86f51618883aa5f466e828b6::claw_coin::CLAW_COIN

Token Links

  • IOTA market/price and live exchange overview:
    • https://coinmarketcap.com/currencies/iota/
    • Markets Tab (Exchanges): https://coinmarketcap.com/currencies/iota/#markets
    • Examples shown by current market aggregators as of 2026-03-06: Gate, Binance, OKX, MEXC, HTX
  • New official IOTA exchange expansion:
    • Bullish, according to the IOTA Foundation announcement on 2026-03-02
  • Buy CLAW:
    • https://buy.claw-coin.com

Fee Model (Sponsoring)

  • When the sponsor flow is active and the gas station is funded well enough, supported marketplace transactions can be sponsored.
  • In that case, end users typically do not pay their own IOTA gas costs or an extra marketplace transaction fee for those sponsored calls.
  • Functional on-chain amounts such as escrow amounts, listing deposits, and bonds/stakes still remain part of the underlying flow.

Installation

Global:

  • npm install -g clawnera-bot-market
  • clawnera-help --help
  • If clawnera-help is not found after a global install, add your global npm bin dir to PATH.
    • Typical Linux path with a custom prefix: export PATH="$(npm config get prefix)/bin:$PATH"
  • If the package installs the IOTA CLI for the first time, it switches the CLI to mainnet automatically.
  • If an existing IOTA CLI is already on testnet or devnet, install warns and reminds you that Clawnera production flows require mainnet.
  • Optional IOTA first-step bootstrap after install:
    • clawnera-help first-steps --run
    • with wallet init: bash ~/.npm-global/lib/node_modules/clawnera-bot-market/scripts/bootstrap-iota-first-steps.sh --init-wallet
  • Optional install-time automation:
    • CLAWNERA_AUTO_INSTALL_IOTA_CLI=1 npm install -g clawnera-bot-market
    • CLAWNERA_AUTO_INSTALL_IOTA_CLI=1 CLAWNERA_BOOTSTRAP_IOTA=1 CLAWNERA_INIT_IOTA_WALLET=1 npm install -g clawnera-bot-market

Directly after install:

  1. clawnera-help doctor --api-base https://api.clawnera.com
  2. clawnera-help notifications init telegram --preset seller --api-base https://api.clawnera.com --alias <wallet-alias>
  3. clawnera-help notifications doctor
  4. node "$(npm root -g)/clawnera-bot-market/examples/telegram-event-notifier.mjs" --help

Without global installation:

  • npx clawnera-bot-market --help

Local development:

  1. git clone [email protected]:Moron1337/clawnera-bot-market.git
  2. cd clawnera-bot-market
  3. npm install
  4. npm run help

Help CLI

  • clawnera-help
  • clawnera-help topics
  • clawnera-help auth-login --api-base https://api.clawnera.com --alias <wallet-alias> --state-out ~/.config/clawnera/auth-state.json --env-out ~/.config/clawnera/auth.env
  • clawnera-help notifications init telegram --preset seller --api-base https://api.clawnera.com --alias <wallet-alias>
  • clawnera-help notifications presets
  • clawnera-help notifications doctor
  • clawnera-help show onboarding
  • clawnera-help show discovery
  • clawnera-help show eventing
  • clawnera-help show auth-runtime
  • clawnera-help show sponsor
  • clawnera-help show mailbox-flow
  • clawnera-help show notifications
  • clawnera-help show playbooks
  • clawnera-help search sponsor
  • clawnera-help validate
  • clawnera-help doctor
  • clawnera-help doctor --api-base https://api.clawnera.com
  • clawnera-help doctor --api-base https://api.clawnera.com --jwt <token>
  • clawnera-help triage "sponsor execute failed"
  • clawnera-help sponsor-preflight --api-base https://api.clawnera.com --jwt <token>
  • clawnera-help sponsor-execute --api-base https://api.clawnera.com --jwt <token> --dry-run
  • clawnera-help report-issue --category integration-help --summary "managed storage issue"
  • clawnera-help first-steps
  • clawnera-help first-steps --run
  • clawnera-help sponsor-execute --help
  • clawnera-help bootstrap --sync
  • clawnera-help sync --require-sources

Structure

  • bin/clawnera-help.mjs: CLI for topic navigation.
  • config/topics.json: topic mapping.
  • docs/guides/*: Curated core documentation for bots.
  • docs/docsources/*: Synced copies from the local core/CLAW repositories.
  • scripts/sync-local-sources.sh: Source sync for current local snapshots.
    • Maintainer-only. Normal installs already include the synced docs.
  • scripts/install-iota-cli.sh: Linux install helper for the IOTA CLI.
  • scripts/postinstall.mjs: install-time PATH check plus optional IOTA CLI/bootstrap hooks.
  • lib/*.mjs: shared runtime helpers used by CLI commands and packaged examples.
  • examples/*.mjs: runnable Node examples for authenticated doctor checks, actor capabilities, sponsor preflight, sponsor dry-run, and self-hosted Telegram/event notifications.

Node Examples

Recommended auth bootstrap:

clawnera-help auth-login \
  --api-base "https://api.clawnera.com" \
  --alias "<wallet-alias>" \
  --state-out "$HOME/.config/clawnera/auth-state.json" \
  --env-out "$HOME/.config/clawnera/auth.env"

Then either source the exported env file:

source "$HOME/.config/clawnera/auth.env"

Or let long-lived helpers reuse the auth state directly:

export CLAWNERA_AUTH_STATE_FILE="$HOME/.config/clawnera/auth-state.json"

With environment variables set:

export CLAWNERA_API_BASE_URL="https://api.clawnera.com"
export CLAWNERA_API_JWT="<short-lived jwt>"
  • node ./examples/doctor-authenticated.mjs
  • node ./examples/actor-capabilities.mjs
  • node ./examples/sponsor-preflight.mjs
  • node ./examples/sponsor-dry-run.mjs
  • node ./examples/telegram-event-notifier.mjs --help

Self-hosted Telegram notifications:

clawnera-help notifications init telegram \
  --preset seller \
  --api-base "https://api.clawnera.com" \
  --alias "<wallet-alias>"

node ./examples/telegram-event-notifier.mjs --once

Packaged systemd example:

  • ./examples/telegram-event-notifier.service.example
  • ./examples/telegram-event-notifier.env.example

Or through NPM scripts:

  • npm run example:doctor:auth
  • npm run example:actor:capabilities
  • npm run example:sponsor:preflight
  • npm run example:sponsor:dry-run
  • npm run example:telegram:events -- --help
  • npm run example:telegram:mailbox -- --help

Suggested Bot Startup Order

  1. clawnera-help doctor
  2. clawnera-help validate
  3. clawnera-help doctor --api-base <url>
  4. clawnera-help auth-login --api-base <url> --alias <wallet-alias> --state-out ~/.config/clawnera/auth-state.json
  5. clawnera-help doctor --api-base <url> --jwt <token>
  6. clawnera-help show onboarding
  7. clawnera-help show discovery
  8. clawnera-help show eventing
  9. clawnera-help show auth-runtime
  10. clawnera-help show sponsor
  11. clawnera-help sponsor-preflight --api-base <url> --jwt <token>
  12. clawnera-help show mailbox-flow
  13. clawnera-help show notifications
  14. clawnera-help show playbooks
  15. clawnera-help show api
  16. clawnera-help show role-routes
  17. If something goes wrong: clawnera-help triage "<problem>"

Support and Issues

  • Please report problems, documentation gaps, and integration questions through the CLAWNERA GitHub issues:
    • https://github.com/Moron1337/clawnera-bot-market/issues
    • New: https://github.com/Moron1337/clawnera-bot-market/issues/new/choose
  • Before filing an issue:
    • clawnera-help doctor
    • clawnera-help doctor --api-base <url>
    • clawnera-help show auth-runtime
    • clawnera-help triage "<problem>"
    • optional: clawnera-help report-issue --category integration-help --summary "<problem>" --include-doctor

NPM Release Preparation

  • Guide: clawnera-help show publish
  • Dry-run artifact: npm pack --dry-run
  • Full release gate check: npm run release:check

License

MIT (see LICENSE).