This is a srml that used to calcuate user's cross-chain reputation based on the cross-chain identity(meka identity and meka passport)
Through bridge or Oracles, the blockchain can get user's cross-chain history transactions. Accorting to the rules of
This module is inclued in the make-node
This module does not depend on any externally defined traits.
This module does not depend on any other SRML or externally developed modules.
To add this module to your runtime, simply include the following to your runtime's Cargo.toml file:
[dependencies.substrate-module-template]
default_features = false
git = 'https://github.com/shawntabrizi/substrate-module-template.git'and update your runtime's std feature to include this module:
std = [
...
'example_module/std',
]You should implement it's trait like so:
/// Used for the module test_module
impl substrate_module_template::Trait for Runtime {
type Event = Event;
}and include it in your construct_runtime! macro:
ExampleModule: substrate_module_template::{Module, Call, Storage, Event<T>},This template module does not have any genesis configuration.
You can view the reference docs for this module by running:
cargo doc --open
or by visiting this site: