Blockbeat News

How decentralised is a blockchain application?

Blockchain learning series 4 of 12

By Chris DW, Editor

Published

Map control of an application's contracts, access points, data and upgrades.

Gold and blue diagram of interface, access and contract layers above three panels: Rules, Access, Recovery. Full text follows.
Gold and blue mark the Blockchain learning series. Rules: Who can change contract behaviour? Access: Who serves the website and node connection? Recovery: Can a user continue when one provider fails?
Open the full-size infographic
Read the infographic as text

How decentralised is a blockchain application?

Map control of an application's contracts, access points, data and upgrades.

Rules
Who can change contract behaviour?
Access
Who serves the website and node connection?
Recovery
Can a user continue when one provider fails?

Learning goal: Map control of an application's contracts, access points, data and upgrades.

Blockchain learning series 4 of 12. Educational diagrams; not a production architecture.

An application can have widely replicated contracts and a website controlled by one company. It can let users hold their own keys while giving an administrator power to change the contract. Calling the whole service decentralised tells you very little until you identify those separate controls.

You should already understand nodes and RPC services. Here you will build a control map that can be applied to an existing application or your own design.

Begin with a user action

Take the document register we will build. A reader opens a website, selects a file, calculates its fingerprint, signs a registration and later checks the result. Each step depends on something different.

The website supplies the code running in the browser. A wallet or local practice signer authorises the instruction. An RPC endpoint carries requests. The contract applies its rules. A storage service retains the original document if the application offers that facility. A domain name helps the reader find the site.

Ethereum's introduction to decentralised applications explains the combination of contracts and an interface. For a fuller account of hosting concentration, see our existing guide to why decentralised apps use centralised cloud services. This lesson turns those dependencies into questions you can test.

Map authority and recovery

Map authority and recovery
LayerControl questionFailure question
InterfaceWho can change the website code?Can users reach the contract another way?
ContractWho can upgrade or pause it?What happens if an administrator key fails?
StorageWho retains the original file?Can a fingerprint restore a missing document? No.

Separate permission from availability

A website operator may stop serving a page without gaining the ability to spend users' assets. A contract administrator may be able to change behaviour even while the website remains available. Those are different forms of control and require different responses.

For each component, write down who can read, write, alter rules, suspend access or replace the service. Identify the actual key or account exercising the power. A promise that decisions are community-led does not show which administrator function the deployed contract exposes.

Our simple register will have no upgrade administrator, withdrawal function or owner-only registration. Anyone calling it can create their own entry. That limits some powers, but it also removes a convenient way to erase a mistaken record. A narrow contract can make the control map easier to understand without making the entire application decentralised.

Test whether an alternative route works

Suppose the main RPC service fails. Could you switch to another endpoint on the same network and read the same contract? You need its network identity, address and interface definition. Those details should not exist only inside a website that is now unavailable.

Suppose the website changes the address it asks users to sign for. A second RPC endpoint will not correct that interface deception. You need a trusted way to check the intended deployment and inspect what the signing request authorises. Resilience requires understanding the failure, rather than adding interchangeable suppliers to every box.

For stored documents, ask who retains the bytes and what happens if storage stops being paid for. A fingerprint remaining on-chain does not restore a lost original. Replication, backups and access rights are part of the application design.

Governance is an operating arrangement

Some contracts support upgrades through a proxy or another indirection mechanism. The relevant question is who can authorise the change and what constraints apply. A delay, several required signers or a vote can alter the risk, but none makes the power disappear. Ethereum's upgrade documentation describes common approaches and trade-offs.

A user may reasonably choose a service with managed recovery or central administration. The useful standard is disclosure: make the powers understandable before the user depends on the system. Describe what can change, who decides and what users can do if they disagree.

Build a failure map

Choose an application and list its website, signing arrangement, node access, contracts, external data and storage. Mark a component unknown if you cannot establish its operator or permissions. Do not replace missing evidence with a decentralisation score.

Now imagine the website disappears but the network continues. What information would let a competent user retrieve their record?

For our project, the answer includes the correct network, deployment address, ABI and query inputs. If you cannot find them independently, the contract's continued existence provides less practical resilience than it first appears. That is a useful finding, even without reducing the whole application to a single label.

Sources

Source note: We have made reasonable efforts to provide sources for material claims. Some third-party sources could not be accessed at publication.