Skip to content

Instantly share code, notes, and snippets.

View mrvijaycode's full-sized avatar

Vijay Chintapandu mrvijaycode

View GitHub Profile
@mrvijaycode
mrvijaycode / chaincode.go
Created August 26, 2021 00:44 — forked from michielmulders/chaincode.go
Hyperledger Fabric getHistory Golang
func (t *SimpleChaincode) getHistoryForMarble(stub shim.ChaincodeStubInterface, args []string) sc.Response {
if len(args) < 1 {
return shim.Error("Incorrect number of arguments. Expecting 1")
}
marbleName := args[0]
fmt.Printf("- start getHistoryForMarble: %s\n", marbleName)
Hello welcome to the site.
It is sample for the Gist and we will call you..
function m1(){
alert('from desktop');
}
m1();