• R/O
  • HTTP
  • SSH
  • HTTPS

bytom-dashboard: レポジトリ概要

dashboard of Bytom


最近のコミット RSS

Rev. 日時 作者 メッセージ
37ecd8b 2019-10-23 15:18:34 Zhiting Lin master add the chain transactions switch.
4679b53 2019-10-21 17:45:54 Zhiting Lin shown the correct chain gas amount for chain tranctions.
3c59c51 2019-10-16 15:13:05 Zhiting Lin fixed the value error
b071eab 2019-10-14 16:35:50 Zhiting Lin update the build-chain-transactions function.
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.

最近変更されたタグ

名前 Rev. 日時 作者
v1.0.0 5d94fd8 2018-04-21 13:48:15 Yongfeng LI

ブランチ

名前 Rev. 日時 作者 メッセージ
master 37ecd8b 2019-10-23 15:18:34 Zhiting Lin add the chain transactions ...
vapor 211ccdf 2019-10-12 14:55:38 Zhiting Lin update the estimate gas logic
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.

旧リポジトリブラウザで表示