Skip to content

Latest commit

 

History

History

block

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Block

The block module contains:

  • Genesis classes and some generated serializers and deserializers for data models
  • Serializers necessary to serialise Rust-specific models to Kotlin models
  • Deserializers necessary to deserialize models into JSON format, which is the format Iroha2 expects, for example, for genesis.json

Note that you can also use JSON_SERDE mapper from serde.kt to deserialise models into JSON:

import jp.co.soramitsu.iroha2.iroha2Mapper