微算力 · API 导航与自营网关
API 接入 EN
未登录登录
👛

极速开通托管钱包账户

ConsortiumAI Create Account · v1.0.0
专业技能 安全 B 级 作者 webcraft3r 公开目录收录
下载 1.4k 安装 0 收藏 5k 浏览 8
原始页面

简介

一键创建 Consortium AI 托管钱包账户,需 API 密钥认证,适合快速开通加密货币交易账户。

原始描述

Create a custodial wallet account on Consortium AI.

中文使用说明 来自收录源

核心用法

Consortium AI Create Account 是一款专注于托管钱包(Custodial Wallet)账户创建的专业技能,主要面向加密货币交易用户和开发者。该技能通过调用 Consortium AI 的外部 API,为指定钱包地址创建新的托管账户,实现快速、自动化的账户开通流程。

使用方式:

  • 环境准备:设置 TRADING_ANALYSIS_API_KEY 环境变量
  • 命令行调用:node scripts/create-account.js <WALLET_ADDRESS> 或 npm run create-account -- <WALLET_ADDRESS>
  • 程序化调用:使用 createCustodialWallet(walletAddress) 函数

API 交互流程: 技能向 https://api.consortiumai.org/api/custodial-wallet/create-with-api-key 发送 POST 请求,携带目标钱包地址,认证通过后即可获取新生成的托管钱包信息,包括钱包 ID、托管地址、用户 ID 及时间戳。

显著优点

  1. 简化流程:无需复杂的区块链交互,一键完成托管账户创建
  2. 标准化输出:返回结构化的 JSON 数据,便于系统集成
  3. 双模式支持:同时提供命令行工具和函数调用接口
  4. 明确错误处理:400/401/404 状态码覆盖常见异常情况

潜在缺点与局限性

  1. 托管模式风险:用户不掌握私钥,资产实际控制权在平台方
  2. API 密钥依赖:必须获取并妥善保管 TRADING_ANALYSIS_API_KEY,获取渠道为 Twitter/X 私信联系
  3. 中心化单点故障:依赖 Consortium AI 基础设施可用性
  4. 地域合规限制:未明确说明服务地区限制,可能存在监管风险
  5. 功能单一:仅支持创建操作,无余额查询、转账等配套功能

适合人群

  • 需要快速开通 Consortium AI 交易账户的加密货币用户
  • 集成托管钱包功能的交易所或 DeFi 应用开发者
  • 希望自动化账户开通流程的机构客户

常规风险

  • API 密钥泄露:环境变量中的密钥若被窃取,可能导致未授权账户创建
  • 钓鱼风险:需通过 Twitter/X 联系获取 API 密钥,存在社交工程攻击可能
  • 资金托管风险:托管钱包模式下,平台方可能冻结或限制资产操作
  • 数据隐私:钱包地址与用户信息关联存储于第三方服务器

技能正文


name: consortium-ai-create-account displayName: Consortium AI Create Account description: Create a custodial wallet account on Consortium AI. requirements: TRADING_ANALYSIS_API_KEY author: Consortium AI authorUrl: https://consortiumai.org/ keywords: ["crypto", "wallet", "create", "account", "custodial", "API"] category: trading

Instructions

This skill provides account creation functionality for Consortium AI.

It calls an external API that creates a custodial wallet account on Consortium AI.

How to run (implementation)

From the skill directory, you can call the API either by making HTTP requests (see API Reference) or by running the bundled script:

  • Create Account: node scripts/create-account.js <WALLET_ADDRESS> or npm run create-account -- <WALLET_ADDRESS> Example: node scripts/create-account.js 5h4...3k1

The script requires TRADING_ANALYSIS_API_KEY to be set. It prints the API response as JSON to stdout on success, or error JSON to stderr and exits non-zero on failure.


Setup

Set the API key as an environment variable before using this skill:

export TRADING_ANALYSIS_API_KEY=your-secret-api-key

To get an API key, contact Consortium AI on X.


API Reference

Backend API base URL: https://api.consortiumai.org

Endpoint: POST https://api.consortiumai.org/api/custodial-wallet/create-with-api-key Creates a new custodial wallet account.

Authentication

API key only (no JWT). Send the key in one of:

  • Header: x-api-key: <TRADING_ANALYSIS_API_KEY>
  • Header: Authorization: Bearer <TRADING_ANALYSIS_API_KEY>

Request Body

{
  "walletAddress": "5h4...YourWalletAddress...3k1"
}

Success response (201 Created)

{
  "message": "Custodial wallet created successfully",
  "data": {
    "id": "wallet_uuid",
    "wallet_address": "GeneratedCustodialWalletAddress",
    "user_id": "user_uuid",
    "created_at": "2024-03-20T10:00:00.000Z",
    "updated_at": "2024-03-20T10:00:00.000Z"
  }
}

Error responses

Status When Body (example)
400 Missing walletAddress { "error": "Missing walletAddress" }
401 Missing or wrong API key { "success": false, "message": "Invalid or missing API key" }
404 User not found for wallet address { "error": "User not found for the provided wallet address" }

Available Functions

createCustodialWallet(walletAddress)

Purpose Create a new custodial wallet account on Consortium AI.

Parameters

  • walletAddress (string): The user's wallet address.

Expected Behavior

  • Sends a POST request to https://api.consortiumai.org/api/custodial-wallet/create-with-api-key
  • Authenticates with x-api-key using TRADING_ANALYSIS_API_KEY
  • Returns the created wallet details.

Returns

  • Wallet ID
  • Generated Custodial Wallet Address
  • User ID
  • Creation timestamp

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

cryptowalletcustodialapiaccount-creationblockchaintradingconsortium-ai

同类 Skill