/example-helloworld-video

Walkthrough hello world on Solana using the Javascript API.

Primary LanguageTypeScriptMIT LicenseMIT

example-helloworld-video

Video walkthrough tutorial of solana-labs' example-helloworld repository.

Modified code available at example-helloworld/, captions and thumbnail accordingly named on root folder.

Links

Steps

  • 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

Background music

Acid Trumpet by Kevin MacLeod

Link: https://incompetech.filmmusic.io/song/3340-acid-trumpet

License: http://creativecommons.org/licenses/by/4.0/