Skip to content

Instantly share code, notes, and snippets.

Going back to the basics, really. Words on the printed page.

Koshik Raj koshikraj

Going back to the basics, really. Words on the printed page.
View GitHub Profile
koshikraj / Hello.sol
Created Apr 4, 2020
Amity Online - Solidity summary session
View Hello.sol
pragma solidity >=0.5.0<= 0.7.0;
contract Hello {
string public owner;
constructor(string memory _owner) public {
owner = _owner;
View gist:60fc45b64886a7846880207f7cdca6a9
run vaultQuery contractStateType: net.corda.examples.obligation.Obligation
start IssueObligation amount: "100 USD", lender: "O=PartyB,L=New York,C=US", anonymous: false
View gist:a752c9847de8d93ad33773fe8e6b2e64
Verifying my Blockstack ID is secured with the address 19KZj9G5PUukeweNy1DkjYvFByY1FHc7Y4
View gist:d940039d9314a8c4206376acc3f8f249

Keybase proof

I hereby claim:

  • I am koshikraj on github.
  • I am koshikraj ( on keybase.
  • I have a public key ASDG7U3X5DXDIFtjkF4lHrhBY1VsWmkVqh-kWKk4z_HNawo

To claim this, I am signing this object:

koshikraj /
Last active Jan 18, 2019
A demo of a naive blockchain data structure
# -*- coding: utf-8 -*-
import json
from Crypto.Hash import SHA256
from datetime import datetime
class Block(object):
"""A class representing the block for the blockchain"""