A method and system corresponding to a secure architecture for executing Internet of Things (IoT) device actions using blockchains is described. A network of IoT devices can manage two blockchains. The first blockchain can store operational data, collected from the IoT devices and written to the first blockchain. A second blockchain can be used to store action data.