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
- Host: GitHub
- URL: https://github.com/bcdevtools/block-explorer-rpc-cosmos
- Owner: bcdevtools
- License: apache-2.0
- Created: 2024-03-24T05:42:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-03T14:25:15.000Z (about 2 years ago)
- Last Synced: 2024-07-29T09:08:02.408Z (almost 2 years ago)
- Topics: cosmos-sdk, dymension, rollapps
- Language: Go
- Homepage:
- Size: 232 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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
```