Account Management
Facilitates fund management across a dual-account system for the 0G Compute Network, ensuring efficient transactions and service usage.
Install this skill
Security score
The Account Management skill was audited on Feb 25, 2026 and we found 28 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 86 | console.log(`Address: ${account[0]}`); |
Template literal with variable interpolation in command context
| 87 | console.log(`Total Balance: ${ethers.formatEther(account[1])} 0G`); |
Template literal with variable interpolation in command context
| 88 | console.log(`Available: ${ethers.formatEther(account[2])} 0G`); |
Template literal with variable interpolation in command context
| 104 | console.log(`Deposited ${amount} 0G to Main Account`); |
Template literal with variable interpolation in command context
| 109 | console.log(`Transferred ${amount} 0G to provider ${providerAddress}`); |
Template literal with variable interpolation in command context
| 124 | console.log(`Sub-account user: ${subAccount[0]}`); |
Template literal with variable interpolation in command context
| 125 | console.log(`Sub-account provider: ${subAccount[1]}`); |
Template literal with variable interpolation in command context
| 126 | console.log(`Sub-account balance: ${ethers.formatEther(subAccount[2])} 0G`); |
Template literal with variable interpolation in command context
| 130 | console.log(`Pending refund ${i + 1}:`, refund); |
Template literal with variable interpolation in command context
| 163 | console.log(`Withdrew ${amount} 0G to wallet`); |
Template literal with variable interpolation in command context
| 178 | console.log(`Available balance: ${available} 0G`); |
Template literal with variable interpolation in command context
| 213 | console.log(`Insufficient balance. Depositing ${depositNeeded} 0G...`); |
Template literal with variable interpolation in command context
| 222 | console.log(`Successfully funded provider with ${amount} 0G`); |
Access to .env file
| 19 | - `.env` with `PRIVATE_KEY`, `RPC_URL` |
Access to .env file
| 79 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 80 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 98 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 99 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 117 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 118 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 140 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 141 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 158 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 159 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 171 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 172 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Access to .env file
| 202 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
Access to .env file
| 203 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
Install this skill with one command
/learn @0gfoundation/account-management