substrate-docs icon indicating copy to clipboard operation
substrate-docs copied to clipboard

How to define and implement a custom runtime API

Open sacha-l opened this issue 4 years ago • 2 comments

Port over Recipe about Runtime APIs.

sacha-l avatar Aug 10 '21 08:08 sacha-l

Please also update devhub references when this is available: https://github.com/substrate-developer-hub/substrate-developer-hub.github.io/blob/source/docs/tutorials/frontier/frontier-architecture.md#ethereum-specific-runtime-apis--rpcs

nuke-web3 avatar Aug 10 '21 21:08 nuke-web3

@HashWarlock was just asking me the other day about a code example for this. I think a code example, or a step-by-step implementation guide would pre-empt a lot of questions. With regards to the code example itself, it might be cool if there is a reasonable way to tie in custom host functions as well, so we can show communication both ways.

justinfrevert avatar Feb 27 '22 04:02 justinfrevert