Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 2.04 KB

INSTALL.md

File metadata and controls

56 lines (34 loc) · 2.04 KB

Installation

Before install, make sure you have met the requirements specified in REQUIREMENTS.

The project is manager by yarn workspace. All commands below are executed at the root directory of the project, unless explicitly specified.

Fetch Node.js Dependencies

At root folder:

yarn

Build Project

yarn build

Generate Ethererum DAG

The Ethereum DAG (directed acyclic graph) is essential for the Controlled Blockchain insider ĐArcher.

yarn workspace @darcher/go-ethereum gen:dag

The Ethereum DAG will be generated at the ethash folder under root directory.

Alternatively, we provide a pre-generated ethash here. Download it and extract it at the ethash folder under root directory.

Prepare the Chrome Profile

ĐArcher is designed to test Web-based DApps, so we need to configure a browser profile to use ĐArcher. We provide a preconfigured profile. Download ChromeProfile.zip and extract it at the ChromeProfile folder under the root directory.

The profile contains two extensions configured for ĐArcher as follows:

MetaMask for ĐArcher

ĐArcher is working closely with an adapted version of MetaMask to retrieve information of transactions sent by DApps.

MetaMask for *ĐArcher* should be correctly built when [building the project](#Build Project). The built artifact (Chrome Extension) can be found under packages/darcher-metamask/builds/chrome.

Off-Chain State Fetcher (Browser Extension)

ĐArcher supports fetch off-chain state from HTML DOM in a DApp's website. This functionality requires a Chrome extension to make it possible.

Off-Chain State Fetcher (Browser Extension) should be correctly built when [building the project](#Build Project). The built artifact (Chrome Extension) can be found under packages/darcher-dbmonitor-browser/dist.