polkadot_sdk_docs/reference_docs/fee_less_runtime.rs
1//! # Fee-Less Runtime
2//!
3//! 🚧 Work In Progress 🚧
4//!
5//! Notes:
6//!
7//! - An extension of [`runtime_vs_smart_contract`], showcasing the tools needed to build a safe
8//! runtime that is fee-less.
9//! - Would need to use unsigned origins, custom validate_unsigned, check the existence of some NFT
10//! and some kind of rate limiting (eg. any account gets 5 free tx per day).
11//! - The rule of thumb is that as long as the unsigned validate does one storage read, similar to
12//! nonce, it is fine.
13//! - This could possibly be a good guide/template, rather than a reference doc.