Install
openclaw skills install near-subaccountCreate, list, delete, and manage NEAR subaccounts with bulk distribution operations.
openclaw skills install near-subaccountCreate and manage NEAR subaccounts easily.
This skill provides tools to create, list, and delete NEAR subaccounts. Also includes bulk operations for distributing NEAR tokens to multiple subaccounts.
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"
]
}
Set your default account:
export NEAR_ACCOUNT="myaccount.near"