Skip to content

feat: add page about evm gateway#163

Merged
bangjelkoski merged 1 commit into
mainfrom
docs/evm-gateway
Jun 9, 2026
Merged

feat: add page about evm gateway#163
bangjelkoski merged 1 commit into
mainfrom
docs/evm-gateway

Conversation

@maxim-inj

@maxim-inj maxim-inj commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

ported from Notion + virtualized cosmos bank transfers manual

Summary by CodeRabbit

Documentation

  • Added comprehensive guide for the EVM Gateway, covering configuration, operational setup, JSON-RPC method support, and Ethereum-compatible queries on Injective.
  • Documented optional Cosmos bank transfer virtualization layer with transaction querying capabilities and metadata representation.
  • Updated documentation navigation to include the new EVM Gateway guide.

@maxim-inj maxim-inj requested a review from Copilot June 9, 2026 20:18
ported from Notion + virtualized cosmos bank transfers manual
@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 5808fa51-299f-4686-ace9-fa528eba2e70

📥 Commits

Reviewing files that changed from the base of the PR and between facc28d and 8b03dd5.

📒 Files selected for processing (2)
  • .gitbook/developers-evm/evm-gateway.mdx
  • .gitbook/docs.json

📝 Walkthrough

Walkthrough

This PR adds comprehensive documentation for the evm-gateway standalone Ethereum-compatible JSON-RPC server for Injective. The new .gitbook/developers-evm/evm-gateway.mdx page describes the gateway's architecture, configuration options via environment variables, optional Cosmos bank event virtualization, operational quick checks, and supported JSON-RPC methods. The documentation is registered in the navigation configuration.

Changes

EVM Gateway Documentation and Navigation

Layer / File(s) Summary
EVM Gateway documentation and navigation registration
.gitbook/developers-evm/evm-gateway.mdx, .gitbook/docs.json
Complete evm-gateway documentation covering server purpose, architecture (CometBFT RPC, gRPC indexing, local KV store), WEB3INJ_* environment variable configuration, optional "Virtualized Cosmos Bank Transfers" feature with pseudo-contract address and event ABI semantics, curl-based quick checks for version/chain/block/sync status, state persistence via WEB3INJ_DATA_DIR and WEB3INJ_DB_BACKEND, and JSON-RPC method namespace support (implemented: eth, net, web3, optional debug/inj; not-implemented: personal, txpool, miner). Page registered in EVM Developers navigation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Suggested reviewers

  • ChuhanJin

Poem

🐰 A gateway for EVM chains, now documented with care,
Configuration secrets and JSON-RPC pairs,
Cosmos transfers virtualized with grace,
Quick curl checks to find your place,
Injective's Ethereum face!

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/evm-gateway

Comment @coderabbitai help to get the list of available commands and usage tips.

@bangjelkoski bangjelkoski merged commit ed22efd into main Jun 9, 2026
3 of 4 checks passed
@bangjelkoski bangjelkoski deleted the docs/evm-gateway branch June 9, 2026 20:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds new documentation for running Injective’s standalone evm-gateway JSON-RPC service and includes it in the GitBook navigation, including guidance for optional virtualization of Cosmos x/bank events into Ethereum-style transactions/logs.

Changes:

  • Added a new “EVM Gateway” page covering installation, configuration, and supported RPC namespaces/methods.
  • Documented optional “Virtualized Cosmos Bank Transfers” behavior and how to query virtualized logs.
  • Registered the new page in the EVM developers docs navigation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.gitbook/docs.json Adds the new EVM Gateway page to the EVM docs navigation list.
.gitbook/developers-evm/evm-gateway.mdx New documentation page describing evm-gateway, configuration, virtualization, and RPC method coverage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

### Pre-built Docker image

```bash
docker run -it --rm injectivelabs/evm-gateway:latest --help

Runtime and profiling:

`debug_blockProfile`, `debug_cPUProfile`, `debug_gcStats`, `debug_goTrace`, `debug_memStats`, `debug_setBlockProfileRate`, `debug_stacks`, `debug_startCPUProfile`, `debug_stopCPUProfile`, `debug_writeBlockProfile`, `debug_writeMemProfile`, `debug_mutexProfile`, `debug_setMutexProfileFraction`, `debug_writeMutexProfile`, `debug_freeOSMemory`, `debug_setGCPercent`, `debug_startGoTrace`, `debug_stopGoTrace`
For a complete indexed history, enable `WEB3INJ_VIRTUALIZE_COSMOS_EVENTS=true` before the initial sync. If you already synced an existing data directory with virtualization disabled, rebuild or reindex the data directory before relying on historical virtualized bank logs.
</Info>

## Quick checking functionality with curl
@mintlify

mintlify Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
injective_docs 🔴 Failed Jun 9, 2026, 8:33 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants