Troublor / darcher

ĐArcher - A Testing Framework for Decentralized Applications (DApps)
Apache License 2.0
11 stars 6 forks source link

How to use Darcher to analyze its working #74

Open saarshah opened 1 year ago

saarshah commented 1 year ago

First I appreciate your effort toward the research community by providing such a wonderful tool. I am interested to use it and analyze its working. Is there any guidance (step by step) available so that such tool could be used easily.

Troublor commented 1 year ago

Hi, thanks for reaching out. DArcher is a research prototype and may be immature in many ways. If you would like to check how DArcher works, you can use our provided Virtual Machine image (follow the instruction here). The image has an already-set environment that all experiments in our paper can be reproduced.

If you would like to make DArcher work for other DApps. You can refer to the scripts of running DArcher on experiment subjects. https://github.com/Troublor/darcher/blob/master/packages/darcher-examples/scripts/experiment.ts

To break down the details, there are several components in DArcher. I hope my explanations below can help you understand how DArcher is implemented:

PS: Blockchain community is evolving very fast. It is likely that many of our modified software (ĐArcher Go Ethereum and the MetaMask browser extension) do not work in modern DApps.

saarshah commented 1 year ago

Thanks for your detailed answer. I will check and let you update, if there is still a problem in using your tool.

saarshah commented 1 year ago

I have downloaded the Darcher Image and try to use it in Virtual Box as per given instructions, But I am facing following error

"The shared folder 'troublor' could not be set up: Shared folder path '/home/troublor' is not absolute.
The shared folder setup will not be complete. It is recommended to power down the virtual machine and fix the shared folder settings while the machine is not running." 

and when I ignore this above error, Ubuntu Machine could not started and show this error Oh no something went wrong. A problem has occurred and system can't recovered