Skip to content

[Parser] Implement Ethereum ABI to JSON Translator #2

Description

@mijinummi

Title: [Parser] Implement Ethereum ABI to JSON Translator in libs/parsers

📝 Description

The core of SpecDoc is its ability to "read" contracts. We need a utility that takes a standard Ethereum JSON ABI and converts it into our internal SpecDocSchema format.

🎯 Goal

Develop a parser that extracts function names, input types, and output types from a standard ABI.

✅ Requirements

  • Create a solidity.parser.ts file.
  • Correctly identify read vs. write functions.
  • Map standard Solidity types (uint256, address) to human-readable labels.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions