Sunil | Blockchain | July 20th

Discussion in 'Cloud Computing' started by Kartikeya Sinha_1, Jul 21, 2019.

  1. Kartikeya Sinha_1

    Joined:
    Mar 28, 2019
    Messages:
    12
    Likes Received:
    1
    Please use this thread for document sharing and conversation
     
    #1
  2. Dhaval Rathod_1

    Joined:
    Jul 12, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Sunil,

    can you please provide SCM Blockchain example? How does it work? How does miner validate those transactions?

    -- Dhaval
     
    #2
  3. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Important Links Blogs etc.
     

    Attached Files:

    #3
    Dhaval Rathod_1 likes this.
  4. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Ganache set up instructions
     

    Attached Files:

    #4
  5. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Solidity sample programs
     

    Attached Files:

    #5
  6. Sanjay Sikri

    Sanjay Sikri Member

    Joined:
    Jun 11, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Sunil...I am getting parse error while trying PropertyTransfer in "RemixEthereum"...Tried replacing constant with view, it did not work. THis error is in all 3 places wherever "constant" is being used

    browser/Property2Transfer.sol:25:62: ParserError: The state mutability modifier "constant" was removed in version 0.5.0. Use "view" or "pure" instead.
    function getPropertyCountOfAnyAddress(address _ownerAddress) constant returns (uint256){
     
    #6
  7. Suresh Sahu(1074)

    Alumni

    Joined:
    Dec 16, 2009
    Messages:
    3
    Likes Received:
    0
    Hi Sunil,

    Can you share a document where each consensus used in different blockchain/platforms?
     
    #7
  8. ivanwong2016

    ivanwong2016 Member
    Alumni

    Joined:
    Jul 25, 2019
    Messages:
    3
    Likes Received:
    0
    Hi Sunil,

    I have got an error when I urn this ERC20 code under function _transfer: "emit Transfer (_from, _to, _value); "
    Error message" browser/TokenERC20.sol:36:16:16: ParserError: Expected token Semicolon got 'LParen' emit Transfer (^_from, _to, _value);"

    Please assit.

    Cheers,
    Ivan
     

    Attached Files:

    #8
  9. Vikas Kanodia_1

    Joined:
    May 23, 2019
    Messages:
    12
    Likes Received:
    0
    I have to create these two blockchains , need your support on this -
    First
    - I have to craete the vendor rating blockchain
    - Only Our company would have rights to enter into blockchain about the vendors rating
    - Other can access the details

    Second
    - ERP, Users and Suppliers are connected with blockchain
    - User will send the transaction to call the RFQ for some item
    - PO should be released to supplier based on lowest cost
    - Upon receiving the material , payment should be initiated automatically
     
    #9
  10. Dhaval Rathod_1

    Joined:
    Jul 12, 2019
    Messages:
    2
    Likes Received:
    0
    Can you pleasea send me property transfer script?
     
    #10
  11. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    #11
  12. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    The version you use 0.4.16 doesnt have emit keyword , it was recently introduced. Try without emit keyword
     
    #12
  13. ivanwong2016

    ivanwong2016 Member
    Alumni

    Joined:
    Jul 25, 2019
    Messages:
    3
    Likes Received:
    0
    Hi Sunil,

    Course material: Lesson 5 Hyperledger - Assisted Practice - Set Up Iroha Network - Step 03
    The link: "https://github.com/hyperledger/iroha --depth=1" is not working, please advice the solution.

    Regards,
    Ivan
     
    #13
  14. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    I have uploaded the contract . Can you check once and confirm
     

    Attached Files:

    #14
  15. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    I have attached the script
     
    #15
  16. ivanwong2016

    ivanwong2016 Member
    Alumni

    Joined:
    Jul 25, 2019
    Messages:
    3
    Likes Received:
    0
    Hi Sunil,

    I have taken out the emit keyword as instructed but error message showed at line no.3 interface tokenRecipient: "Declaration Error: identifier not found or not unique."

    Regards,
    Ivan
     
    #16
  17. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    #17
  18. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Ethereum private chain set up instructions.

    << Make sure you are using the correct address. Create a new address and use it below >>

    Initializing geth instance

    geth --datadir data init genesis.json

    Launching geth instance

    geth --datadir data --rpc --rpcaddr "8545" -rpccorsdomain "*" --gcmode=archive console


    genesis file contents

    {
    "config" : {
    "chainId":999,
    "homesteadBlock":0,
    "eip155Block":0
    "eip158Block":0
    },

    "coinbase" : "0xca35b7d915458ef540ade6068dfe2f44e8fa733c",
    "difficulty" : "0x100",
    "gasLimit" : "2100000",
    "alloc" : {
    "ca35b7d915458ef540ade6068dfe2f44e8fa733c" : { "balance" : "100000000000000000000" }
    }
    }
     

    Attached Files:

    #18
  19. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
     
    #19
  20. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    First
    1. If use Ethereum Blockchain , create a method/function which will be used to rate the vendor and make sure you restrict access only to your company. ( Smart contract modifier)
    2. create a get method and dont provide access restriction so all can access
    Second
    1. Po on lower cost is typically good smart contract example. Write a smart contract which can validate all the RFQ's in terms of cost , and create a purchase order for your need
    2. Payment mechanism can be done using cryptocurrency which can be made automatic. If there is going to be paid in dollar terms - then you need look at platforms like stripe, stellar
     
    #20
  21. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4

    First
    1. If use Ethereum Blockchain , create a method/function which will be used to rate the vendor and make sure you restrict access only to your company. ( Smart contract modifier)
    2. create a get method and dont provide access restriction so all can access
    Second
    1. Po on lower cost is typically good smart contract example. Write a smart contract which can validate all the RFQ's in terms of cost , and create a purchase order for your need
    2. Payment mechanism can be done using cryptocurrency which can be made automatic. If there is going to be paid in dollar terms - then you need look at platforms like stripe, stellar
     
    #21
  22. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Sample Hyperledger fabric project
     

    Attached Files:

    #22
  23. Sanjay Sikri

    Sanjay Sikri Member

    Joined:
    Jun 11, 2019
    Messages:
    2
    Likes Received:
    0
    Hi Sunil....Still showing the same error after pasting the code you sent
     
    #23
  24. Suresh Sahu(1074)

    Alumni

    Joined:
    Dec 16, 2009
    Messages:
    3
    Likes Received:
    0
  25. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Hyperledger fabric install instructions attached
     

    Attached Files:

    #25
  26. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    geth --datadir data --rpc ----rpcport "8545" --rpcaddr "localhost" -rpccorsdomain "*" --rpcapi "*" --gcmode=archive console
     
    #26
  27. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Sanjay , have you changed the compiler version. Lets catch up at the end of our class today and see what is going on
     
    #27
  28. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Video Links, Blog links
     

    Attached Files:

    #28
  29. _56781

    _56781 New Member

    Joined:
    Jan 21, 2019
    Messages:
    1
    Likes Received:
    0
    Hi Sunil Sir,

    When I am practicing in lab for Ethereum, I am getting error while npm install when executing Ganache Instructions.
     
    #29
  30. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Multichain commands
     

    Attached Files:

    #30
  31. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Sample Hyperledger Fabric project
     

    Attached Files:

    #31
  32. sunil_242

    sunil_242 Customer
    Customer

    Joined:
    Feb 5, 2019
    Messages:
    30
    Likes Received:
    4
    Sample Ethereum Project
     

    Attached Files:

    #32
  33. Suresh Sahu(1074)

    Alumni

    Joined:
    Dec 16, 2009
    Messages:
    3
    Likes Received:
    0
    Hello All,

    I have created a Blockchain Group where we can share our knowledge. I will be sharing a few in that group. Interested people can join the group. You can share the below link with other people too.

    Let us Explore, Learn, Share the knowledge.

    https://chat.whatsapp.com/LnOxx2MLdiK7gtAtOBqnOP
     
    #33

Share This Page