Datalog: your data blockchainization
This release native runtime: IPCI chain version
4
, Robonomics chain version83
.
Datalog
Robonomics datalog
feature consists of three parts: runtime module pallet, robonomics protocol module, robonomics node cli command. Combining these features you can blockchanize any serializable data from your custom sources.
- Instantiate datalog trait for your runtime:
impl pallet_robonomics_datalog::Trait for Runtime {
type Time = Timestamp;
type Record = Vec<u8>;
type Event = Event;
}
We already implement and launch it in DAO IPCI network.
- Launch robonomics node for your blockchain.
Or use IPCI chain specification:
robonomics --chain ipci
.
- Periodically send your data as hex-encoded string using robonomics node cli:
robonomics-datalog 0.17.1
Store hex-encoded data on blockchain.
USAGE:
robonomics datalog [FLAGS] [OPTIONS] -r <record> -s <suri>
Where -r
is hex-encoded data record string, -s
is substrate account secret URI, for example mnemonic phrase.
Note: datalog command send extrinsic and require native token as a fee.
Changelog
- Introduced
robonomics_protocol::datalog
module and CLI command - Upgrade to latest substrate
- Enable jemalloc allocator for native builds
- Added robonomics-sensors crate