Skip to content

Block Explorer RPC for Cosmos chains, designed for internet of RollApps

License

Notifications You must be signed in to change notification settings

bcdevtools/block-explorer-rpc-cosmos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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