/gld-vendor-ui-OLD

FORK of a project

Primary LanguageTypeScriptMIT LicenseMIT

🏵 GLD Vendor

Building a simple UI against a smart contract which can buy and sells fictional GLD Tokens.

I am leveraging eth-hooks, and using this design to style the page.

I am tracking progress here.

The smart contract logic is sourced from my submission to scaffold-eth challenge 2. The contract and out-of-the-box UI can be found on my buidlguidl profile.

📦 install

git clone https://github.com/scaffold-eth/scaffold-eth-typescript-challenges.git challenge-2-token-vendor
cd challenge-2-token-vendor
git checkout challenge-2-token-vendor
yarn install

🔭 Environment

You'll have three terminals up for:

yarn chain (hardhat backend)

yarn deploy (to compile, deploy, and publish your contracts to the frontend)

yarn start (react app frontend)

Make sure you run the commands in the above order. The contract types get generated as part of the deploy, which will be required to build and start the app.

👀 Visit your frontend at http://localhost:3000

👩‍💻 Rerun yarn deploy --reset whenever you want to deploy new contracts to the frontend.