# <center>1st Week</center> --- ## Tuesday, July 2nd 2019 Make Pre-internship summary for Prof. RT Wang [Click this to view the presentation](https://drive.google.com/file/d/1CQWh4zR5A5XF8tTfMEtcUzej6DdzQHng/view?usp=sharing) Meet Mr.Denny at 3.00PM - Crosscheck the slide summary - Discuss blockchain statusquo - IOTA issue about centralization - Look for blockchain technical forum in telegram or website ## Wednesday, July 3rd 2019 Make Introduction [Click this to view the presentation](https://drive.google.com/file/d/14E5P2WGnx-pHZJnFHCGGe16z9SINttvA/view?usp=sharing) Meet Professor RT Wang at 10.30AM - Present Pre-Internship progress - Discuss internship goals - Discuss Jobdesc - Cooperate with Achmad Fathur Rizki about DDS Technology - Create a group discussion between Ken and Tiffany (Prof RT Wang Student) Welcoming Party at 2 PM - Introduction to everybody 3.10 PM Search for reference blockchain about Decentralized Pub/Sub and How to Installing IOTA Prepare for tomorrow discussion with professor - join discord IOTA discord - Reference 1. https://medium.com/nknetwork/introducing-decentralized-pub-sub-based-on-nkn-1036a950360d 2. [HyperSub](http://msrg.org/publications/pdf_files/2017/hyperpubsub-mw-HyperPubSub:_a_Decentralized,_.pdf) 3. https://iota.partners/ 4. https://discord.iota.org/ ## Thursday, July 4th 2019 IOTA Clear Slides for meeting [Prepared Presentation](https://drive.google.com/file/d/1FoywpmHptMUi5klTTOVYpZbJIr5rJfKi/view?usp=sharing) Meeting at 11.30AM with Prof. RT Wang, Mr. Denny and the team ### key meetings: - discuss Blockchain - discuss expected internship goals > Results of the discussion: > Fathur goals: > 1. Create a pattern in DDS to combine it with blockchain. > 2. Modify some code from DDS and put it into open source. > > For Vincent: > 1. Contribute own blockchain idea to open source. > 2. Implement blockchain into IoT. > 3. Find a solution about issues of offline verification in blockchain. > > Presentation from Ken team: > 1. They create 2nd hand of equipment trading system to blockchain (platform to exchange sell and buy goods) as a solution to traditional way. > 2. They also presented us about Blockchain and Bitcoin. **Install Ubuntu Server** Minimum requirement for the Virtual Private Server: - 2 Cores and 4 GB RAM - recommended SSD hard disk - Ubuntu Server installation 18.04 or higher - SSH access with a key or password - a public IP address ![](https://i.imgur.com/3DeZ5SJ.png) ![](https://i.imgur.com/EZivtco.png) ![](https://i.imgur.com/KeEMr1O.png) ![](https://i.imgur.com/eyK8XZI.png) ![](https://i.imgur.com/bXCRHTH.png) ![](https://i.imgur.com/opPaSnb.png) ![](https://i.imgur.com/3bgwCuJ.png) ![](https://i.imgur.com/9hRSf6x.png) ![](https://i.imgur.com/Oy0GpsE.png) ![](https://i.imgur.com/0vd8wkr.png) ![](https://i.imgur.com/XbeqILi.png) ![](https://i.imgur.com/DhlU9BA.png) ![](https://i.imgur.com/BJUhgrw.png) SSH Configuration 1. Install Putty 2. Install SSH on the ubuntu server ![](https://i.imgur.com/22HpFCw.png) 3. Change from NAT to Bridge in the settings of server ![](https://i.imgur.com/KopCeiP.png)![](https://i.imgur.com/108eKf3.png) 4. Check the ip address ![](https://i.imgur.com/aMPSEre.png) 5. Open Putty to SSH the network ![](https://i.imgur.com/uAKfKJr.png) 6. Insert the id and password ![](https://i.imgur.com/eNYcP7L.png) Learn IRI https://docs.iota.org/docs/iri/0.1/how-to-guides/run-an-iri-node-on-linux ## Friday, July 5th 2019 PoW (Proof of Work) >PoW is the answer to a mathematical problem that's difficult to calculate, but easy to verify. In IOTA, proof of work protects the network from spam transactions. Each transaction in a bundle must include a proof of work to be valid. Proof of work (PoW) is calculated using trial and error, therefore it requires the use of computational power. >**PoW in IOTA** each transaction must include a PoW before it can be validated. This PoW provides spam protection for an IOTA network by increasing the time and computational power it takes to create a valid transaction. the nodes will ignore transactions that don't contain a valid PoW. PoW can be done by clients or it can be outsourced to a node (known as remote proof of work) by calling the attachtoTangle. >**How Proof of Work is calculated** >the content of transaction are converted from trytes to trits, then those trits are hashed to result in a transaction hash. >Transaction hash: >- Bundle Hash: Hash that's calculated using the address, obsoleteTag, timestamp, value, currentIndex, and listindex >- signature: Signature of the transaction (if it withdraws IOTA tokens from an address) >- Trunk transaction and branch transaction: Two transactions that the transaction references and approves A trit is a digit in a base 3 number system: either 0,1, or 2 A tryte consists of 3 trits. It can be in one of 27 states. In IOTA these states are often named with the (26) uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ and the (+1) number 9. The function that calculates PoW is called the PearlDiver. **Meeting at 1.30 PM with Professor RT Wang and the team** ### Key Meeting: - Job to be done for next week ### Outcome Discussion: - Focus on blockchain what really important for IoT to be implemented with blockchain - Offline Verification - Modify some source code of the blockchain or the pattern for a new concept - Build a node with AWS cloud