openethereum/js/src/DappRequests
Jaco Greeff 6587dfecc0
Wallet subscriptions & refresh (#7283)
* Update to @parity/api 2.1.7

* Update packages

* Update after signer API alias
2017-12-15 12:48:51 +01:00
..
RequestGroups Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
dappRequests.css Optimize & group dapp requests (#7083) 2017-11-21 15:50:38 +01:00
dappRequests.js Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
index.js Test-drive extensions, status first 2017-09-01 14:29:57 +02:00
methodGroups.js Expand available middleware methods (#7275) 2017-12-13 12:02:31 +01:00
README.md Fix/Update method permissions (#7233) 2017-12-07 15:10:54 +01:00
store.js Wallet subscriptions & refresh (#7283) 2017-12-15 12:48:51 +01:00

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 a map of the following form
{
  appId1: {
    methodGroup1: [request1, request2] // This is a requestGroup sub-item
  },
  appId2: {
    methodGroup1: [request1]
    methodGroup2: [request3]
  },
  // ...
}