ecency / rpc-proxy

json-rpc proxy and caching
https://ecency.com
MIT License
12 stars 3 forks source link

Generate REST API #3

Open feruzm opened 3 years ago

feruzm commented 3 years ago

This is sort of research enhancement idea, would be great to have any RPC-proxy to enable REST API automatically so that standard web2.0 developers can easily understand and integrate websites with blockchain.

e.g. https://rpc.ecency.com/get_accounts?names[]=demo giving result in browser, there are few good use cases also many developers understand REST better than JSON-RPC.

Rest APIs are easily cachable as well because they are GET requests as oppose to POST requests.

We already run similar service, would be great to combine them.

https://xapi.esteem.app/getAccounts?names[]=demo