openethereum/js/src/DappRequests/README.md
Amaury Martiny 570fc56af7 Optimize & group dapp requests (#7083)
* Group similar methods in same grouping

* Add a shell_getMethodGroups API

* Small code clean changes

* Fix bug dapp.name not showing

* Additional error handling

* Store sources in own map

* Remove observable variables where not needed

* Refactor code and fix bug dapp not showing on approve
2017-11-21 15:50:38 +01:00

10 lines
459 B
Markdown

# Terminology used
To be clear with the terminology used in the code here:
- a *method* is an allowed JSON-RPC api method or a shell method
- a *methodGroup* is the grouping of similar methods (see `methodGroups.js`)
- a *permission* is a boolean which tells if an app is allowed to call a method or not
- a *request* is when an app prompts the shell to call a method
- a *requestGroup* is an array of *requests* whose methods are in the same *methodGroup*