hardhat-storage-layout

JSON →
library 0.1.7 ·javascript
verified Jun 7, 2026

A Hardhat plugin (v0.1.7) that exports the Solidity contract storage layout as a table or programmatic export. It requires Hardhat ^2.0.3 and Solc >=0.5.13. Key differentiator: automates storage slot inspection for upgradeable contracts, avoiding manual errors when updating storage variables. The plugin integrates as a Hardhat task ('check') and provides a JavaScript API for pre-deployment export.