Support Ethereum-style JSON-RPC interface #422
ychiaoli18
started this conversation in
Enhancements - Technical
Replies: 2 comments
-
Events are still in spec land: https://github.com/filecoin-project/fvm-specs/issues/98 |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has High complexity as we'll need to re-wrap the transaction as a Filecoin message (for vaildiation via an abstract ETH account: #388). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Motivations
FVM’s M2.1 aims to support the EVM and the existing EVM ecosystem out of the box. Currently, the EVM’s existing developer tools and decentralized apps utilize Ethereum-style JSON-RPC APIs to interact with blockchains. Filecoin’s implementations, such as Lotus or Forest, do not speak those APIs now. For the existing EVM-based tools to support Filecoin with minimal change, Filecoin’s implementations have to implement the Ethereum-style JSON-RPC APIs.
This discussion aims to provide a prioritized list of the JSON-RPC methods that Filecoin should implement. We researched how Hardhat, Remix, and Alchemy use each method to understand their importance. The methods are ranked based on the following criteria:
Specification
Included Methods
The methods are sorted according to the order of implementation priority.
Note: description field is adapted from Ethereum's API Spec and Alchemy's API Doc
Excluded Methods
Beta Was this translation helpful? Give feedback.
All reactions