Blockchain ABI Verification for Data Traceability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Users face difficulties in directly reading and decoding smart contract bytecode on a blockchain due to the need for additional Application Binary Interface (ABI) information, which can be falsified by malicious creators, compromising data traceability.
Innovation Solution
A blockchain system with a registration terminal that extracts ABI information from smart contracts and issues transactions including bytecode, and an approval terminal that verifies the accessibility of bytecode using the provided ABI information, generating blocks that reflect this information on a distributed ledger.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If users directly read bytecode on blockchain, then data accessibility is improved, but data readability and interpretability deteriorate due to encoding complexity
Solution Approach 1:
The patent introduces ABI information as an intermediary between bytecode and users. The ABI information contains decoding rules and data structure definitions that enable users to interpret bytecode without directly understanding the complex encoding. This mediator layer resolves the contradiction by making bytecode accessible while maintaining readability through structured interface definitions.
Solution Approach 2:
The patent segments the data access process into two distinct components: bytecode storage on the blockchain and ABI information provision through dedicated applications. This segmentation allows bytecode to be stored in its compact encoded form while separating the interpretation layer, enabling users to access data without needing to understand the encoding complexity directly.
2Difficulty of detecting and measuring
If dedicated applications provide ABI information, then data interpretability is improved, but data reliability deteriorates due to potential falsification by malicious creators
Solution Approach 1:
The patent applies preliminary action by having creators register ABI information with the blockchain system in advance, before users need to access the data. This pre-registration allows the system to verify and store the relationship between bytecode and ABI information, creating a trusted baseline that prevents later falsification. The ABI information is bound to the bytecode through cryptographic verification performed prior to user access.
3Loss of information
If ABI information is stored on blockchain, then data traceability is improved, but system complexity increases due to additional storage and verification requirements
Solution Approach 1:
The patent extracts only the essential verification data (hash values and registration information) and stores it on the blockchain, while keeping the full ABI information in the dedicated application. This extraction approach maintains data traceability on the immutable blockchain ledger while avoiding the complexity of storing and managing large amounts of ABI data distributed across the network.
Data Source
AI summary
The present invention prevents falsification of ABI information and makes it possible for the users to safely read data on a blockchain. A registration terminal 1 includes an extraction unit 142 that extracts from a smart contract, ABI information used to access the smart contract and a transaction issuing unit 13 that issues a transaction including bytecode generated by compiling the smart contract and the ABI information, and an approval terminal 2 includes a verification unit 152 that verifies whether it is possible to access the bytecode included in the transaction by using the ABI information included in the transaction and a block generation unit 154 that, if it is possible to access the bytecode, generates a block including the transaction and makes the block and the ABI information reflected on a distributed ledger 11 of each terminal in the blockchain system.


