I'm trying to create a layer 2 blockchain. In this blockchain, I do some computing to add to a transaction. Basically, I want to add a custom type to store in the block alongside Extrinsics.
Are there any examples of this? Or, where should I take a look at the source code?
InherentData
API? See pallet_timestamp for a simple example.