
ClearSigningSlashCmd
Draft an ERC-7730 metadata JSON by simply pasting any contract address
Demo
About
We define a custom Claude slash command, which enables the user to speedrun the creation of an ERC-7730 metadata JSON by simply pasting any contract address. The artefact created in Ledger's ERC-7730 clear signing registry only requires a final review from the user; at least 80% of the work is done already.
How it's made
Calling the custom /draft command, Claude autonomously walks through the following steps for the user: - Python environment setup - Retrieve the contract's ABI and source code via Etherscan - Bootstrap a barebones metadata JSON file using the ` erc7730` PyPI package - Supplement the metadata JSON file with human readable labels and descriptions - Verify the JSON's correctness both by linting and formatting it with the ` erc7730` package