Skip to content

stefan93/solana-vote-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-vote-program

Simple vote program for solana.

  • To build solana program --> npm run build
  • To start solana-test-validator, deply program and run all tests --> npm run test
  • e2e tests see: ./src/client/test/e2e/transaction.test.ts
  • Program Instructions:
    • Create Voting
    • Vote
  • Client API see: ./src/client/src/api.ts
    • VoteAPI.createVoting()
    • VoteAPI.vote()
    • VoteAPI.readVoteAccount()
  • TODO: everyone can vote, restrict with custom tokens...

(note: This is just small exercies, nothig more...)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published