Although the government's guideline says that こんにちは is correct, people occasionally use こんにちわ either in jest or just out of ignorance. Apart from that, わ may be more appropriate for abbreviated greetings like こんちわ, ちわ, or ちわーす when writing in a conversational tone.