onflow / developer-grants

Grants for developers that contribute to the broader developer ecosystem
Apache License 2.0
50 stars 18 forks source link

Flow EVM: JSON-RPC gateway phase #1 grant proposal #237

Closed m-Peter closed 7 months ago

m-Peter commented 1 year ago

Flow EVM: JSON-RPC gateway phase 1 proposal

Grant category

Please select one:

Description

The Ethereum JSON-RPC Specification (https://ethereum.github.io/execution-apis/api-documentation/) is a specification of the standard interface for Ethereum clients.

Problem statement

For the Flow blockchain to achieve EVM compatibility, we need to implement and expose a JSON-RPC API server, which complies to the above specification.

Proposed solution

Utilize the JSON-RPC server implementation of the go-ethereum client, and setup the relevant eth namespace with the required RPC methods (github.com/ethereum/go-ethereum/rpc). A draft PoC with this can be found here: https://github.com/onflow/flow-evm-grpc/pull/10

Impact

Developers not familiar with the Flow blockchain, will be able to tap into its potential, by using their existing knowledge of the Ethereum JSON-RPC API.

Milestones and funding

Milestone Deliverables Timeline Risks USD proposal
1 - Mock Implementation Provide a mock implementation of the endpoints described in issues: https://github.com/onflow/flow-evm-grpc/issues/1 / https://github.com/onflow/flow-evm-grpc/issues/2 / https://github.com/onflow/flow-evm-grpc/issues/3 / https://github.com/onflow/flow-evm-grpc/issues/4 / https://github.com/onflow/flow-evm-grpc/issues/5 / https://github.com/onflow/flow-evm-grpc/issues/6 / https://github.com/onflow/flow-evm-grpc/issues/7 / https://github.com/onflow/flow-evm-grpc/issues/8 / https://github.com/onflow/flow-evm-grpc/issues/9 . In this context, mock means that we do not yet have the indexer & storage services to serve real data. 4 weeks - 6500 $

Total funding proposed: 6500 $

Team

Name Role Bio Contact
Ardit Marku Back-end Engineer A seasoned back-end engineer with a focus on problem solving and designing robust software systems. Over 9 years of experience building high-traffic search engines, marketplaces, exchanges and in-house analytics solutions. Led cross-functional teams to deliver both web and mobile apps, participating in all steps of the software development lifecycle. Open source lover and advocate. markoupetr@gmail.com m_peter