---
title: "Discussion on \"Do we just add/subtract balances? - Part 1\" | Hashnode"
description: "Discussion on \"Do we just add/subtract balances? - Part 1\". My first payments engine, or everyone out here, was calculating the total price of carrots to be paid by Bob to Alice, in 4th grade, by doing addition and subtraction of balances. And Voila! Bob paid Alice. End of Transaction. \nAlmost 2 decades later..."
url: "https://hashnode.com/posts/payments-engine-part-1/633c2b78bffd51acde0030ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Do we just add/subtract balances? - Part 1](https://mychewcents.hashnode.dev/payments-engine-part-1?utm_source=hashnode&utm_medium=feed)

My first payments engine, or everyone out here, was calculating the total price of carrots to be paid by Bob to Alice, in 4th grade, by doing addition and subtraction of balances. And Voila! Bob paid Alice. End of Transaction. Almost 2 decades later...

Oct 4, 2022 · 7 min read · mychewcents.hashnode.dev  
Read the article

-   [#payment](https://hashnode.com/tag/payment)
-   [#wallet](https://hashnode.com/tag/wallet)
-   [#engineering](https://hashnode.com/tag/engineering)
-   [#software-engineering](https://hashnode.com/tag/software-engineering)
-   [#software-development](https://hashnode.com/tag/software-development)

## Written by

[Akarsh Agarwal](https://hashnode.com/@mychewcents)

@mychewcents · Singapore, Singapore

  
[View profile](https://hashnode.com/@mychewcents)

I write code, tech blogs, and poetry!

🧑 Hi! I am Akarsh. 👨‍🎓 Received Masters of Computing degree with a major in Infocomm Security (July 2022). 🧳 A Foreigner (Indian) in Singapore passionate about developing secure and scalable distributed applications and systems, primarily the backend.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
