• R/O
  • HTTP
  • SSH
  • HTTPS

bytom-dashboard: Zusammenfassung des Repository

dashboard of Bytom


Neueste Commits RSS

Rev. Zeit Autor Nachricht
211ccdf 2019-10-12 14:55:38 Zhiting Lin vapor update the estimate gas logic
28caa61 2019-10-11 16:02:12 Zhiting Lin update the balances include vote
223fb3f 2019-10-11 14:39:13 Zhiting Lin update list utxo pagination.
8525ab4 2019-10-10 15:53:24 Zhiting Lin update the send transactions to send chain transactions
b00c24c 2019-07-19 15:07:51 Zhiting Lin update the bytom address hint.
98a32e3 2019-07-18 20:41:07 Zhiting Lin update the federation address.
c8d58a3 2019-07-18 19:43:39 Zhiting Lin removed the set mining address
7a8394b 2019-07-18 17:03:17 Zhiting Lin update the copy address.
07714b9 2019-07-18 16:27:45 Zhiting Lin update the error message on file selection
6a665f1 2019-07-18 16:27:22 Zhiting Lin update the nodexpub coreIndex.

Kürzlich bearbeitete Tags

Name Rev. Zeit Autor
v1.0.0 5d94fd8 2018-04-21 13:48:15 Yongfeng LI

Zweige

Name Rev. Zeit Autor Nachricht
vapor 211ccdf 2019-10-12 14:55:38 Zhiting Lin update the estimate gas logic
master f2694c3 2019-07-17 15:13:53 Zhiting Lin add upgrade the redux
politic eb01857 2019-04-19 11:11:27 Zhiting Lin politic dashboard
dev 45a4992 2018-07-30 20:47:18 Zhiting Lin Modified the password locke...
pagination d6d8e88 2018-05-24 10:43:19 Yongfeng LI remove detail param
refactor 623949c 2018-04-23 15:52:30 Yongfeng LI refactor Restore component

README.md

Bytom Dashboard

Development

Setup

Install Node.js:

brew install node

Install dependencies:

npm install

Start the development server with

npm start

By default, the development server uses the following environment variables with default values to connect to a local Bytom Core instance:

API_URL=http://localhost:3000/api
PROXY_API_HOST=http://localhost:9888

Style Guide

We use eslint to maintain a consistent code style. To check the source directory with eslint, run:

npm run lint src

React + Redux

ES6

Babel is used to transpile the latest ES6 syntax into a format understood by both Node.js and browsers. To get an ES6-compatible REPL (or run a one-off script) you can use the babel-node command:

$(npm bin)/babel-node

Redux Actions

To inspect and debug Redux actions, we recommend the "Redux DevTools" Chrome extension:

https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd

Creating new components

To generate a new component with a connected stylesheet, use the following command:

npm run generate-component Common/MyComponent

The above command will create two new files in the src/components directory:

src/components/Common/MyComponent/MyComponent.jsx
src/components/Common/MyComponent/MyComponent.scss

with MyComponent.scss imported as a stylesheet into MyComponent.jsx.

Additionally, if there is an index.js file in src/components/Common, it will appropriately add the newly created component to the index exports.

Show on old repository browser