The infrastructure behind a blockchain app: RPC, indexers, storage and oracles
Blockchain learning series 11 of 12
Trace external dependencies and plan for stale data, outages and recovery.

Read the infographic as text
The infrastructure behind a blockchain app: RPC, indexers, storage and oracles
Trace external dependencies and plan for stale data, outages and recovery.
- RPC
- Carries read requests and signed transactions.
- Indexer and storage
- Organise history and retain material kept off-chain.
- Oracle
- Introduces external observations and their own trust assumptions.
Learning goal: Trace external dependencies and plan for stale data, outages and recovery.
Blockchain learning series 11 of 12. Educational diagrams; not a production architecture.
Your contract can continue existing while users lose the route to reach it. An RPC provider may fail, a website may serve old code and an indexer may lag behind the latest blocks. Understanding those dependencies is part of building the application, not a task to postpone until launch.
You should have run the local interface. This guide maps what a real version would need beyond the simulated process.
RPC carries requests, not guarantees
An RPC endpoint lets software request chain data and submit transactions. The endpoint may impose limits, omit historical features or temporarily return an older view. Read errors must be distinguishable from a legitimate empty record. Ethereum's JSON-RPC documentation defines methods including calls and receipt queries.
RPC access is useful on both PoW and PoS networks, but the methods and returned data are network-specific. A Bitcoin application queries Bitcoin transactions and outputs; the EVM lab queries contract storage and execution receipts. Switching consensus labels does not make those application interfaces interchangeable.
For the register, a direct lookup uses the address and fingerprint. An endpoint outage should produce an unavailable state and a retry route. A second provider can help only if it supports the same network and the requests you need. Test the fallback rather than assuming a second supplier name provides independence.
When a transaction has been submitted and the connection drops, do not automatically ask the user to send another. Save its identifier and check the outcome when access returns. A timeout is an observation about your connection, not proof that the transaction failed.
Indexers make history easier to query
An indexer reads blockchain activity and organises it for searches such as all registrations by an address. The contract's direct mapping makes one lookup easy, but it does not provide an automatic list of every key ever inserted. Our Registered events give an indexer something to follow.
An indexed view can be delayed or incomplete. A production service should identify the block it has processed and handle reorganisations according to the network. For an important individual result, compare the indexed entry with the contract or transaction receipt rather than presenting a search page as unquestionable proof.
The Graph's indexing documentation illustrates mapping contract events into searchable entities. It is one implementation option; the learning project does not require an indexing service.
Plan for each dependency
| Dependency | Purpose | Failure to distinguish |
|---|---|---|
| RPC | Read and submit requests | Timeout versus empty record |
| Indexer | Search and organise chain history | Stale view versus current state |
| File storage | Retain original bytes | Fingerprint versus recoverable document |
| Oracle | Supply external observations | Accepted observation versus true observation |
Storage keeps the document available
Our chain entry contains a fingerprint, not a recoverable copy of a document. If users expect to retrieve a certificate later, someone must retain and serve its bytes. That may involve conventional object storage, a decentralised storage system or the user's own copy.
A content identifier helps identify material, but availability depends on retention. For example, IPFS's persistence documentation explains pinning data to retain it. Do not promise permanent hosting merely because a file has an identifier.
Keep privacy and deletion requirements separate from integrity checking. A file can be unchanged and still be disclosed to the wrong person. Access control, encryption where appropriate, retention policy and tested backups remain ordinary engineering responsibilities.
Oracles introduce outside observations
An oracle supplies external information that a contract cannot simply retrieve from the web during execution. A price-based application might depend on a feed; a weather contract might depend on a measurement. That brings questions about observation quality, freshness, manipulation and failure handling. Ethereum's oracle overview explains the boundary.
Our register needs no oracle because it records a submission, not a claim about an external event. Adding a feed would create dependencies without solving the problem. If an issuer wants to attest that a qualification is genuine, the issuer's authority and signing process matter more than calling that attestation an oracle.
Write a small operating plan
For every dependency, record its operator, configuration, limits, failure signal and recovery route. Include who receives an alert, how users are informed and what information must survive the operator's failure. Keep contract addresses, ABI and deployment records in backed-up documentation.
A useful exercise is to disconnect one component deliberately. Stop the local server, then consider the equivalent public-service failures: the interface cannot load, reads time out, historical searches lag or original documents disappear. Explain which evidence remains available in each case.
You are ready for the final guide when you can separate an accepted chain record from your ability to retrieve it today. Both matter to a useful service, but they are maintained by different parts of the system.
Sources
- Ethereum's JSON-RPC documentation
- The Graph's indexing documentation
- IPFS's persistence documentation
- Ethereum's oracle overview
Source note: We have made reasonable efforts to provide sources for material claims. Some third-party sources could not be accessed at publication.
Related reading
Guides ·
How decentralised is a blockchain application?
Map control of an application's contracts, access points, data and upgrades.
Guides ·
Accounts, wallets and smart contracts: the parts of a blockchain app
Distinguish an address, a signing tool and a programme with persistent state.
Commentary ·
Bank of England signals support for tokenised financial markets
The Bank of England’s latest remarks on tokenisation suggest the UK is moving from blockchain experimentation toward redesigning parts of financial market infrastructure.
Commentary ·
Why governments are investing in domestic AI infrastructure
Governments are investing in domestic AI infrastructure to reduce dependency on foreign cloud providers, signalling a shift towards negotiated control of compute, energy, and data rather than full technological independence.

