The agricultural domain in developing countries is mostly dictated by archaic rules based on traditions and inherited practices. With the evolution of digitalization and technology, it seems essential to apply new technologies to the agricultural field. Among the technologies to be exploited in agriculture, we mention sensors, IoT, WSN, cloud, blockchain, etc. We talk about smart agriculture in this case. In this paper, we propose a platform secured by blockchain for monitoring and securing production. This platform uses IoT connected sensors to track and save data. Our system is used to monitor the production process of olive trees. The goal is to track everything that enters and leaves our olive tree production from fertilizers, insecticides, and fortifiers to olives, trimming etc. The blockchain via its decentralized system allow a secure, irreversible, and clear monitoring. A dashboard allow us to highlight the changes while facilitating the work of farmers. Our prototype will be embedded via a Raspberry Pi 4 platform.