Posts

Showing posts from March, 2019

Corda R3 using Java & Kotlin Info

Corda Official Training Template https://github.com/corda/corda-training-template Corda Training Solutions https://github.com/corda/corda-training-solutions Intel Software Gaurd Extensions (SGX) SDK used by Corda https://software.intel.com/en-us/sgx Running a Corda Node Locallay https://docs.corda.net/generating-a-node.html#running-deploynodes Tutorial https://docs.corda.net/tutorial-cordapp.html

Creating Sample Blockchain using NodeJS

//DemoBlockchain.js const SHA256=require('crypto-js/sha256'); class Block {     constructor(index,data)     {         this.index=index;         this.data=data;         this.timestamp=Date.now();         this.pHash='';         this.hash=this.hashing();     }     hashing()     {         return SHA256(this.index+this.timestamp+this.pHash+JSON.stringify(this.data)).toString();     } } class Blockchain {     constructor()     {         this.chain=[this.genesicBlock()];         this.nextIndex=1;     }     genesicBlock()     {         return new Block(0,"Genesis Block");     }     getLatestBlock()     {         return this.chain[...

Articles and Books

https://hackernoon.com/ https://medium.com/ https://bitcoinwisdom.com/bitcoin/difficulty https://qz.com/1055126/photos-china-has-one-of-worlds-largest-bitcoin-mines/

Token Platforms

Ethereum Omni TRON Steller Neo NEM Ardor EOS Waves Counterparty Refer  https://coinmarketcap.com/tokens/

Creating sample Blockchain using Python, Flask and Postman

# Creating a Blockchain using Python by Dr B P Sharma # To be installed: # pip install Flask # Postman HTTP Client from https://www.getpostman.com # Importing the required libraries import datetime import hashlib import json from flask import Flask, jsonify # Building a sample Blockchain class Blockchain:     def __init__(self):         self.chain = []         self.createBlock(proof = 1, previousHash = '0')     def createBlock(self, proof, previousHash):         block = {'index': len(self.chain) + 1,                  'timestamp': str(datetime.datetime.now()),                  'proof': proof,  #nonce                  'previousHash': previousHash}         self.chain.append(block)         return block ...