account-management

Coordinate funds across dual accounts on the 0G Compute Network.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/gabrielfior/ai-village-open-agents --skill account-management-gabrielfior
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: account-management
Source: https://github.com/gabrielfior/ai-village-open-agents/tree/main/.opencode/skills/account-management
Command: npx skills add https://github.com/gabrielfior/ai-village-open-agents --skill account-management-gabrielfior

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage funds across the 0G Compute Network's dual-account system: Main Account (receives deposits) and Provider Sub-Accounts (one per provider, funds locked for that provider's services).

Core Features & Use Cases

  • Deposit to Main Account: Ingest funds into the central ledger to fund provider activities.
  • Transfer to Provider Sub-Accounts: Allocate funds per provider to enable on-demand service usage.
  • Service Usage & 24h Refunds: Auto-deduct from sub-accounts during service usage and enforce the 24-hour refund lock.
  • Balance & Compliance Checks: Monitor main and sub-account balances to ensure liquidity and governance.
  • Provider Acknowledgement & Governance: Acknowledge providers before first use to establish trust.

Quick Start

Deposit funds to the Main Account and provision a provider sub-account to begin service usage.

Frequently Asked Questions about account-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does dual-account fund management work on the 0G Compute Network?

Dual-account fund management on the 0G Compute Network splits balances between a Main Account for deposits and Provider Sub-Accounts for locked service funds. This architecture isolates per-provider liquidity and enforces the 24-hour refund lock automatically during service usage.

How do I deposit funds and allocate them to provider sub-accounts?

To deposit funds and allocate them to provider sub-accounts, first transfer balances to the Main Account via the 0g-serving-broker client. Then, transfer specific amounts to individual Provider Sub-Accounts to enable on-demand service usage and provider acknowledgement.

Do I need a specific wallet and RPC URL to manage 0G account transfers?

Yes, managing 0G account transfers requires a configured wallet, an RPC URL, and environment variables. These components are necessary to authenticate with the network and operate the 0g-serving-broker client for executing ledger operations.

Why are funds locked for 24 hours during 0G refund processing?

Funds are locked for 24 hours during 0G refund processing to enforce network governance and compliance. The 24-hour refund lock ensures auto-deductions from provider sub-accounts are verified before balances are released back to the main ledger.

What is the best way to monitor main and sub-account balances for 0G compliance?

The best way to monitor main and sub-account balances for 0G compliance is by executing balance checks through the 0g-serving-broker client. This verifies liquidity across the dual-account system and confirms provider acknowledgement before transactions.

Can I transfer funds directly to a provider without using the Main Account?

No, transferring funds directly to a provider without using the Main Account is not supported. The 0G dual-account system requires depositing into the Main Account first, then allocating specific amounts to Provider Sub-Accounts to maintain ledger governance.