gemforge
gemforge copied to clipboard
Command-line tool for building, deploying and upgrading Diamond Standard contracts on EVM chains.
Apparently gemforge just hangs when the deployer wallet runs out of funds for paying gas, during the deployment.
Needed to make contract auditing easier. Essentially speaking, one should be able to verify bytecode using Forge as follows: ```shell forge verify-bytecode 0x3E9199FdF767Dfca731BdDf9C9a06272294A8986 ExampleContract --rpc-url $ETH_SEPOLIA_RPC_URL --json ```
You should be able to specify the contract and function name as command-line parameters
At present the deployments JSON contains redundant facet information if the facet has been removed from the diamond.
$ node -v v20.6.1 ``` $ gemforge scaffold --folder ./demo error: unknown command 'D:\solft\nodejs\node.exe'
Multisig upgrade support should be added to enable protected upgrades. A possible proposal: * Built-in n-of-m multisig system in the Diamond (replaces the `Ownership` facet). * Initially it's a 1-of-1,...
Detecting changes to the AppStorage structure would be great as a way of guarding against diamond corruption. See https://eip2535diamonds.substack.com/p/example-of-a-diamond-upgrade for more info. Specifically: * All new storage members must be...