I am thinking about making a service in which my customers can pay for me via bank accounts, credit cards, paypal or whatever. But the point is that the payment process will be made on the blockchain. Here's what I thought: I would make a mobile app in which when a new person A registers to use my service, he has to give the information about his bank accounts (bank numbers, passwords,..). This information will not be stored on my server, instead, it will be stored somewhere on the blockchain. When A wants to pay, he will send something (like a private key) to my app. The app should use that information to call a smartcontract to get access to the bank information of A that was stored somewhere on the blockchain. Then the smartcontract will handle the bank payment process via the information of A's bank account. I am a programmer and relatively new to blockchain and I don't really know if the idea could work. The point is that all the infomation like bank numbers, passwords should be stored in blockchain and the only thing my app server does is getting something (or an authorization) of users that allow my smartcontract to access these information. Does anyone know if this idea can be applied? If yes, is there any concrete solution for this idea?

1 Answer 1


This won't work for multiple reasons.

  • In blockchains, all data is public. It is not a place to store passwords or banking info.
  • This will cost you and users a lot-storage on Ethereum or any other smart contract chain is expensive.
  • You don't really utilize smart contracts here-you just store data.

End result: either make payments over the blockchain instead of storing people's banking information there, or just store your information on a server.

  • Thanks for your answer!! How about I store my customer's bank account in a NFT and give it to the customer, whenever they want to pay, I just simply ask them to give me permission to access information on that token?? Will this work in this way?? Thanks a lot. Apr 2, 2022 at 13:58
  • All of my points will still be valid concerns. It is still 100% public information-NFTs are just contracts that also live on the blockchain and it has not much special compared to just using a straightforward contract.
    – bru53001
    Apr 2, 2022 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.