Holder - nionis/purpose GitHub Wiki

Users can "hodl" (lock) their purpose, and receive (mint) DUBI.

There are three options: (3, 6, 12) which translates to (1%, 2%, 4%) of purpose will become the value that is minted for the user.


  • P = purpose
  • M = months
  • U = ubi
  • precision = 100

User formula

(P * M * 1) / (3 * 100) = U

Solving for months: (used in tests)

(3 * 100 * U) / (P * 1) = M