Blockchain Credit Bureau

Needed before running

Ethereum:

  • Ganache
  • Truffle framework
  • Update network section in truffle-config.js file to match the network specification of yourGanache

Python version: python 3.8.x

Python libraries:

  • web3
  • django
  • mysqlclient
  • Pillow
  • jupyter(optionally)

To run:


  1. Launch Ganache
  2. Compile smart contracts. Inside Solidity/
    • $ truffle compile
    • $ truffle deploy
  3. Update mysql credentials in setting.py file to match yours
  4. Grant all privileges to your account on database in settings.py
  5. Start your mysql server
  6. Start you django server
  7. Inside your project root directory:

    1. Run $ python manage.py makemigrations CreditHistorySite
    2. Run $ python manage.py migrate