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.
Block or report user

Report or block koshikraj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@koshikraj
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 https://explorer.blockstack.org/address/19KZj9G5PUukeweNy1DkjYvFByY1FHc7Y4
View gist:d940039d9314a8c4206376acc3f8f249
3abdb1db2fab5c3602fa7a52d00b0d6653a837de89dba58f73bee4edd17fa663b51bc9dce703089e03396a0e570317897a1138cf7e457de5c1a30273d7be2abd
View keybase.md

Keybase proof

I hereby claim:

  • I am koshikraj on github.
  • I am koshikraj (https://keybase.io/koshikraj) on keybase.
  • I have a public key ASDG7U3X5DXDIFtjkF4lHrhBY1VsWmkVqh-kWKk4z_HNawo

To claim this, I am signing this object:

@koshikraj
koshikraj / naive_blockchain.py
Last active Jan 18, 2019
A demo of a naive blockchain data structure
View naive_blockchain.py
# -*- 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"""
You can’t perform that action at this time.