Skip to main content
Cyber Defense StudioIoT Security and PrivacyExperimentsWorkspaces
IoTPSUT IoT Engineering StudioPrincess Sumaya University for Technology · Dr. Mohammad Alja’afreh
BLOCKCHAIN FOR IoT · BC-M04
Blockchain for IoT

Blockchain domain and membership

Dr. Mohammad Alja’afreh · Princess Sumaya University for Technology

ProposalMembershipLedger
Design experiment & verify evidence →
BC-M04 · Laboratory mentorAsk about the current experiment, its algorithms or Python notebook.
Ask Dr. MohammadAdaptive practice

← Lecture-aligned module experiments · All blockchain labs · Setup wizard

Introduction

Scientific architecture · Ledger type and transaction lifecycle

Ledger admission and commit — Client; Admission service; Ledger; Submit transaction / 0>1; Check membership & validation / 1>1; Order and commit valid record / 1>2; Read state / 0>2
Scientific concept map: Client — Submit proposal; Membership — Public / permissioned; Validators — Policy and agreement; Ledger — Append accepted record; Read state — Visibility rules.

Scientific foundations and analytical reasoning

Ledger admission depends on membership, signature, balance and approval policy. An approved transfer conserves units absent explicit fees or minting.

Before operating the equipment or executing the program, derive the expected outcome using the required theoretical work in Experiment. Use the diagram to identify the variables and system boundaries.

BC-M04 · Academic orientation

Scope and objectives

Scope of the experiment

Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.

The focus of this experiment is to distinguish public, private and consortium membership models. Students then trace identities, permissions and ledger-domain boundaries, and compare governance and trust assumptions for an IoT deployment. The Concepts view explains the operation before the practical work; the Simulation view is used to examine reference and changed inputs, not to substitute for actual measurements.

Learning objectives

  • Distinguish public, private and consortium membership models.
  • Trace identities, permissions and ledger-domain boundaries.
  • Compare governance and trust assumptions for an IoT deployment.
  • Identify the configured inputs (Ledger membership; Sender; Sender balance; Transfer units; Independent organization approvals) and record the corresponding observed outputs with units where applicable.
  • Compare the reference calculation or decision with an independent implementation or authorized observation; state any discrepancy and the applicable model boundary.

Expected learning outcomes

On completion, students can distinguish public, private and consortium membership models, trace identities, permissions and ledger-domain boundaries, and compare governance and trust assumptions for an IoT deployment.

Required deliverables

Submit the derivation or state trace for the named operation, the exact reference and changed configurations, the associated simulator or practical evidence, and a short validation statement addressing compare governance and trust assumptions for an IoT deployment. Separate predicted values from observations.

Prerequisite knowledge and related learning

Review the foundational terminology in Concepts and confirm readiness using the existing setup instructions. After completion, continue to Coins, fungible tokens and device NFTs.

Environment and experimental methodology

The listed browser model and experiment-specific local Python, Solidity or EVM workflow, where provided. Do not treat a model as a deployed ledger.

Begin with a manual prediction, record the baseline, change one independent condition at a time, and compare the resulting trace or measurements with the original prediction. Record observations and uncertainty separately from reference values. Follow the experiment’s specific procedure, safety limits, and acceptance checks.

Scientific theory · Ledger governance and admission

Public, private and consortium systems differ in participation and governance, not simply whether they use hashes. Transaction admission checks signatures, membership and state constraints; consensus establishes a shared order or accepted history under its policy. A ledger is not automatically truthful or confidential.

Worked example and engineering interpretation

If a sender has 12 units and transfers 5 without fees, balances should conserve total units: sender 7, receiver +5. Reject a transfer exceeding the available balance under the lab policy. Compare membership rejection with balance rejection and approval decisions.

Engineering principles · additional worked teaching example

Membership policy determines who may submit or validate transactions. Authorization and balance are separate conditions: an authorized sender with 12 units can transfer 5 leaving 7, but unauthorized submission must not change state even with sufficient funds.

From theory to experiment

Predict the reference result before operating the workbench; check the actual intermediate state, units and constraints. The existing simulation, implementation and procedure below are distinct sources of evidence.

Worked engineering reasoning and boundary conditions

Engineering reference configuration: Ledger membership = consortium; Sender = orgA; Sender balance = 20; Transfer units = 8; Independent organization approvals = 2; Valid transaction signature (fixture) = true. In the classroom model, Committed = Yes; First rejection = None; Sender final balance = 12; Recipient credit = 8. Failed validation never changes either balance. Simplified membership and approval policy; a declared signature flag represents external verification, not actual identity or live consensus.

Use the diagram to follow the calculation or state progression. Keep the teaching configuration separate from the independent exercise values; compare observations with the actual model and implementation.

Concept animation · message sequence

Explore the teaching example independently of the simulator. Each step reveals an operation, data relationship or calculated state. The Simulation view has separate editable inputs.

Blockchain domain and membership: message sequenceSenderAdmissionValidatorLedgerCreate transferAdmittedCommit block

Step 1 of 3 · Create transfer

Create transfer

1. Sender → Admission
Create transfer

Teaching example only; inspect live calculations or real practical evidence separately.

How to investigate Blockchain domain and membership

Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.

Analytical investigation means collecting an observation, identifying the mechanism, using a calculation or state trace to explain it, and checking your conclusion against evidence. Controlled comparison means changing one independent variable, holding the remaining relevant conditions constant, and measuring a dependent variable against a baseline. Experimental validation means comparing a predicted result to a reproducible observation or assertion; agreement inside a model does not certify hardware. Evidence-based reasoning connects a specific observation to a theoretical rule and states uncertainty, not merely an opinion. Performance characterization records a named metric and its units across conditions; sensitivity analysis changes one parameter across several values. A threat assessment links an asset, threat, consequence and evidence to a mitigation.

Experiment-specific guided practice

Objective: Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.

  1. Start in consortium with orgA, balance 20, amount 8, two organization approvals and valid signature. Inspect the transaction and peer decisions.
  2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare.
  3. Restore orgA/consortium, set approvals to 1 and inspect the consensus-policy rejection even though funds are sufficient.
  4. Test amount 30 with balance 20, then invalid signature with amount 8. Distinguish state validation from participation.

Reference check: All replicas update only after accepted validation. Public mode accepts a valid outsider under the toy rule; restricted modes reject.

Model boundary: Public participation does not remove transaction signature or consensus requirements; this model isolates membership and linkage.

Independent task and submission evidence

2. Change sender to external. Verify failure at membership; balance remains unchanged. Switch to public and compare. Record the named input, prediction, actual output and one limitation; restore the original condition and repeat.

Before execution write the independent variable and its levels, dependent observation with units where applicable, baseline, controlled variables, measurement method and expected result. For a state machine use state/event/output rather than inventing a numeric metric. Record failures and repeat the baseline. A weak conclusion is “it works”; a supported conclusion names the changed setting, observed value/state, corresponding rule and one limitation.

TrialChanged settingFixed settingsPredicted resultActual observation / unitsEvidence / uncertainty
A: baselineReferenceRecordPredictRecordRecord
B: one changeRecordSame as APredictRecordRecord
A: repeatRestoreSame as APredictRecordRecord

Completion: submit the filled table, relevant simulator screenshot or terminal/notebook output, reasoning with units/assumptions, and one limitation. Preserve the independent assessment questions; this guide does not fill their answers.

Follow proposal, membership validation, hash linkage and replicated commit in public, private and consortium ledger policies.

Learning goals

  1. Explain the mechanism using the actual intermediate states in this experiment.
  2. Predict and verify the reference and modified conditions described below.
  3. Interpret the acceptance criteria and identify the limits of the model.

Module flashcards · 12 questions

Browse all 12 questions and explanations
What is a consortium ledger?

A ledger governed by a group of participating organizations.

What connects adjacent blocks?

A digest of the previous block included in the current block input.

Is public participation the same as unconditional acceptance?

No. Transaction rules and consensus still apply.

What does replication add?

Multiple copies of a record, subject to the ledger’s agreement and synchronization rules.

What is the difference between a mainnet and a test environment?

A mainnet is operational; a test environment is used to exercise behavior without production assets.

What is an example of a permissioned membership rule?

Require an enrolled organizational identity before proposing a ledger change.

Does digest linkage alone give finality?

No. Agreement and validation rules determine the authoritative history.

What state is unchanged after rejection?

Both peer replicas retain the previous digest and block count.

What happens to an authorized consortium proposal of 15 units?

It is accepted under the modeled admission rule and replicated.

What happens if only membership changes to outsider in consortium mode?

The proposal is rejected and the replicas remain unchanged.

Why can the outsider be accepted in public mode here?

The teaching model uses open admission for otherwise valid proposals.

Why compare the previous hash after committing?

To verify that the new block links to the prior ledger state.

Shared research workbenches · network designer & advanced studies
Concurrent-device simulation & Monte Carlo research
Distributed digital twin · topology, protocol & battery research