UNPKG

@urbanisierung/flethly

Version:

easily sell digital assets with ether

11 lines 443 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const pricefeed_controller_1 = require("./dev/pricefeed.controller"); const { ethers } = require('ethers'); async function run() { const ethPriceUsd = await pricefeed_controller_1.PriceFeedController.getEthPriceUsd(); console.log(ethPriceUsd); console.log(`1 ETH = $${ethers.utils.formatEther(ethPriceUsd)} USD`); } run(); //# sourceMappingURL=try.js.map