Skip to content

Walkthrough hello world on Solana using the Javascript API.

License

Notifications You must be signed in to change notification settings

canokaue/example-helloworld-video

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

Languages

  • TypeScript 54.7%
  • Rust 16.9%
  • Shell 14.9%
  • C 13.0%
  • Makefile 0.5%