blockatlas

command module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2019 License: MIT Imports: 16 Imported by: 0

README

Block Atlas by Trust Wallet

Clean explorer API for crypto currencies.

Supported Coins

Setup

Quick start

Deploy it in less than 30 seconds!

From Source (Go Toolchain required)

go get -u github.com/trustwallet/blockatlas
~/go/bin/blockatlas

With Docker

docker run -it -p 8420:8420 trustwallet/blockatlas

Configuration

Block Atlas can run just fine without configuration.

If you want to use custom RPC endpoints, or enable coins without public RPC (like Nimiq), you can configure Block Atlas over config.yml or environment variables.

Config File

By default, config.yml is loaded from the working directory. Live reload is supported across the app.

Example (config.yml):

nimiq:
  api: http://localhost:8648
#...

Environment

The rest gets loaded from the environment variables. Every config option is available under the ATLAS_ prefix.

Example:

ATLAS_NIMIQ_API=http://localhost:8648 \
blockatlas
Supported platforms

Deploy

Docker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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