├── README.md
├── src
├── App.js
└── action
│ ├── ipc-mobile.js
│ ├── keychain-mobile.js
│ ├── ipc.js
│ ├── app-storage.js
│ ├── setting.js
│ ├── log.js
│ ├── notification.js
│ ├── file-mobile.js
│ ├── info.js
│ ├── nav.js
│ ├── autopilot.js
│ ├── invoice.js
│ ├── index.js
│ ├── backup-mobile.js
│ ├── nav-mobile.js
│ ├── grpc.js
│ ├── index-mobile.js
│ ├── transaction.js
│ ├── grpc-mobile.js
│ ├── auth-mobile.js
│ ├── payment.js
│ ├── channel.js
│ └── wallet.js
└── package.json
/README.md:
--------------------------------------------------------------------------------
1 | # lightning-dapp-web3
--------------------------------------------------------------------------------
/src/App.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @fileOverview main module that renders the app.
3 | */
4 |
5 | import React, { Component } from 'react';
6 | import Main from './view/main';
7 |
8 | class App extends Component {
9 | render() {
10 | return ;
11 | }
12 | }
13 |
14 | export default App;
15 |
--------------------------------------------------------------------------------
/src/action/ipc-mobile.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @fileOverview a low level action to wrap communication to the lnd react native
3 | * module on mobile in order to provide a platform independant IPC api.
4 | */
5 |
6 | class IpcAction {
7 | constructor(grpc) {
8 | this._grpc = grpc;
9 | }
10 |
11 | /**
12 | * A wrapper around electron's ipcRenderer send api that can be
13 | * reused wherever IPC to the main process is necessary.
14 | * @param {string} event The event name the main process listens to
15 | * @param {string} listen (optional) The response event name this process listens to
16 | * @param {*} payload The data sent over IPC
17 | * @return {Promise