JarethRader / CryptoLib

Updated repository for CryptoLib
0 stars 0 forks source link

Add payment for checking out a book #12

Open JarethRader opened 4 years ago

JarethRader commented 4 years ago

Eventually, when we move Cryptolib to be using the Main Ethereum Network and start hosting copyrighted books, we will have to charge a fee for checking out a book.

This will most likely be in the form of a transaction request of a small amount of ethereum when they press the checkout button, and once approved, will send the checkout transaction.

Here is a good place to start for how to add the ether transaction request: https://davekiss.com/ethereum-web3-node-tutorial/