Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/pepoviola/account-tx-engine

toy account transaction engine
https://github.com/pepoviola/account-tx-engine

Last synced: 5 days ago
JSON representation

toy account transaction engine

Awesome Lists containing this project

README

        

# account-tx-engine
Example cli application to process payments transactions

## Build

```
cargo build
```

## Run

```
cargo run -- >
```

## Test
```
cargo test
```

## NOTES

- Only deposit and withdrawals can be disputed ( is weird to disout a deposit but could be the case).
- Only `disputed` transactions can be resolved or chagebacked.
- Test are running in CI ( build / fmt / clippy ).

### List of improvements:
- Add unit test and improve integration tests.
- Accept a generic iterator, allowing not only read `cvs` files.
- Add a transaction log to easy replay by client.