CPChain is a new distributed infrastructure for next generation Internet of Things (IoT). CPChain intends to build a fundamental data platform for IoT system in combination with distributed storage, encryption computation and blockchain technologies, providing the whole process solution from data acquisition, storage, sharing to application.