An open API service indexing awesome lists of open source software.

https://github.com/bcdevtools/block-explorer-rpc-cosmos

Block Explorer RPC for Cosmos chains, designed for internet of RollApps
https://github.com/bcdevtools/block-explorer-rpc-cosmos

cosmos-sdk dymension rollapps

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## Block Explorer RPC for Cosmos chains, as a module.

Extensions:
- [EVM](https://github.com/bcdevtools/evm-block-explorer-rpc-cosmos)
- [Wasm](https://github.com/bcdevtools/wasm-block-explorer-rpc-cosmos)

### Setup

The following methods must be called:
```go
config.EnsureRoot(home, config.DefaultBeJsonRpcConfig())
// in root.go
```
```go
config.AddBeJsonRpcFlags(rootCmd)
// in start.go
```
```go
server.StartBeJsonRPC(...)
// in start.go
```

### Start

```bash
simd start --be.enable true
# Port will be opened at 11100
```

#### Optional configurations

_(the following values are default values)_
```bash
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
```