Ecosyste.ms: Awesome
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: 8 days ago
JSON representation
This software implements a system which simulates money transactions
- Host: GitHub
- URL: https://github.com/rainbyte/monedas
- Owner: rainbyte
- Created: 2018-08-23T10:55:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-08-23T10:56:55.000Z (over 6 years ago)
- Last Synced: 2024-10-28T09:10:24.935Z (about 2 months ago)
- Language: Haskell
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
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