Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Asset payload #144

Open
adonnini opened this issue Oct 22, 2018 · 4 comments
Open

Asset payload #144

adonnini opened this issue Oct 22, 2018 · 4 comments

Comments

@adonnini
Copy link

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

@Warchant
Copy link

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 :-)

@adonnini
Copy link
Author

@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

@Warchant
Copy link

Summon @mrZizik

@adonnini
Copy link
Author

Thanks @Warchant

Is this the best place to contact @mrZizik?

I added issue #145 it sounds like @mrZizik would be the person to answer that question..

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants