How to solve the blockchain infrastructure security problem while creating a dApp