Giter Site home page Giter Site logo

final-year-project's People

Contributors

dhirajbit avatar nrednav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

final-year-project's Issues

Holding Deposit Oracle is not working

Hello there,

First of all thank you very much for preparing this project. It has end to end - what a project blockchain based project needs.

I have successfully setup the whole project on my windows 10 system. I have followed all the steps till 'Buyer' need to pay deposit.

'Buyer' get the request to pay the deposit, but when clicking on the button following error occurred.
image

When I looked into the code I found that there are 3 oracles used in the project setup.

  • Verfier
  • Holding Deposit and
  • Escrow

In the 'Oracles' - all oracle.js are using contracts.js files (where for holdingDeposit and Escrow - there are factory version and not for verifier) - not sure why.

However in the hdOracle.js file hd and escrow (in the import) are not using the factory version but holdingDeposit.js and escrow.js (which are internally using build version of contracts) and not holdingDepositFactory.js and escrowFactory.js - respectively. I tried to use the factory version but it is still throwing some other error that some function is missing. Let me know if you need more information.

image

In the 'Contracts' - I found that there are only factory versions are being deployed (which are taking abi and address from myconfig file)

image

Can you please help me solve the error in the screenshot 1? - when buyer click on 'Pay Deposit' button.

Thanks in advaance.

syntax for defining volumes is incorrect.

error: volumes.authority1 value 'authority2', 'ipam' do not match any of the regexes: '^x-'

The definition of 'authority1' and 'authority2' is incorrect. They are defined on the same line without a colon separator. Also, the mongodb-data and MongoDB-config are defined in the same line without a colon separator.

The ipam section should be placed under the networks section, not under the volumes section.

Help Needed

Hi creator.

Your project seems wonderful and i am trying to run and see how it actually works but the time of installing dependencies it throwing some error, will you please help to resolve that. I am running it on Ubuntu 18.04.

Screenshot from 2023-01-12 00-08-20

need help

bhai ap ka project use kr skta hon main kya??

Error while trying to do NPM INSTALL.Help needed

Operating system used

  • Windows 10

Problem
I have installed all the dependencies correctly.
Can someone please help me to solve this error?
Opened cmd in the client directory and ran NPM INSTALL command. I got this error in the server directory as well.

I have installed Desktop development with C++ via visual studio.But it didn't help.

npm ERR! code 1
npm ERR! path C:\Users\thisi\Downloads\final-year-project\client\node_modules\scrypt
npm ERR! command failed
npm ERR! command C:\windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.4 found at "C:\Users\thisi\AppData\Local\Programs\Python\Python39\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version was set from command line or npm config
npm ERR! gyp ERR! find VS - looking for Visual Studio version 2022
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS unknown version "undefined" found at "C:\Program Files\Microsoft Visual Studio\2022\Community"
npm ERR! gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS valid versions for msvs_version:
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:121:47)
npm ERR! gyp ERR! stack     at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:74:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:351:14)
npm ERR! gyp ERR! stack     at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:70:14
npm ERR! gyp ERR! stack     at C:\Users\thisi\node_modules\node-gyp\lib\find-visualstudio.js:372:16
npm ERR! gyp ERR! stack     at C:\Users\thisi\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack     at C:\Users\thisi\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (child_process.js:302:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
npm ERR! gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19043
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\thisi\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\thisi\Downloads\final-year-project\client\node_modules\scrypt
npm ERR! gyp ERR! node -v v12.13.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\thisi\AppData\Local\npm-cache\_logs\2022-05-15T10_09_11_651Z-debug-0.log

truffle migrate --network development --reset error

While navigating to the contracts directory it is throwing this error.

Everything is up to date, there is nothing to compile.
Something went wrong while attempting to connect to the network at undefined. Check your network configuration.
connection not open on send()
Truffle v5.5.3 (core: 5.5.3)
Node v17.6.0
Screenshot from 2022-03-05 16-02-14

It would help me in further understanding this project, thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.