OpenClaw ยท Skill
Near Multi Account Manager
A secure and comprehensive OpenClaw skill for managing multiple NEAR Protocol accounts. Store credentials, switch between accounts, check balances, transfer NEAR, and track transactions across all your accounts from one unified interface.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install shaiss/near-multi-account-managerClawHub installer
npx clawhub@latest install shaiss/near-multi-account-managerOpenClaw CLI
openclaw skills install shaiss/near-multi-account-managerDirect OpenClaw install
openclaw install shaiss/near-multi-account-managerWhat this skill does
A secure and comprehensive OpenClaw skill for managing multiple NEAR Protocol accounts. Store credentials, switch between accounts, check balances, transfer NEAR, and track transactions across all your accounts from one unified interface.
Why it matters
Consolidates multi-account switching, balance aggregation, and transfers into a single interface with local encrypted storage, removing the need to juggle multiple browser wallets or store private keys in plaintext.
Typical use cases
- Switching between testnet and mainnet accounts during smart contract development
- Checking aggregate NEAR balance across all wallets in one command
- Transferring NEAR between personal accounts without opening multiple browser wallets
- Backing up account metadata before migrating to a new machine
- Monitoring fund distribution across DeFi and staking accounts
Source instructions
NEAR Multi-Account Manager
A secure and comprehensive OpenClaw skill for managing multiple NEAR Protocol accounts. Store credentials, switch between accounts, check balances, transfer NEAR, and track transactions across all your accounts from one unified interface.
What It Does
- ๐ Secure Credential Storage - Encrypted storage for multiple NEAR account private keys using AES-256-CBC
- ๐ Account Switching - Quickly set and switch between active accounts for seamless operations
- ๐ฐ Balance Management - Check balances for individual accounts or all accounts at once
- ๐ธ NEAR Transfers - Transfer NEAR between accounts with a single command
- ๐ Account Summaries - Get comprehensive overviews of all managed accounts including total holdings
- ๐ Transaction Tracking - View account information and transaction history via NEAR explorer
- ๐ค Export/Import - Backup and restore account information (private keys excluded for security)
- ๐๏ธ Account Management - Add, remove, and manage accounts with confirmation safeguards
Use Cases
- Developers - Manage multiple testnet and mainnet accounts during development
- Traders - Track balances across multiple trading accounts
- Organizations - Manage team accounts with quick switching between them
- DeFi Users - Monitor and move funds between accounts for yield farming or staking
- Power Users - Centralized management of NEAR portfolio
Requirements
- Node.js runtime (bundled with OpenClaw)
- Valid NEAR Protocol account(s)
- Private key(s) in format:
ed25519:...
Usage Examples
Add a NEAR Account
await add_account({
accountId: "myaccount.near",
privateKey: "ed25519:4K...",
name: "Main Wallet"
});
Check All Balances
await get_all_balances();
Transfer NEAR
await transfer({
to: "recipient.near",
amount: "5.0"
});
Get Account Summary
await account_summary();
Security Features
- AES-256-CBC Encryption - All private keys are encrypted at rest
- Custom Encryption Keys - Set via
NEAR_SKILL_KEYenvironment variable - Confirmation Required - Account removal requires explicit confirmation
- No Key Export - Export functions exclude private keys for security
- Local Storage - Data never leaves your machine unless explicitly exported
Technical Details
- Uses NEAR SDK (near-api-js) for blockchain interactions
- Supports NEAR mainnet (testnet support available via configuration)
- Encrypted data stored in
~/.openclaw/skills/near-multi-account-manager/ - Active account tracking via separate file for quick access
License
MIT