How to deal with forms,images,videos of an asset in hyperledger composer
问题 While defining an asset in hyperledger composer model file, how do we deal with forms, images, videos? What are the data types available? For example, if my asset is house and I want to store an image of the house how do I define this in an asset? I have referred the documentation, it says the primitive data types available are string, integer, double, DateTime and boolean.] 回答1: So technically, this is a Node question. Using Javascript, eg. fs.readFileSync(‘yourimageFile.jpg’).toString(