Generate new wallet to test with
solana-keygen new -o ./key.jsonRun a test validator in a new terminal
solana-test-validatorAirdrop tokens to your new keypair
solana airdrop 10 --keypair ./key.json --url http://localhost:8899Install Anchor
anchor deploy --provider.cluster localnetRun a demo
anchor run clientPossible Gotchas
Error: AnchorError occurred. Error Code: DeclaredProgramIdMismatch. Error Number: 4100. Error Message: The declared program id does not match the actual program id.Make sure you take the deployed programId from the terminal and update the declare_id in the program, then build then redeploy.