This repository hosts the code for the client for the WrdHom project.
npm install
-
Follow the instructions in the wrdhom_contracts repository to deploy your contracts.
-
Start
service
,workers
, andprover
as explained in the wrdhom_server repository. -
Set the
NEXT_PUBLIC_POSTS_CONTRACT_ADDRESS
,NEXT_PUBLIC_REACTIONS_CONTRACT_ADDRESS
,NEXT_PUBLIC_COMMENTS_CONTRACT_ADDRESS
, andNEXT_PUBLIC_REPOSTS_CONTRACT_ADDRESS
variables, to the respective public address of each contract (you can find them in thekeys
directory, generated in yourwrdhom_contracts
repository).
npm run dev
npm run build
npm run start