Sitelet https://github.com/Bru-sic/Module_19_Blockchain_Wallets
Skip to content

About

Integrates the Ethereum blockchain network to enable instant payment to fintech professionals in cryptocurrency for their professional services.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Module_19_Blockchain_Wallets

Integrates the Ethereum blockchain network to enable instant payment to fintech professionals in cryptocurrency for their professional services.

Author: Bruno Ivasic
Date: 16 January 2024

Submission

Files associated with this solution:

Output Screen Shots

The screen shots below are of a payment made to Jo via the Krypto Jobs App for 4.5 Hours of professional fintech services. Jo charges 0.19 ETH per hour, making a total of 0.855 ETH due in wages. Jo's (TO) Ethereum Address is 0x4B24C82F5D995D1BC4D861A0D2927e3A84Aba8dC. The client's (SENDER) Ethereum Address is 0xa6f59e711F83B35641214757B4ea4aF9f019DBaC.


1. Screen Shot of App BEFORE sending the transaction

alt="Screen Shot of App before sending the transaction"


2. Screen Shot of App AFTER sending the transaction

alt="Screen Shot of App after sending the transaction"


3. Screen Shot of Ganache accounts

The FROM account is boxed in red, and the TO account is boxed in green alt="Screen Shot of Ganache accounts, where the FROM account has been boxed in red, and the TO account has been boxed in green "

The original unedited image of the above can be found here: Screenshot_4_Ganache_accounts.png


4. Screen Shot of Ganache transaction detail

alt="Screen Shot of Ganache transaction detail"


5. Screen Shot of Ganache Block History

alt="Screen Shot of Ganache Block History"


6. Screen Shot of Ganache Block Detail

alt="Screen Shot of Ganache Block Detail"


Technologies

  • Web3 API
  • Streamlit

Concepts

  • Ethereum Blockchain Transactions
  • Graphical User Interface (GUI) via Streamlit

Enhancements to base starter code

  • Items marked as @TODO
  • Replaced numeric indexes in krypto_jobs.py used to access specific columns in the candidate_database with named variables (constants) for ease of readibility and maintainability.
  • Resolved runtime error caused by line 72 of crypto_wallet.py as the GasPrice was set to 0.
  • Renamed value variable in send_transaction function (crypto_wallet.py) to wage_wei for ease of readibility.

Dependencies

  • streamlit
  • bip44
  • web3
  • requests

Installation / Setup

Activate a dev environment, e.g. conda activate dev, then pip install the following:

pip install streamlit
pip install web3==5.17
pip install bip44

Launching

  1. Ensure Ganache is active
  2. In Visual Studio Code right click on krypto_jobs.py then select Open in Integrated Terminal
  3. Activate the dev environment (e.g. conda activate dev)
  4. Launch the app by typing streamlit run krypto_jobs.py

Briefing

About

Integrates the Ethereum blockchain network to enable instant payment to fintech professionals in cryptocurrency for their professional services.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages