explorer-api

module
v0.0.0-...-e5308b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2024 License: MIT

README

explorer-api

Build With Source

git clone git@github.com:inscription-c/explorer-api.git
cd explorer-api
go build

Run

./explorer-api -c <path_to_config>/config.yaml

config example

server:
  name: "explorer"
  testnet: true
  rpc_listen: ":8336"
  pprof: false
  prometheus: false
chain:
  url: "http://127.0.0.1:18334"
  username: "root"
  password: "root"
  start_height: 0
db:
  mysql:
    addr: "127.0.0.1:3306"
    user: "root"
    password: "root"
    db: "explorer"
  indexer:
    addr: "127.0.0.1:3306"
    user: "root"
    password: "root"
    db: "cins"
sentry:
  dsn: ""
  traces_sample_rate: 1.0
origins:
  - ".*"

Directories

Path Synopsis
cmd
dao

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL