File Exchange

image thumbnail

MATLAB Blockchain Example

version 2.0.0.0 (195 KB) by Roger Aarenstrup
A MATLAB app that implements a distributed blockchain.

50 Downloads

Updated 16 Apr 2018

View License

This example shows a blockchain implementation in MATLAB. Several nodes can be run to distribute the blockchain and blocks can be mined or blocks with invalid hashes can be added for test. Although the current implementation requires parallel computing toolbox it can easily be changed to run without it.
Note that the app is made for 2018a pre-release.

Comments and Ratings (13)

Hi Matt, you need to start two MATLAB instances and run the app in each. So there is only one app but it is run in two MATLAB instances.

Matt

Matt (view profile)

In the instruction, there show "two app", I just found one. how to run? Thanks.

In the doc folder you have a file: sbs.txt (step-by-step)

well done, but can you provide us steps to run the program. Thanks.

Yes, the code use TCIP/IP calls from instrument control toolbox.

Sean HY Yuan

Hi, do we have to install instrument control toolbox? why would you need it?

Did you change the ports to match? Did you read the instructions?

i tried running multiple instances of this app on the same machine and tried adding clients..is it possible? doesnt seem to work..may be im missing something here...

You need to start more matlab instances and from each a client. You could probably also use matlab compiler to deploy clients.

great work..but how to add clients..just not able to make that work..

Hans Scharler

Updates

2.0.0.0

Updates to copyright text and what MATLAB release is supported

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video