Start of coin implementation.