Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issuse in web 3 #1

Open
Mahasri01 opened this issue Apr 17, 2022 · 6 comments
Open

Issuse in web 3 #1

Mahasri01 opened this issue Apr 17, 2022 · 6 comments

Comments

@Mahasri01
Copy link

image
Screenshot (2415)

Data has been upload in data on the platform but,
I get an problem in that buy button. Please help to solve this issues
image

@aelbuz
Copy link
Owner

aelbuz commented Apr 17, 2022

Hi @Mahasri01,

As I understand on the third screenshot, it looks like you're clicking the "Buy" button of the record and MetaMask window does not pops up.

What I'm wondering is, did the bottom right MetaMask notification pop up after you click the button? If so, can you check Chrome DevTools if any issues or errors have been occurred after you click the button?

@Mahasri01
Copy link
Author

Mahasri01 commented Apr 17, 2022 via email

@aelbuz
Copy link
Owner

aelbuz commented Apr 17, 2022

I just tried the whole platform with a clean environment (downloading the source code and installing from zero) and everything works fine:

1

2

3

Probably you're aware of these but here are some limitations/remarks:

  • Truffle and other required packages may be not loaded, you can try to install again with npm.
  • The file contents you have uploaded must be separated with CR + LF for every line. Otherwise hash function tries to calculate the whole file and writes into the blockchain. This may cause inconsistent states for the platform.

If you checked these cases and the issue is still happens, can you send a screenshot of Chrome DevTools console for errors/warnings after you clicked the button?

Hope it helps.

@Mahasri01
Copy link
Author

Here, I attached the console screenshot.
image

@aelbuz
Copy link
Owner

aelbuz commented Apr 18, 2022

Here is my console screenshot:

4

I think your last warning causes this problem but I'm not sure.

@Xiruo23
Copy link

Xiruo23 commented May 3, 2023

代码逻辑有点问题,在已经发送的数据请求(支付页面)中,因该是要判断卖方批准且买方未确认,然后确认购买后卖方和买方的请求批准字段都变为true然后在已购买数据才会正常显示和下载。代码中好像写反了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants