diff --git a/explorer/.babelrc b/explorer/.babelrc deleted file mode 100644 index 9897749da4..0000000000 --- a/explorer/.babelrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "presets": [ - ["es2015", { "modules": false }] - ] -} diff --git a/explorer/.gitignore b/explorer/.gitignore deleted file mode 100644 index 060b35bff0..0000000000 --- a/explorer/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.DS_Store -node_modules/ -dist/ -npm-debug.log diff --git a/explorer/README.md b/explorer/README.md deleted file mode 100644 index 36b906bd7b..0000000000 --- a/explorer/README.md +++ /dev/null @@ -1,32 +0,0 @@ -# nervos_explorer - -> nervos block explorer - -## Build Setup - -``` bash -# install dependencies -npm install - -# serve with hot reload at localhost:8080 -npm run dev - -# build for production with minification -npm run build -``` - -## How to send transaction - -start node with development config file: -``` -cp src/config/default.json /tmp/node1/config.json - -cargo run -- run --data-dir=/tmp/node1 -``` - -visit http://localhost:8080/ , click `SEND TRANSACTION` tab, edit previous_output hash and outputs lock, click `SEND` - -or running cli rpc command: -``` -cargo run -- cli rpc -m=send_transaction -p='[{"version": 1, "deps": [], "inputs": [], "outputs": []}]' -``` diff --git a/explorer/index.html b/explorer/index.html deleted file mode 100644 index 14265a0408..0000000000 --- a/explorer/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - -
- -Hash | -#{{ block.hash }} | -
Pre Hash | -|
Timestamp | -{{ new Date(block.header.raw.timestamp) | moment("YYYY-MM-DD HH:mm:ss") }} | -
Height | -{{ block.header.raw.number }} | -
Transactions Commit | -{{ block.header.raw.txs_commit }} | -
Difficulty | -{{ block.header.raw.difficulty }} | -
Challenge | -{{ block.header.raw.challenge }} | -
- | - |