An open API service indexing awesome lists of open source software.

https://github.com/rainbyte/monedas

This software implements a system which simulates money transactions
https://github.com/rainbyte/monedas

Last synced: 3 months ago
JSON representation

This software implements a system which simulates money transactions

Awesome Lists containing this project

README

        

This software implements a system which simulates money transactions

-- Main operations

createCurrency :: String -> Ledger -> Ledger
sendMoney :: Entry -> Ledger -> Ledger
inspectLedger :: Ledger -> [Entry]
accountBalance :: User -> Ledger -> Balance

-- Restrictions

-- - Only an user could manage its account
-- - Validate API data (at frontend & backend)
-- - Concurrency should be supported, avoid double-spend