Skip to content

KILTprotocol/portablegabi-pallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portablegabi-pallet

This pallet can be used to store an accumulator on chain.

Installation

Runtime Cargo.toml

To add this pallet to your runtime, simply include the following to your runtime's Cargo.toml file:

[dependencies.portablegabi-pallet]
default-features = false
git = "https://github.com/KILTprotocol/portablegabi-pallet.git"

and update your runtime's std feature to include this pallet:

std = [
    # --snip--
    "portablegabi-pallet/std",
]

Runtime lib.rs

You should implement it's trait like so:

impl portablegabi_pallet::Trait for Runtime {
	type Event = Event;
}

and include it in your construct_runtime! macro:

PortablegabiPallet: portablegabi_pallet::{Module, Call, Storage, Event<T>},

Genesis Configuration

This template pallet does not have any genesis configuration.

Reference Docs

You can view the reference docs for this pallet by running:

cargo doc --open

or by visiting this site: kilt.io/developers

Releases

No releases published

Packages

 
 
 

Languages