Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
607 views
in Technique[技术] by (71.8m points)

reactjs - Clientside payment solution in React (no server)?

Do you know of any payment solution for React that don't require any backend? I've tried implementing Noodlio as it said that it would work for React. I could not find any projects using react and Noodlio and I didn't get it to work.

So: has anyone gotten Noodlio to work with React and are willing to tell me how?

Or are there any other payment solution that doesn't need a server?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Payments are Exactly Transferring Money Or Giving Credit from One Client to Another.

Credit Amount Have to be save in some place.

Client-side is not a good field for this work because the receiver should trust the sender and sender always could get offline and get unreliable ....

so there need for an back-end which has to be:

  • always accessible (online)
  • trust able by a wide range of people

but this criteria can be made via 2 approaches:

  • centralized : which needs a server which perform payment action and client would communicate with APIs.

  • decentralized : client sending payments to miners to approve. (in this case there is no need for you to implement backend)

The Most Security issue that concerns client is how to avoid account hijacking:

  • in centralized : client should transfer sensitive data securely and saving no tokens/ password in client system.

  • in decentralized: client shouldn't save any private key or backup phrases in client side. every other aspects are secure via blockchain back-end.

for a successful only Client Implementation Payment Solution, i recommend you to use Cryptocurrency blockchains as a backend.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...