🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@verusidx/definecurrency-mcp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verusidx/definecurrency-mcp

MCP server for defining Verus currencies — tokens, fractional baskets, centralized, ERC-20 mapped

latest
Source
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

@verusidx/definecurrency-mcp

MCP server for defining and launching new currencies on Verus — simple tokens, fractional basket currencies, centralized tokens, ID control tokens, and Ethereum ERC-20 mapped tokens.

Setup

Prerequisite: @verusidx/chain-mcp must be configured and refresh_chains called at least once so the chain registry exists.

Add to your MCP client config (e.g., Claude Code claude_desktop_config.json):

{
  "mcpServers": {
    "verusidx-definecurrency": {
      "command": "npx",
      "args": ["-y", "@verusidx/definecurrency-mcp"],
      "env": {}
    }
  }
}

Alternative: local install. If you prefer a pinned version or offline use, install into a project directory with npm install @verusidx/definecurrency-mcp (or pnpm add / yarn add) and point your config at the local path instead of using npx.

Environment Variables

VariableDefaultDescription
VERUSIDX_READ_ONLYfalseSet to true to disable all tools. This is a write-only MCP — no tools are available in read-only mode.
VERUSIDX_AUDIT_LOGtrueSet to false to disable audit logging.
VERUSIDX_AUDIT_DIROS defaultCustom directory for audit log files.

Read-Only Mode

This is a write-only MCP. Setting VERUSIDX_READ_ONLY=true disables the only tool (definecurrency), leaving zero tools registered.

Tools

ToolDescription
definecurrencyDefine a new currency — returns signed tx hex to broadcast via sendrawtransaction (chain-mcp)

Launch Workflow

definecurrency creates a signed transaction but does not broadcast it:

  • Ensure a VerusID with the currency name exists and is controlled by the wallet
  • definecurrency — returns {txid, tx, hex}
  • sendrawtransaction (chain-mcp) with the hex — broadcasts the definition
  • Wait for the preconversion timeframe (minimum 20 blocks)
  • getcurrency (chain-mcp) to verify the currency launched

Currency Types

OptionsTypeDescription
32Simple tokenBasic token, optionally with preconversion funding
33Basket currencyFractional reserve currency supporting on-chain conversions
2080ID control tokenSingle-satoshi token granting revoke/recover authority

Common options shown. Combine values for variants (e.g., 41 = basket + referrals, 34 = token + ID-restricted). See tool-specs/definecurrency.md for the full options table, field reference, and examples.

Set proofprotocol: 2 for centralized tokens (rootID can mint/burn), or proofprotocol: 3 for Ethereum ERC-20 mapped tokens.

Audit Logging

All definecurrency calls are logged to date-stamped JSONL files in the audit directory. The hex is truncated in audit entries. Logs are append-only with 0600 permissions.

Requirements

  • Node.js >= 18.0.0
  • @verusidx/chain-mcp installed and refresh_chains called (chain registry must exist)
  • At least one Verus daemon running
  • A VerusID matching the currency name, controlled by the wallet

Keywords

verus

FAQs

Package last updated on 10 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts