-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
794f200
commit cd0a123
Showing
1 changed file
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,51 @@ | ||
# my-vue-template | ||
# XuperScan 区块链浏览器 | ||
|
||
## 下载依赖 | ||
XuperScan 是 XuperChain 的区块链浏览器,支持通过浏览器以可视化的方式查看区块,交易,合约等链上信息。 | ||
|
||
## 本地构建 | ||
|
||
### 环境准备 | ||
1. [本地部署XuperChain 节点](https://github.com/xuperchain/xuperchain/blob/master/README.md) | ||
2. 安装 [node](https://nodejs.org/en/)和 [npm](https://www.npmjs.com/),推荐使用的 nodejs 版本为 v11.15.0 | ||
|
||
### 启动浏览器后端服务 | ||
|
||
1. 在 [Release 页面](https://github.com/xuperchain/xuperscan/releases) 下载后端服务 | ||
2. 解压缩并启动浏览器后端服务 | ||
|
||
- MacOS | ||
|
||
``` bash | ||
unzip xuperindexer-darwin-amd64.zip -d xuperindexer | ||
cd xuperindexer | ||
bin/xindexer | ||
``` | ||
npm install | ||
|
||
- Linux: | ||
``` | ||
unzip xuperindexer-linux-amd64.zip -d xuperindexer | ||
cd xuperindexer | ||
bin/xindexer | ||
``` | ||
<!-- - Windows: third_party/xuperindexer/bin/xindexer-win-amd64 --> | ||
|
||
> 当前 浏览器后端服务只提供了 x86_64 的处理器支持,如果你使用其他处理器,请联系 XuperChain 官方适配 | ||
### 启动项目 | ||
### 安装项目依赖 | ||
``` | ||
npm run serve | ||
npm install | ||
``` | ||
|
||
### 打包项目 | ||
### 启动区块浏览器 | ||
``` | ||
npm run bulid | ||
npm run serve | ||
``` | ||
浏览器打开 http://127.0.0.1:3000 | ||
|
||
|
||
## 联系我们 | ||
商务合作,请Email:[email protected], 来源请注明Github。 | ||
如果你对XuperChain开源技术及应用感兴趣,欢迎添加“百度超级链·小助手“微信,回复“技术论坛进群”,加入“百度超级链开发者社区”,与百度资深工程师深度交流!微信二维码如下: | ||
|
||
### 项目所需安装包以及版本 | ||
"ant-design-vue": "^1.7.5", | ||
"antd": "^4.16.1", | ||
"axios": "^0.21.1", | ||
"clipboard": "^2.0.8", | ||
"core-js": "^3.6.5", | ||
"echarts": "^5.1.2", | ||
"install": "^0.13.0", | ||
"lib-flexible": "^0.3.2", | ||
"lodash": "^4.17.21", | ||
"moment": "^2.29.1", | ||
"npm": "^7.15.1", | ||
"postcss": "^8.3.0", | ||
"vue": "^2.6.11", | ||
"vue-json-viewer": "^2.2.19", | ||
"vue-json-views": "^1.3.0", | ||
"vue-router": "^3.2.0", | ||
"vuex": "^3.4.0" | ||
![微信二维码](https://github.com/ToWorld/xuperchain-image/blob/master/baidu-image-xuperchain.png) |