21 | Powered by Decentrapay 22 |
23 |├── src ├── web │ ├── home.js │ ├── helpers.js │ ├── main.scss │ ├── routes.js │ ├── index.js │ ├── main.js │ └── invoice.js ├── common │ ├── utils.js │ └── validators.js ├── contracts │ ├── index.js │ ├── eth_provider.js │ └── abi │ │ └── ERC20.json ├── server │ ├── index.js │ ├── jobs │ │ ├── callbacks.js │ │ └── invoices.js │ ├── api_v1.js │ ├── server.js │ └── invoice │ │ └── manager.js └── scripts │ └── wallets.js ├── .gitignore ├── CHANGELOG.md ├── .babelrc ├── tools ├── scripts.webpack.config.js └── app.webpack.config.js ├── config └── default.cson ├── LICENSE ├── test ├── ERC20_ABI.json ├── test.js └── ERC20.bin ├── package.json └── README.md /src/web/home.js: -------------------------------------------------------------------------------- 1 | import { h } from 'hyperapp' 2 | 3 | export default { 4 | Init: state => state, 5 | View: _ => ( 6 |
21 | Powered by Decentrapay 22 |
23 || { i.description } | { displayCurrency(i.amount, currency) } |
| Total: | { displayCurrency(invoice.totalAmount, currency) } |
| Paid: | { displayCurrency(invoice.paidAmount, currency) } |