Deploy Contract to 0G Chain
Facilitates the deployment of Solidity smart contracts to the 0G Chain using Hardhat, Foundry, or ethers v6, ensuring proper configuration.
Install this skill
or
89/100
Security score
The Deploy Contract to 0G Chain skill was audited on Feb 25, 2026 and we found 7 security issues across 2 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
medium line 19
Access to .env file
SourceSKILL.md
| 19 | - `.env` with `PRIVATE_KEY`, `RPC_URL` |
low line 135
Access to .env file
SourceSKILL.md
| 135 | const provider = new ethers.JsonRpcProvider(process.env.RPC_URL); |
low line 136
Access to .env file
SourceSKILL.md
| 136 | const wallet = new ethers.Wallet(process.env.PRIVATE_KEY!, provider); |
low line 117
External URL reference
SourceSKILL.md
| 117 | --rpc-url https://evmrpc-testnet.0g.ai \ |
low line 124
External URL reference
SourceSKILL.md
| 124 | --verifier-url https://chainscan-galileo.0g.ai/api |
low line 204
External URL reference
SourceSKILL.md
| 204 | - [Hardhat Docs](https://hardhat.org/docs) |
low line 205
External URL reference
SourceSKILL.md
| 205 | - [Foundry Docs](https://book.getfoundry.sh) |
Scanned on Feb 25, 2026
View Security DashboardInstall this skill with one command
/learn @0gfoundation/deploy-contract