Skip to content

Emit JSON ABI files for contracts#475

Open
mbenke wants to merge 1 commit into
mainfrom
emit-abi
Open

Emit JSON ABI files for contracts#475
mbenke wants to merge 1 commit into
mainfrom
emit-abi

Conversation

@mbenke

@mbenke mbenke commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Add ABI generation to contract dispatch: contractAbiJson renders a contract's public functions, constructor and fallback as a JSON array in the layout used by solc, and writeContractAbis writes one .abi per contract.

Gate emission behind a new --abi flag, and add -o/--output-dir to control where generated files (.abi and .hull) are written, creating the directory if needed.

Update runsol.sh to pass -o instead of moving output*.hull into build/.

Assisted-By: Claude Opus 4.8 noreply@anthropic.com

Add ABI generation to contract dispatch: contractAbiJson renders a
contract's public functions, constructor and fallback as a JSON array
in the layout used by solc, and writeContractAbis writes one
<ContractName>.abi per contract.

Gate emission behind a new --abi flag, and add -o/--output-dir to
control where generated files (.abi and .hull) are written, creating
the directory if needed.

Update runsol.sh to pass -o instead of moving output*.hull into build/.

Assisted-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant