Seminar On Blockchain Technology
Seminar On Blockchain Technology
University of Tartu
January, 2017
2 https://www.ethereum.org/.
3 https://solidity.readthedocs.io/en/develop/.
4 https://github.com/ethereumjs/testrpc.
5 https://www.mongodb.com/.
application was done in JavaScript. We utilized the web3 object provided by the
JavaScript web3.js library to interact with our smart contract in Blockchain. This
library works with any Ethereum node, which exposes an RPC layer, it communicates
to a local node through RPC calls7. We used Angular’s $resource for our API calls to
the MongoDB back-end application. These services retrieve data in JSON format and
then we can use it in our Angular controllers.
Code Repository
The code of the resulting application, instructions for running it and the BPMN
model can be downloaded from:
https://bitbucket.org/andreasellervee/blockchain-seminar/overview
6 https://angularjs.org/
7 https://github.com/ethereum/wiki/wiki/JavaScript-API.
Figure 1: BPMN model of the smart contract.