Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/rainbyte/monedas

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

Last synced: 8 days 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