Skip to content

d-reader-organization/d-publisher-frontend

Repository files navigation

d-publisher-frontend

Next.js frontend for dPublisher 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 dPublisher dapp on Solana

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published