Video walkthrough tutorial of solana-labs' example-helloworld repository.
Modified code available at example-helloworld/, captions and thumbnail accordingly named on root folder.
- Install depedencies
- Install JS lib via yarn/npm
- Start docker daemon
- Export env variables for correct configuration
- Update your solana image with localnet:update
- Start your localnet cluster with localnet:up
- Build your program with build:program-name
- Run with npm run start
If modifying helloworld.ts:
- Save changes
- Run with npm run start
If modifying rust/C code:
- Save changes
- Build your program with build:program-name
- Run with npm run start
Shutdown:
- Stop your localnet cluster with localnet:down
- Stop your docker service
Acid Trumpet by Kevin MacLeod
Link: https://incompetech.filmmusic.io/song/3340-acid-trumpet