Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 402 Bytes

README.md

File metadata and controls

8 lines (8 loc) · 402 Bytes

Counter Program on Solana using anchor

  • run anchor build to build the program
  • run npm install
  • change location of your anchor wallet in package.json scripts
  • npm run create - creates a counter account
  • npm run update - Updates the value to 5(yyou can change it in app/update.js)
  • npm run gpa - GetProgramAccount call to your program to list all the pda
  • npm run close - to close your account