44 releases (26 major breaking)

28.0.0 Jan 23, 2024
27.0.0 Dec 12, 2023
26.0.0 Nov 20, 2023
25.0.0 Nov 1, 2023
2.0.0-alpha.5 Mar 24, 2020

#1864 in Magic Beans

Download history 135/week @ 2024-03-31 33/week @ 2024-04-07 56/week @ 2024-04-14 64/week @ 2024-04-21 48/week @ 2024-04-28 34/week @ 2024-05-05 45/week @ 2024-05-12 84/week @ 2024-05-19 47/week @ 2024-05-26 56/week @ 2024-06-02 19/week @ 2024-06-09 55/week @ 2024-06-16 46/week @ 2024-06-23 4/week @ 2024-06-30 1/week @ 2024-07-07 23/week @ 2024-07-14

85 downloads per month

Apache-2.0

2MB
36K SLoC

Nicks Module

Overview

Nicks is an example module for keeping track of account names on-chain. It makes no effort to create a name hierarchy, be a DNS replacement or provide reverse lookups. Furthermore, the weights attached to this module's dispatchable functions are for demonstration purposes only and have not been designed to be economically secure. Do not use this pallet as-is in production.

Interface

Dispatchable Functions

  • set_name - Set the associated name of an account; a small deposit is reserved if not already taken.
  • clear_name - Remove an account's associated name; the deposit is returned.
  • kill_name - Forcibly remove the associated name; the deposit is lost.

License: Apache-2.0


lib.rs:

Nicks Pallet

Overview

Nicks is an example pallet for keeping track of account names on-chain. It makes no effort to create a name hierarchy, be a DNS replacement or provide reverse lookups. Furthermore, the weights attached to this pallet's dispatchable functions are for demonstration purposes only and have not been designed to be economically secure. Do not use this pallet as-is in production.

Interface

Dispatchable Functions

  • set_name - Set the associated name of an account; a small deposit is reserved if not already taken.
  • clear_name - Remove an account's associated name; the deposit is returned.
  • kill_name - Forcibly remove the associated name; the deposit is lost.

Dependencies

~15–33MB
~552K SLoC