[AL7] - Near Verifiable RPC Endpoints for Viewing Access Keys 🏅

Added proof generation support to RPC read access key endpoints on the NEAR protocol to help pave the road for light client support.

Challenges

Verifiable RPC replies

Pool 16,000 ETH

This project is tackling the direct requirements specified for this challenge.

Project details

No video added

Extended JSON RPC API for view_access_key and view_access_keys endpoints to support additional include_proof query parameters. Utilized existing trie iterator construct to track state trie nodes from root to some provided key argument node and store them as raw bytes in a vector representing the trie path. The vector is returned within a proof field as a part of the RPC response object.