You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use human-readable ABI format in smart contract client
Description
Following the implementation of smart-contract-based mapping of MinerID to IndexProviderPeerID in #117 , we should improve the developer experience by switching to a human-readable ABI format in the smart contract client.
The current implementation uses a standard JSON ABI format which lacks type inference
This results in no autocomplete or type checking when working with the contract
Ethers.js supports a human-readable ABI format that would improve developer experience
While we decided to stick with ethers.js for now instead of switching to viem (to minimize changes in the time-pressing initial implementation), updating to a human-readable ABI format would be a good improvement for maintainability.
Use human-readable ABI format in smart contract client
Description
Following the implementation of smart-contract-based mapping of MinerID to IndexProviderPeerID in #117 , we should improve the developer experience by switching to a human-readable ABI format in the smart contract client.
This issue originated from the discussion in CheckerNetwork/roadmap#250 (comment), where it was noted that:
While we decided to stick with ethers.js for now instead of switching to viem (to minimize changes in the time-pressing initial implementation), updating to a human-readable ABI format would be a good improvement for maintainability.
Current ABI format
Proposed human-readable ABI format
Related issues/PRs
The text was updated successfully, but these errors were encountered: