Skip to content

Latest commit

 

History

History

7.lesson

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

7. Lecture - Frontend for Solana Programs

This week's lecture focuses on teaching you how to build a simple frontend for your dApp.

The repository contains the source code for both the Anchor program as well as the frontend of the bank example created during the lecture.

The Anchor program is already deployed, so you can interact with it by simply starting the frontend and connecting your hot wallet. Make sure your wallet is set to devnet mode.

Tip

Try Deploying the Program Yourself!

You will need to update the program ID as demonstrated at the start of the lecture. The current program ID is already in use.

Setup

To set up the frontend, navigate to the frontend directory and install the dependencies:

npm install

Then, start the frontend with the following command:

npm run dev

Once the frontend is running, it will be available at http://localhost:3000/.


Need help?

If you have any questions feel free to reach out to us on Discord.