This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
// Import Chainlink's AggregatorV3Interface for retrieving off-chain data | |
import "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol"; | |
// Import OpenZeppelin's Ownable for ownership management | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
// Import OpenZeppelin's ReentrancyGuard for security against reentrancy attacks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://hardhat.org/hardhat-runner/docs/getting-started#installation | |
https://nodejs.org/en | |
Installation & Setup | |
A. Prerequisites: | |
- Node.js and npm: Ensure you have [Node.js](https://nodejs.org/) (which includes npm) installed. Verify installation by running: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useState } from 'react'; | |
function Card({ title, text, target, linkTitle, href, rel, onClick }) { | |
return ( | |
<div className="card"> | |
<div className="card__title">{title}</div> | |
<div className="card__text">{text}</div> | |
<a className={`default-link card__link`} target={target} rel={rel} href={href} onClick={onClick}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ref: refs/heads/main |