How to build Install solana-cli cargo rustup Install anchor Run command anchor build How to deploy Run following command solana program deploy ./target/deploy/private_vesting.so