Hello Damien,
This is really very helpful article to start hyperledger composer and understand rest api along with it. I have few questions:
Participants and assets can be deleted as per composer (localhost:3000/explorer/#/) but not transactions. How participants and assets can be deleted if they are stored in blockchain?
I have faced some validation issue like buyer doesn't have enough fund to buy the property, where have you written such validation in code? i dont see it in logic.js file.
Do you have composer + fabric in nodejs rather than in react, It would be easier for me to create api using nodejs.
1) I could be wrong on this, but I don't think it is possible to remove participants and assets from the blockchain. A distributed ledger is an append-only system. In a permissioned blockchain, you would simply remove the ability from a participant to make any sort of transactions.
2) This error should appear in the buyingRealEstate function. We check if the buyer has enough funds to pay the other participants.
3) I'll see what I can do :)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Damien,
This is really very helpful article to start hyperledger composer and understand rest api along with it. I have few questions:
Participants and assets can be deleted as per composer (localhost:3000/explorer/#/) but not transactions. How participants and assets can be deleted if they are stored in blockchain?
I have faced some validation issue like buyer doesn't have enough fund to buy the property, where have you written such validation in code? i dont see it in logic.js file.
Do you have composer + fabric in nodejs rather than in react, It would be easier for me to create api using nodejs.
Thank you so much for such wonderful article.
Thanks for the kind words.
1) I could be wrong on this, but I don't think it is possible to remove participants and assets from the blockchain. A distributed ledger is an append-only system. In a permissioned blockchain, you would simply remove the ability from a participant to make any sort of transactions.
2) This error should appear in the buyingRealEstate function. We check if the buyer has enough funds to pay the other participants.
3) I'll see what I can do :)