#reward #substrate #validation #pallet #curve #era #account-id

no-std pallet-curveless-staking

An alternative to Substrate's staking pallet with no reward curve and where rewards can be customized

1 unstable release

0.1.0 Apr 12, 2021

#13 in #account-id

Apache-2.0

500KB
9K SLoC

Curveless Staking

A fork of Substrate Frame v2 pallet-staking. The main differences are as follows:

  • no inflationary reward curve
  • the pallet has a dedicated account id to receive potential fungible tokens
  • the pallet tracks rewards deposited in its account on a per era basis
  • rewards from a given era are distributed between the validators and their nominators while respecting the traditional parameters

This is especially useful if you want to create non-inflationary reward models, for instance by redistributing transaction fees and other forms of rewards.

Example integrations:

Dependencies

~9–20MB
~293K SLoC