lnexchange

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

LnExchange MCP Node Service

This is a Node.js service for interacting with the LnExchange API, providing spot trading functionality.

Installation

  1. Make sure you have Node.js installed (version 16 or higher recommended)
  2. Clone this repository
  3. Install dependencies:
npm install

Building the Project

To compile TypeScript files to JavaScript:

npm run build

This will:

  1. Compile TypeScript files using tsc
  2. Make the built files executable

Usage

After building, you can start the service with:

npm start

npx

Please replace with your Nostr private key: xxxxxxxxxxxxxxxxxxxx

{
    "mcpServers": {
        "lnexchange-mcp-node-service-test": {
            "command": "npx",
            "args": [
                "-y",
                "lnexchange-mcp-node-service-test",
                "xxxxxxxxxxxxxxxxxxxx"
            ]
        }
    }
}

Dependencies