block-explorer-rpc-cosmos

module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0

README

Block Explorer RPC for Cosmos chains, as a module.

Extensions:

Setup

The following methods must be called:

config.EnsureRoot(home, config.DefaultBeJsonRpcConfig())
// in root.go
config.AddBeJsonRpcFlags(rootCmd)
// in start.go
server.StartBeJsonRPC(...)
// in start.go

Start

simd start --be.enable true
# Port will be opened at 11100
Optional configurations

(the following values are default values)

simd start \
    --be.enable false \
    --be.address 0.0.0.0:11100 \
    --be.http-timeout 30s \
    --be.http-idle-timeout 120s \
    --be.max-open-connections 0 \
    --be.allow-cors true
# Configuration file is located at ~/$NODE_HOME/config/be-json-rpc.toml

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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