d-reader-organization / d-reader-frontend

Next.js frontend for dReader dapp on Solana

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

d-reader-frontend

Next.js frontend for dReader dapp on Solana

Setup

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.local

Then start the app:

npm run dev

Open http://localhost:3000 with your browser to see the result.

.env

  • NEXT_PUBLIC_SOLANA_CLUSTER can be either mainnet-beta, testnet or devnet. Rule of thumb is to use devnet on localhost development, and mainnet-beta for production applications
  • NEXT_PUBLIC_SOLANA_RPC_NODE_ENDPOINT is 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

Contributing

When contributing please follow the guidelines specified in the CONTRIBUTING document

About

Next.js frontend for dReader dapp on Solana


Languages

Language:TypeScript 85.9%Language:SCSS 13.8%Language:JavaScript 0.3%