diff --git a/README.md b/README.md index 81499a9..d4e0e92 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,26 @@ In an industry often plagued by issues such as fraud, lack of traceability, and ## Installation ```sh ### Blockchain section +# 1. Option1 - Initialize a scaffold-eth2 project +npx create-eth@latest +cd project_name + +## 2. Option2 - Start right away from the scaffold-eth2 repo +git clone https://github.com/scaffold-eth/scaffold-eth-2.git +cd scaffold-eth-2 +yarn install + +## Initialize a local blockchain +# In the first terminal +yarn chain +# In the second terminal - deploy contracts +yarn deploy +# In the third terminal - start app +yarn start + +# Run tests +cd packages/hardhat/test +yarn hardhat:test ### Frontend section diff --git a/packages/nextjs/app/(app)/account/page.client.tsx b/packages/nextjs/app/(app)/account/page.client.tsx index ce4e117..fa968e7 100644 --- a/packages/nextjs/app/(app)/account/page.client.tsx +++ b/packages/nextjs/app/(app)/account/page.client.tsx @@ -4,13 +4,17 @@ import { Address } from "viem"; import { useAccount, useDisconnect } from "wagmi"; import { Balance } from "~~/components/scaffold-eth"; import { AddressQRCodeModal } from "~~/components/scaffold-eth/RainbowKitCustomConnectButton/AddressQRCodeModal"; +// import { AddressInput } from "~~/components/scaffold-eth"; +// import { Address } from "~~/components/scaffold-eth"; export const AccountPageClient: React.FC = () => { const { address: connectedAddress } = useAccount(); const { disconnect } = useDisconnect(); + // onst [address, setAddress] = useState(""); return (
+

Account Balance