Skip to content

Descentralized bus crypto payment with benefits for bus company and users

Notifications You must be signed in to change notification settings

luigicallero/bondi-mat

Repository files navigation

Bondi-Mat

Descentralized bus crypto payment on Polygon blockchain with benefits for bus company and users

https://youtu.be/AvGKibhzZx0

bondimat_mainpage

Comments

Requirements

  • NPM

Installation

  1. Install truffle
npm install truffle -g
  1. Copy from Repossitory
git clone https://github.com/luigicallero/bondi-mat
cd bondi-mat/
  1. Install dependencies by running:
sudo npm install

Deploy

For deploying to the Polygon test network (Mumbai), Truffle will use truffle-hdwallet-provider for your mnemonic and an RPC URL. Set your environment variables $RPC_URL and $MNEMONIC before running and make sure you have enough MATICs in your wallet (0.3 Matics should be fine; Matic Faucet: https://faucet.matic.network):

export MNEMONIC='YOUR_12_SECRET_METAMASK'

truffle migrate --network matic --reset

If you face any socket issues during deployment on Mumbai testnet try with a different testnet RPC as seen in documentation: https://docs.matic.network/docs/develop/network-details/network

Front-End

Front-end is Reactjs based, to start it execute the following command from the project folder:

npm start

TODO

  • Pending Scan function for BUS driver
  • Prepare tests for truffle environment

About

Descentralized bus crypto payment with benefits for bus company and users

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published