Appendices
Glossary of Terms
Glossary of Technical Terms
- EVM: Ethereum Virtual Machine, the runtime environment for smart contracts in Ethereum and similar blockchains.
- RPC: Remote Procedure Call, a protocol for interacting with blockchain nodes.
- Indexing: The process of organizing blockchain data for fast and efficient retrieval.
- IPFS: InterPlanetary File System, a decentralized storage solution for sharing and retrieving data.
Frequently Asked Questions (FAQ)
1. What chains are supported by Khedra?
Khedra supports Ethereum mainnet and other EVM-compatible chains such as Sepolia and Gnosis. Additional chains can be added by configuring the TB_NODE_CHAINS
environment variable.
2. Do I need an RPC endpoint for every chain?
Yes, each chain you want to index or interact with requires a valid RPC endpoint specified in the .env
file.
3. Can I run Khedra without IPFS?
Yes, IPFS integration is optional and can be enabled or disabled using the --ipfs
command-line option.
References and Further Reading
Additional Technical References and Resources
- TrueBlocks GitHub Repository
- TrueBlocks Official Website
- Ethereum Developer Documentation
- IPFS Documentation
Index
-
Address Monitoring:
- Implementation:
app/action_daemon.go
(Monitor service initialization andMonitorsOptions
struct)
- Implementation:
-
API Access:
- Implementation:
app/action_daemon.go
(API service initialization)
- Implementation:
-
Blockchain Indexing:
- Implementation:
app/action_daemon.go
(Scraper service initialization)
- Implementation:
-
Chains Configuration:
- Implementation:
app/action_init_chains.go
(Chain wizard implementation)pkg/types/chain.go
(Chain struct definition and validation)
- Implementation:
-
Configuration Management:
- Implementation:
app/config.go
(Configuration loading and initialization)app/action_config_show.go
(Show config command)app/action_config_edit.go
(Edit config command)
- Implementation:
-
Glossary: Chapter 7, Section "Glossary of Terms"
-
IPFS Integration:
- Implementation:
app/action_daemon.go
(IPFS service initialization)pkg/types/service.go
(IPFS service definition)
- Implementation:
-
Logging and Debugging:
- Implementation:
app/action_init_logging.go
(Logging configuration)pkg/types/general.go
(Logging struct definition)
- Implementation:
-
RPC Endpoints:
- Implementation:
pkg/validate/try_connect.go
(RPC connection validation)app/has_valid_rpc.go
(RPC validation logic)
- Implementation:
-
Service Configuration:
- Implementation:
app/action_init_services.go
(Services wizard implementation)pkg/types/service.go
(Service struct definition and validation)
- Implementation:
-
Troubleshooting:
- Implementation: Error handling throughout the codebase, especially in:
app/action_daemon.go
(Service error handling)app/config.go
(Configuration error handling)
- Implementation: Error handling throughout the codebase, especially in:
-
Wizard Interface:
- Implementation:
pkg/wizard/
directory (Wizard framework)app/action_init.go
(Wizard initialization)
- Implementation:
Technical Index (from Technical Appendices)
- Address Monitoring: Section 3, Core Functionalities
- API Access: Section 3, Core Functionalities
- Architecture Overview: Section 2, System Architecture
- Blockchain Indexing: Section 3, Core Functionalities
- Configuration Files: Section 4, Technical Design
- Data Flow: Section 4, Technical Design
- Error Handling: Section 4, Technical Design
- Integration Points: Section 8, Integration Points
- IPFS Integration: Section 3, Core Functionalities; Section 8, Integration Points
- Logging: Section 4, Technical Design
- Performance Tuning: Section 7, Performance and Scalability (benchmarks removed; only tuning guidance retained)
- REST API: Section 3, Core Functionalities; Section 8, Integration Points
- RPC Requirements: Section 5, Supported Chains
- Scalability Strategies: Section 7, Performance and Scalability
- System Components: Section 2, System Architecture
- Testing Guidelines: Section 9, Testing and Validation