Basic information
About near-subaccount
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
near-subaccount is an agent skill listed in the AddMCP.net directory, published by openclaw. Source code is hosted on github.com.
Overview
What is near-subaccount?
name: near-subaccount description: Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
NEAR Subaccount Manager Skill
Create and manage NEAR subaccounts easily.
What it does
- Create subaccounts
- List all subaccounts under an account
- Delete subaccounts
- Bulk distribute NEAR to multiple subaccounts
- Clean command-line interface
Description
This skill provides tools to create, list, and delete NEAR subaccounts. Also includes bulk operations for distributing NEAR tokens to multiple subaccounts.
Commands
near-subaccount create <subaccount_name> [master_account]
Create a new subaccount.
Parameters:
subaccount_name- Name of the subaccount (without .master.account)master_account- Master account (optional, uses default)
Example:
near-subaccount create wallet myaccount.near
# Creates: wallet.myaccount.near
near-subaccount list [account_id]
List all subaccounts under an account.
Parameters:
account_id- Account to list subaccounts for (optional, uses default)
Example:
near-subaccount list myaccount.near
near-subaccount delete <subaccount_id> [master_account]
Delete a subaccount.
Parameters:
subaccount_id- Full subaccount ID to deletemaster_account- Master account (optional, uses default)
near-subaccount distribute <file.json> [amount]
Bulk distribute NEAR from master account to subaccounts listed in a JSON file.
Parameters:
file.json- JSON file with subaccount listamount- NEAR amount to send each (default: 0.1)
JSON format:
{
"subaccounts": [
"wallet1.myaccount.near",
"wallet2.myaccount.near",
"wallet3.myaccount.near"
]
}Configuration
Set your default account:
export NEAR_ACCOUNT="myaccount.near"Requirements
- NEAR CLI installed and configured
- Master account with sufficient balance for creating subaccounts (~0.1 NEAR each)
References
- NEAR CLI: https://docs.near.org/tools/near-cli
- Subaccount docs: https://docs.near.org/concepts/account/subaccounts
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In