Next.js frontend for dReader dapp on Solana
First, make sure your node version matches the one specified in .nvmrc
Install dependencies and copy the .env.example content into .env:
npm install & cp .env.example .env.localThen start the app:
npm run devOpen http://localhost:3000 with your browser to see the result.
NEXT_PUBLIC_SOLANA_CLUSTERcan be eithermainnet-beta,testnetordevnet. Rule of thumb is to usedevneton localhost development, andmainnet-betafor production applicationsNEXT_PUBLIC_SOLANA_RPC_NODE_ENDPOINTis necessary for application to be able to execute any blockchain-specific actions. Not all nodes are reliable 100% of time so it's best to be aware of alternatives! If your default Solana node is underperforming, feel free to find a new one here. To understand limitations of the default node check out official Solana RPC endpoint documentation
When contributing please follow the guidelines specified in the CONTRIBUTING document