-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
2 changed files
with
60 additions
and
0 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 |
---|---|---|
|
@@ -7,5 +7,65 @@ sidebar_position: 4 | |
import useBaseUrl from "@docusaurus/useBaseUrl"; | ||
|
||
# Explorer | ||
BlockScan is a explorer for ETH compatible chain like [Axon](https://github.com/nervosnetwork/axon) Side Chain which is a layer2 network build on [Nervos Network](https://www.nervos.org/) [CKB](https://github.com/nervosnetwork/ckb) | ||
|
||
You can deploy explorer to query information on the axon chain and observe the status of the axon chain | ||
|
||
|
||
|
||
### Deployment | ||
|
||
#### More diverse deployment methods, gradually developed | ||
|
||
#### Docker-compose | ||
|
||
##### 1. Clone blockscan to target machine | ||
|
||
``` shell | ||
git clone https://github.com/Magickbase/blockscan.git | ||
cd blockscan | ||
``` | ||
|
||
|
||
|
||
##### 2. Edit the config config | ||
|
||
- blockscan/dev.env | ||
|
||
```shell | ||
ETHEREUM_JSONRPC_VARIANT=geth | ||
|
||
|
||
ETHEREUM_JSONRPC_HTTP_URL=https://axon1.layerview.io/ | ||
# Http address of axon rpc | ||
ETHEREUM_JSONRPC_TRACE_URL=https://axon1.layerview.io/ | ||
# Http address of axon rpc | ||
DATABASE_URL=postgresql://postgres:postgres123@db:5432/blockscan?ssl=false | ||
# DATABASE_URL=postgresql://postgres:[email protected]:5432/blockscan?ssl=false | ||
|
||
``` | ||
|
||
|
||
|
||
##### 3. Execute one-click deployment | ||
|
||
```shell | ||
cd ./bolockscan | ||
sudo docekr-compose up -d | ||
``` | ||
|
||
|
||
|
||
##### 4. Access explorer | ||
|
||
```shell | ||
http://xxxx:4020 | ||
``` | ||
|
||
<img alt="Untitled" src={useBaseUrl("Axon Faucet interface.png")} width="80%"/> | ||
|
||
|
||
|
||
|
||
|
||
🛠 This page is a work in progress. 🚧 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.