Adds schema type "Currency" to mongoose for handling money. Strips out common characters automatically (",", "$" and alphabet chars)
How the donated funds are distributed
Kivach works on the Obyte network, and therefore you can track all donations.
This project adds a custom "Currency" type to Mongoose schemas that stores monetary values as integers (cents) to prevent rounding errors. It automatically sanitizes user input by stripping currency symbols, commas, and letters from strings before conversion. It's designed for Node.js developers using Mongoose who need reliable storage and calculation of money values in MongoDB.