Skip to content

vincent-l-j/crypto-pay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Pay

An image shows a wallet with bitcoin.

Background

Crypto Pay is an application that allows users to select fintech professionals from among a predefined list of candidates, hire them, and pay them with cryptocurrency.

Installation

# This app was tested on python 3.9.7
# Create a virtual environment and activate it
pip install -r requirements.txt

Ganache Demo

Install Ganache before trying the following steps:

  1. Start Ganache and copy the account's seed phrase.
  2. Using SAMPLE.env as a template, create a .env file and add Ganache's mnemonic seed phrase to it.
  3. Run the app: streamlit run app.py
  4. On the resulting webpage, select a candidate that you would like to hire from the appropriate drop-down menu.
  5. Enter the number of hours that you would like to hire them for.
  6. Click the Send Transaction button to sign and send the transaction with your Ethereum account information.
  7. To see transaction details, go to the Transactions section of Ganache.

Ganache Sample Transaction Results

Balances Before

Balances before

Balances After

Balances after

History Before

History before

History After

History after

Streamlit Transaction

Streamlit didn't immediately update the account balances in the sidebar but still returns the validated transaction hash.

Streamlit transaction

Ganache Transaction Details

Ganache Transaction Details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published