AbstractResilient of routing processes is one of the biggest challenges for data transmission in mobile networks without infrastructure. Communication under current routing protocols is through a communication path that, although the shortest, may not perform satisfactorily in terms of resilient. Routing and communication within such a path may take place using nodes that are malicious or inappropriate in the communication process due to malicious or poor technical state. This paper presents a new algorithm for various uses of mobile ad hoc networks not only in edge networks with infrastructure but also with the possibility of being used in the cloud solutions. We have modified decentralized blockchain technology and artificial intelligence using deep learning methods that have been implemented in routing processes. The objective of this algorithm was to select the most resilient communication path from the source to the destination node. Such a communication path selection consisted of selecting the nodes that were most suitable in terms of resilience, where the selection nodes was provided through a network and technical parameters. The key quality of service metrics, throughput, total delay, number of delivered signaling and data packets and the ratio between them were used to evaluate the proposed resilient routing algorithm. Modified resilient routing protocols achieved improvement in all the analyzed parameters compared to the original routing protocols. The improvement in these parameters led to an increase in the resilience of the routing process based on the actual data obtained from each node in the network and previous communications.