Machu-Picchu dApp for ETHGlobal Hackathon
- Navigate to
hackathon folder
- Run
npm install @truffle/hdwallet-provider
- Run
truffle compile --all
- Run
truffle migrate --network {network-name} --reset
- Now run the client
- Clone the repository
- Navigate to the
hackathon/client
folder of your local disk - Do
npm install
first (make sure withnode --version
that yournode.js
version does not exceed v12, elsekeccak
installation will have errors) - Then
npm start
and open 'http://localhost:3000' in your browser
- The OpenGSN Paymaster Contract ( 0xC1e8E5B8b9091BA103018d5Bf837E30930FB8fDe ) should have sufficient ETH to pay for the gas fees for farmers and enablers.
- The OTP contracts ( OTPGeneratorAndVerifier: 0x5AA2BF10E91e15B5f8917075ABaCE412045A8d7c [0.1 LINK per request] and SendOTP: 0x987B5Ab4Ec7BE19D151D5cE02A99Baa6400693C0 [0.05 LINK per request] ) should have enough LINK tokens to pay for the Chainlink service.
- Please contribute more than 2 RUP Tokens from Members
- Please stake more than 20 RUP Tokens from watchers
- We will need to validate your mobile number before the OTP service as we are on trial.
Updated with the actual technologies used in the finished demo.