near-subaccount
Create, list, delete, and manage NEAR subaccounts with bulk distribution operations.
Why use this skill?
Efficiently create, delete, and manage NEAR subaccounts with bulk token distribution features. Perfect for developers, testers, and automated Web3 account workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/shaiss/near-subaccountWhat This Skill Does
The near-subaccount skill for OpenClaw provides a powerful command-line interface for managing subaccounts within the NEAR Protocol ecosystem. It automates the lifecycle of subaccounts by allowing users to create, list, and delete accounts as children of a master NEAR account. Beyond basic lifecycle management, this skill enables efficient bulk distribution of NEAR tokens to multiple subaccounts using structured JSON input. It serves as a vital tool for developers, project managers, and Web3 enthusiasts who need to handle large-scale account deployments, testing, or dApp user onboarding without repetitive manual terminal input.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/shaiss/near-subaccount
Ensure that you have the official NEAR CLI installed and configured, as the skill relies on the underlying NEAR Protocol infrastructure. Set your default master account using export NEAR_ACCOUNT="yourname.near" to enable seamless operations without needing to pass the master account flag repeatedly.
Use Cases
This skill is highly applicable in scenarios requiring high-volume account creation. For instance, developers running integration tests for smart contracts can use this to quickly spin up dozens of clean test subaccounts. It is also ideal for crypto-projects conducting airdrops or community rewards, where funds need to be distributed to a long list of specific subaccounts simultaneously. Furthermore, managing tiered administrative structures in a DAO or corporate treasury setup becomes significantly easier with the automated deletion and distribution features.
Example Prompts
- "Create a new subaccount named user-01 under my master account."
- "List all active subaccounts associated with business.near to audit my current structure."
- "Distribute 0.5 NEAR to each of the addresses listed in batch_upload.json."
Tips & Limitations
When using the bulk distribution feature, always verify the JSON schema matches the expected structure to avoid transaction errors. Creating subaccounts incurs a storage fee on the NEAR blockchain, typically around 0.1 NEAR per account; ensure your master account has sufficient liquidity before starting a bulk creation operation. Keep your master account keys secure, as this skill inherits the permissions of the configured account. If the process fails, check your internet connection and verify that the NEAR CLI is authenticated correctly with the master account's private keys.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-shaiss-near-subaccount": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, code-execution
Related Skills
near-multi-account
Secure multi-account management for NEAR Protocol with encrypted credential storage, account switching, and balance aggregation.
near-best-practices
Comprehensive NEAR best practices guide with 100+ terms covering wallet security, smart contracts, and DeFi safety.
local-approvals
Local approval system for managing agent permissions. Use CLI to approve/deny requests, view history, and manage auto-approved categories.
near-airdrop-hunter
Discover NEAR airdrops, check eligibility, claim rewards, and track claimed airdrops across multiple platforms.
near-name-service
Manage NEAR Name Service (.near domains) - check availability, register, resolve, and manage names.