Replies: 2 comments
-
|
you can try the this link |
Beta Was this translation helpful? Give feedback.
-
|
Yes if you use Ethereum smart contracts you can define your contract and store it with transactions. https://www.ethereum.org/greeter Note that if you don't encrypt the data stored in the contract it will be accessible by everyone. Consider following tutorial from Hyperledger Fabric "Getting Started" pages. Basically you implement requested logic on by leveraging chaincodes, you will have to implement following golang interface: // Chaincode interface must be implemented by all chaincodes. The fabric runs // Invoke is called to update or query the ledger in a proposal transaction. type myStoreChaincode struct { func (cc *myStoreChaincode) Init(stub ChaincodeStubInterface) pb.Response { func (cc *myStoreChaincode) Invoke(stub ChaincodeStubInterface) pb.Response { // Handle here other cases and possible parameters combinations func (cc *myStoreChaincode) StoreItem(stub ChaincodeStubInterface, params []string) { |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on a POC where I have to store some data e.g. ID of an object, price, owner and things like that. Is it possible to store such things on Blockchain using smart contracts. And if not what are the ways to use Blockchain to achieve it. (I did some research, and people are using Blockchain in SCM industry. They must have stored these kind of datas).
Beta Was this translation helpful? Give feedback.
All reactions