GithubHelp home page GithubHelp logo

littlemo / royalbitcoin-explorer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neweconomicteam/royalbitcoin-explorer

0.0 2.0 0.0 46 KB

纯真比特币的区块链浏览器

License: MIT License

Shell 0.31% JavaScript 85.04% HTML 14.65%

royalbitcoin-explorer's Introduction

RoyalBitcoin-Explorer

纯真比特币的区块链浏览器,基于 bitcore-node 进行定制构建。

Badges

GitHub

GitHub followers GitHub stars GitHub watchers GitHub repo size in bytes

Docker

Docker Build Status Docker Stars Docker Pulls Docker Automated build

其他

license

镜像标签(tags)

  • littlemo/rbtc-explorer:latest

使用说明

在使用时应按需为Web服务器进行端口映射,并挂载 bitcore-node.json 配置文件到路径 /app/bitcore/rbtc_node/bitcore-node.json 下(建议进行只读挂载)

bitcore-node.json 用例

{
  "network": "livenet",
  "port": 80,
  "services": [
    "bitcoind",
    "insight-api",
    "insight-ui",
    "web"
  ],
  "servicesConfig": {
    "insight-ui": {
      "routePrefix": "",
      "apiPrefix": "api"
    },
    "insight-api": {
      "routePrefix": "api",
      "disableRateLimiter": true,
      "enableCache": true
    },
    "bitcoind": {
      "connect": [
        {
          "rpchost": "127.0.0.1",                   // 替换为相应节点主机的IP地址
          "rpcport": 8332,                          // 替换为相应节点主机的RPC服务端口
          "rpcuser": "username",                    // 替换为相应节点主机的RPC用户名
          "rpcpassword": "password",                // 替换为相应节点主机的RPC密码
          "zmqpubrawtx": "tcp://10.0.0.3:28332",    // 替换为相应节点主机的ZMQ服务IP&端口,下同
          "zmqpubhashtx": "tcp://10.0.0.3:28332",
          "zmqpubrawblock": "tcp://10.0.0.3:28332",
          "zmqpubhashblock": "tcp://10.0.0.3:28332"
        }
      ]
    }
  }
}

启动容器

docker-cli

$ docker run -d -p 80:80 -v /paht/to/bitcore-node.json:/app/bitcore/rbtc_node/bitcore-node.json --name rbtc-explorer littlemo/rbtc-explorer:latest

docker-compose

version: '2'
services:
  explorer:
    image: littlemo/rbtc-explorer
    container_name: rbtc-explorer
    restart: unless-stopped
    ports:
      - "80:80"
    volumes:
      # 挂载配置文件
      - /paht/to/bitcore-node.json:/app/bitcore/rbtc_node/bitcore-node.json:ro

问题

如果您在使用该镜像时遇到任何问题,请查看镜像源码的 NewEconomicTeam/RoyalBitcoin-Explorer Repo,并在其中提交 Issues 给我们,多谢您的帮助~~

royalbitcoin-explorer's People

Contributors

littlemo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.