360 Secure SkillHub
360 安全技能中心

ConsortiumAI Create Account

该 Skill 使用 TRADING_ANALYSIS_API_KEY 调用 Consortium AI 的托管钱包创建接口,并可通过内置 Node 脚本传入钱包地址。成功时输出钱包 ID、托管钱包地址、用户 ID 和时间戳,失败时返回错误并以非零状态退出。

webcraft3r
webcraft3r
热度 88.85
最近更新 2026-05-17 11:51:28
分类:自动化依赖:代码执行 / 第三方 API应用场景:个人理财 / 财务 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add consortiumai-create-account
Metadata
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