An atomic swap is a smart contract technology that empowers the exchange of one cryptocurrency for an alternative…