Towards sustainable smart cities: A secure and scalable trading system for residential homes using blockchain and artificial intelligence. (January 2022)