Skip to content

Ethereum implementation of one-stop blockchain based banking system

License

Notifications You must be signed in to change notification settings

Debitable/Ethereum-Debitable

Repository files navigation

Debitable

Debitable - Ethereum

Contributions Node Application Test Languages LICENSE

Ethereum implementation of Debitable using Truffle and Ganache.

Features:

  • QR Code based account addresses
  • Identification Address based transfer and authentication
  • Withdraw AggieCoins
  • Deposit AggieCoins
  • Transaction History

Pending:

  • Improved Sign-out using state management
  • Fix withdraw and deposit bug for existing user login
  • Borrowing and lending features
  • Detailed testing and bug-fixes

Pre-requisites

  1. Node >= 12.17.0
  2. The MetaMask wallet installed. Instructions here
  3. Ganache and Truffle. Instructions to install Ganache here and Truffle here

Building the Solidity code

  1. Enter the app directory in a terminal: cd app
  2. Build the code: truffle migrate
  3. To build again use: truffle migrate --reset

Start Ganache and connect to MetaMask

  1. Open the Ganache GUI and click on new work space.
  2. Import the account private keys from Ganache to MetaMask, we will use this later.

Interacting with our package

  1. In a terminal go to the app folder of this project (Ethereum-Debitable/app)
  2. Install the npm dependencies: npm install
  3. Start the local server with npm run dev
  4. Open up your browser at the provided URL if it doesn't open automatically.
  5. Connect MetaMask to the application.
  6. Use the imported account created earlier and Identification Address to interact with the system.