Instructions anchor build anchor deploy make sure you are using localhost with solana config get. If not using localhost, then run solana config set --url localhost solana-test-validator anchor test