Text this: Distributed Power Trading Mechanism Based on Blockchain Smart Contracts