- Use Node.js version 18
- Use Yarn installed by NPM only:
npm install --global yarn - Install packages with
yarn install. - Create a file named .env at the root of the project and add the following line to the .env file, replacing "YOUR_API_KEY" with your actual NowNodes API key:
NEXT_PUBLIC_NOWNODES_API_KEY=YOUR_API_KEY - Run
yarn startto start the development server - Open http://localhost:3000 to view the development build in your browser
-
Run
yarn buildto build the app for production to thebuildfolder.
It correctly bundles React in production mode and optimizes the build for the best performance. -
Install Extensions Reloader Chrome extension to enable automatic extension reload after every build.
-
Run
yarn watchto build and reload the extension with every file change.
- See our integration example for instructions on how to use MyDogeMask to accept Dogecoin payments on your own website.