/d3labs-test

D3Labs Technical Assessment

Primary LanguageJavaScriptMIT LicenseMIT

Technical Assessment

The program is for getting ETH value from Bored Ape Yatch Club (BAYC).

Installation

  • Please make sure you have Node.js installed
  • Clone this repo
  • Run npm install to install dependencies

Usage

$ node main.js --epoch <timestamp>

example

$ node main.js --epoch 1692698406

┌──────────────────────────┬────────────────────────┐
│ BoredApeYachtClub (BAYC) │ 2023-08-22             │
├──────────────────────────┼────────────────────────┤
│ ETH balance:             │ 0.010201 ETH           │
├──────────────────────────┼────────────────────────┤
│ ETH value:               │ $17.00 (@$1666.84/ETH) │
└──────────────────────────┴────────────────────────┘

To get help you could run

$ node main.js --help