Skip to content

Conversation

@riveign
Copy link

@riveign riveign commented Jan 27, 2026

Summary

This PR adds the Tron namespace to the Chain Agnostic Namespaces repository, implementing CAIP-2 (Blockchain ID) and CAIP-10 (Account ID) specifications.

Networks Supported

  • Tron Mainnet (tron:0x2b6653dc)
  • Tron Shasta Testnet (tron:0xcd8690dc)
  • Tron Nile Testnet (tron:0x94a9059e)

Files Added

  • tron/README.md - Namespace overview and introduction
  • tron/caip2.md - CAIP-2 blockchain ID specification
  • tron/caip10.md - CAIP-10 account ID specification

Key Features

  • Hexadecimal chain ID format aligned with TIP-474
  • Resolution methods via eth_chainId JSON-RPC
  • Comprehensive test cases for all networks
  • Base58Check address validation
  • Support for TRC-20, TRC-10, and TRC-721 token standards

References

Testing

All test cases have been included in the specification documents with valid and invalid examples.

@riveign riveign marked this pull request as draft January 27, 2026 10:43
- Add tron/ namespace directory with comprehensive documentation
- Implement CAIP-2 blockchain ID specification using hexadecimal chain IDs
- Implement CAIP-10 account ID specification for Base58Check addresses
- Include test cases for Mainnet (0x2b6653dc), Shasta (0xcd8690dc), and Nile (0x94a9059e)
- Document resolution methods using eth_chainId JSON-RPC
- Follow TIP-474 standard for chain ID derivation from genesis block

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@riveign riveign force-pushed the add-tron-namespace branch from 85d5f7a to a058588 Compare January 27, 2026 10:49
@riveign riveign marked this pull request as ready for review January 27, 2026 10:53
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.

1 participant