Asset payload
Opened this issue · 4 comments
Hi I am new to Iroha hyperledger.
In my android app integrated with Bigchaindb blockchain, I can include a number of different data structures as asset payload
What are the limitations regarding asset payload in the Iroha blockchain?
I looked at the Iroha-androd sample application. I could not find an example of asset creation and transaction creation and transmission. Could you please point me in the right direction?
Is the Iroha-android sample application broken?
Thanks,
Alex Donnini
Hi @adachij2002 , take a look at https://iroha.readthedocs.io/en/latest/api/commands.html?highlight=setaccountdetails#set-account-detail - it is a private (per account) key-value storage, you can store arbitrary information there. Key can be 64 bytes and value is 4 KB at max. Ask Iroha team if you need more, they will likely implement custom constraints.
I do not know about iroha-android, but if it does not work for you -- maybe it is broken :-)
@Warchant thank very much for getting back to me about this.
I will need more than 4kb per asset. But, that's OK. To start with I can certainly work with 4kb.
Who is the Android guru in your team? Could I perhaps contact him/her if I have any questions?
Again, thank for getting back to me,
Alex