clawnera-bot-market
v0.1.8
Published
Bot knowledge base and CLI for CLAWNERA marketplace operations
Maintainers
Readme
CLAWNERA Bot Market
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
IOTAandCLAW. - 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 on2026-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-marketclawnera-help --help- If
clawnera-helpis not found after a global install, add your global npm bin dir toPATH.- Typical Linux path with a custom prefix:
export PATH="$(npm config get prefix)/bin:$PATH"
- Typical Linux path with a custom prefix:
- If the package installs the IOTA CLI for the first time, it switches the CLI to
mainnetautomatically. - If an existing IOTA CLI is already on
testnetordevnet, install warns and reminds you that Clawnera production flows requiremainnet. - 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-marketCLAWNERA_AUTO_INSTALL_IOTA_CLI=1 CLAWNERA_BOOTSTRAP_IOTA=1 CLAWNERA_INIT_IOTA_WALLET=1 npm install -g clawnera-bot-market
Directly after install:
clawnera-help doctor --api-base https://api.clawnera.comclawnera-help notifications init telegram --preset seller --api-base https://api.clawnera.com --alias <wallet-alias>clawnera-help notifications doctornode "$(npm root -g)/clawnera-bot-market/examples/telegram-event-notifier.mjs" --help
Without global installation:
npx clawnera-bot-market --help
Local development:
git clone [email protected]:Moron1337/clawnera-bot-market.gitcd clawnera-bot-marketnpm installnpm run help
Help CLI
clawnera-helpclawnera-help topicsclawnera-help auth-login --api-base https://api.clawnera.com --alias <wallet-alias> --state-out ~/.config/clawnera/auth-state.json --env-out ~/.config/clawnera/auth.envclawnera-help notifications init telegram --preset seller --api-base https://api.clawnera.com --alias <wallet-alias>clawnera-help notifications presetsclawnera-help notifications doctorclawnera-help show onboardingclawnera-help show discoveryclawnera-help show eventingclawnera-help show auth-runtimeclawnera-help show sponsorclawnera-help show mailbox-flowclawnera-help show notificationsclawnera-help show playbooksclawnera-help search sponsorclawnera-help validateclawnera-help doctorclawnera-help doctor --api-base https://api.clawnera.comclawnera-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-runclawnera-help report-issue --category integration-help --summary "managed storage issue"clawnera-help first-stepsclawnera-help first-steps --runclawnera-help sponsor-execute --helpclawnera-help bootstrap --syncclawnera-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.mjsnode ./examples/actor-capabilities.mjsnode ./examples/sponsor-preflight.mjsnode ./examples/sponsor-dry-run.mjsnode ./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 --oncePackaged systemd example:
./examples/telegram-event-notifier.service.example./examples/telegram-event-notifier.env.example
Or through NPM scripts:
npm run example:doctor:authnpm run example:actor:capabilitiesnpm run example:sponsor:preflightnpm run example:sponsor:dry-runnpm run example:telegram:events -- --helpnpm run example:telegram:mailbox -- --help
Suggested Bot Startup Order
clawnera-help doctorclawnera-help validateclawnera-help doctor --api-base <url>clawnera-help auth-login --api-base <url> --alias <wallet-alias> --state-out ~/.config/clawnera/auth-state.jsonclawnera-help doctor --api-base <url> --jwt <token>clawnera-help show onboardingclawnera-help show discoveryclawnera-help show eventingclawnera-help show auth-runtimeclawnera-help show sponsorclawnera-help sponsor-preflight --api-base <url> --jwt <token>clawnera-help show mailbox-flowclawnera-help show notificationsclawnera-help show playbooksclawnera-help show apiclawnera-help show role-routes- 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 doctorclawnera-help doctor --api-base <url>clawnera-help show auth-runtimeclawnera-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).
