Skip to content

DAOhaus/legt-protocol

Repository files navigation

git clone https://github.com/DAOhaus/legt-protocol.git

yarn install

yarn chain

yarn deploy

yarn start

Notes

style & components

Whenever possible use our custom components Input, Button, Loader, Text etc... For quick additions or non-display elements like <Box> or <Flex> feel free to use Chakra directly or tailwind css For more complex additions create a custom component and wrap either DaisyUI or Chakra component This should allow for things like dark mode and a way to easily maintain / update

smart contract hooks

Use built in hooks useScaffoldContractRead and useScaffoldContractWrite and other already included functions that Scaffold Eth comes with automatically.