You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**This PR adds support for the Tron blockchain to the Chainlink
Deployments Framework.**
## Key changes:
- Introduces a new `chain/tron` module with implementation and
integration for Tron chains.
- Adds Tron-specific keystore logic (`chain/tron/keystore`) for account
management and signing.
- Provides utilities for Tron account generation
(`chain/tron/provider/account_generator.go`) supporting default
generator for CTF, random and private-key-based creation.
- Implements a Tron RPC provider (`chain/tron/provider/rpc_provider.go`)
to interact with Tron nodes, including support for deploying and
triggering smart contracts.
- Implements a Tron CTF provider (`chain/tron/provider/ctf_provider.go`)
to interact with Tron nodes in testing environment, including support
for deploying and triggering smart contracts.
- Adds a Tron RPC client wrapper
(`chain/tron/provider/rpcclient/client.go`) with transaction signing,
broadcasting, and confirmation logic.
- Updates core chain management (`chain/blockchain.go`) and tests to
include Tron chains, selectors, and filtering.
- Adds comprehensive unit and integration tests for all new Tron-related
modules.
- Updates dependencies and adds `go.mod`/`go.sum` entries for Tron SDKs
and required packages.
- Use CTF to support running local Tron test nodes for integration
testing.
## Purpose:
This enables CLD to deploy, manage, and interact with smart contracts on
the Tron blockchain in the same unified way as other supported chains
(EVM, Solana, Aptos, Sui, TON).
---------
Co-authored-by: Graham Goh <graham.goh@smartcontract.com>
0 commit comments