Skip to content

Commit

Permalink
🏺 Added instructions for artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGRAV3R authored Sep 8, 2024
1 parent 6a3bf60 commit 7bbc9c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ Created a lottery directory inside packages that houses the contracts
cd packages/lottery
npx hardhat compile
```
this will generate the artifacts folder that you can call in your scripts ie:<br />
import { abi } from "../artifacts/contracts/Lottery.sol/Lottery.json";
𝘵𝘩𝘪𝘴 𝘸𝘪𝘭𝘭 𝘨𝘦𝘯𝘦𝘳𝘢𝘵𝘦 𝘵𝘩𝘦 𝘢𝘳𝘵𝘪𝘧𝘢𝘤𝘵𝘴 𝘧𝘰𝘭𝘥𝘦𝘳 𝘵𝘩𝘢𝘵 𝘺𝘰𝘶 𝘤𝘢𝘯 𝘤𝘢𝘭𝘭 𝘪𝘯 𝘺𝘰𝘶𝘳 𝘴𝘤𝘳𝘪𝘱𝘵𝘴 𝘪𝘦:<br />
import { abi } from "../../artifacts/contracts/Lottery.sol/Lottery.json";


<h4 align="center">
Expand Down

0 comments on commit 7bbc9c4

Please sign in to comment.