Skip to content

The Decentralized Bank (DBank) App is a basic banking application showcasing the capabilities of DFINITY's Internet Computer (ICP) and Motoko language. This app is built inside an ICP canister, providing a decentralized and secure environment for banking operations without the need for a traditional database management system.

Notifications You must be signed in to change notification settings

StG999/Decentralized-Bank-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Bank App

Welcome to the Decentralized Bank App, a basic banking application showcasing the capabilities of DFINITY's Internet Computer (ICP) and Motoko language. This app is built inside an ICP canister, providing a decentralized and secure environment for banking operations without the need for a traditional database management system.

URL: Decentralized Bank App

Features

  1. Add Money: Users can add money to their account seamlessly.
  2. Withdraw Money: Withdraw funds from the account effortlessly.
  3. Interest Calculation: Whenever a deposit or withdrawal occurs, an interest rate of 0.1% compounded per second is added to the deposited amount.
  4. Real-time Compounding: The interest rate is compounded every second, providing a practical demonstration of incremental growth.
  5. Reset Functionality: A reset button allows users to clear the time counter and previous balance, returning the system to a new state with an opening balance of Rs 300.

Technology Used

  1. Motoko: The application is built entirely on Motoko, a programming language designed for the Internet Computer.
  2. ICP Hosting: The app is hosted on the Internet Computer (ICP), leveraging the benefits of decentralized computing, enhanced security, and reliability.
  3. ICP Canister: Both the frontend and backend of the application are hosted inside the same ICP canister, streamlining deployment and ensuring cohesion.

How to Use

  1. Visit the Decentralized Bank App URL.
  2. Use the "Add Money" and "Withdraw Money" buttons to manage your account balance.
  3. Witness real-time interest compounding, demonstrating the growth of your deposited amount.
  4. Press the "Reset" button to start afresh with a new current state and an opening balance of Rs 300.

NOTE: Always begin using the app after clicking the reset button. If you skip this, the interest would be compounded from the time the app was last used. This may lead to a very large account balance.

How to Contribute

If you're interested in contributing to the Decentralized Bank App or have suggestions for improvement, feel free to fork the repository and submit pull requests. Bug reports, feature requests, and general feedback are also appreciated in the GitHub repository.

Thank you for exploring the Decentralized Bank App, showcasing the possibilities of Internet Computer canisters technology in the realm of decentralized finance!

About

The Decentralized Bank (DBank) App is a basic banking application showcasing the capabilities of DFINITY's Internet Computer (ICP) and Motoko language. This app is built inside an ICP canister, providing a decentralized and secure environment for banking operations without the need for a traditional database management system.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published