Tangle Client Context
SDK source (GitHub): https://github.com/tangle-network/blueprint/tree/v2/crates/contexts
The TangleEvmClientContext trait provides a standardized interface for interacting with the Tangle EVM protocol from a Blueprint. It exposes a typed TangleEvmClient configured from the blueprint environment.
Context Summary
The TangleEvmClientContext trait provides access to an EVM client that enables:
- Transaction submission to core protocol contracts
- Service and operator state queries
- Job submission and result reporting
- Access to operator identity and keystore-backed signing
Using the Context
1. Define Your Context
First, define your context struct that implements the TangleEvmClientContext trait:
2. Access Tangle EVM Client Functionality
You can then use this context to access the client and interact with the Tangle EVM protocol: