Skip to content

Comments

feat: add Cosmos, Maya, and Tron chain support for tx_indexer#473

Open
jpthor wants to merge 6 commits intomainfrom
other-chains
Open

feat: add Cosmos, Maya, and Tron chain support for tx_indexer#473
jpthor wants to merge 6 commits intomainfrom
other-chains

Conversation

@jpthor
Copy link
Contributor

@jpthor jpthor commented Jan 5, 2026

Adds transaction indexing and status checking for Cosmos, MayaChain, and TRON.

New chain indexers:

  • pkg/chain/cosmos.go, maya.go, tron.go

New RPC clients:

  • pkg/rpc/cosmos.go, maya.go, tron.go

Updated:

  • chains_list.go - Register new chains
  • config.go - Add RPC config entries

Part of other-chains integration. Depends on: recipes#other-chains

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 5, 2026

Warning

Rate limit exceeded

@jpthor has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 17 minutes and 44 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 12b457f and 2bc61b0.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (12)
  • .run/CHEATSHEET.md
  • deploy/01_tx_indexer.yaml
  • deploy/dev/01_rpc.yaml
  • go.mod
  • plugin/tx_indexer/chains_list.go
  • plugin/tx_indexer/pkg/chain/cosmos.go
  • plugin/tx_indexer/pkg/chain/maya.go
  • plugin/tx_indexer/pkg/chain/tron.go
  • plugin/tx_indexer/pkg/config/config.go
  • plugin/tx_indexer/pkg/rpc/cosmos.go
  • plugin/tx_indexer/pkg/rpc/maya.go
  • plugin/tx_indexer/pkg/rpc/tron.go
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch other-chains

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

rpcs[common.Zcash] = zcashRpc
}

if cfg.Cosmos.URL != "" {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please add new config values in deploy/dev/01_rpc.yaml and deploy/01_tx_indexer.yaml (Dev env). For a Prod env ask @RaghavSood to update config with new rpcs

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.

2 participants