HomeРазвлеченияRelated VideosMore From: m1xolyd1an

Coding a Simple Bitcoin Paywall in Under 10 Minutes

150 ratings | 11078 views
How to build a bitcoin paywall in 10 minutes with PHP & AJAX. APIs used are smartbit.au and blockchain.info. Sorry about my loud cat. My Book: https://www.amazon.com/Building-Bitcoin-Websites-Beginners-Development/dp/153494544X Source: https://github.com/coinables/Simple-Barebone-Bitcoin-Paywall
Html code for embedding videos on your blog
Text Comments (34)
Malayali Mon (1 month ago)
The King Hat Off Man Thanks 1m
tranceformers (4 months ago)
Hey why jQuery, native script is best!!
m1xolyd1an (4 months ago)
@tranceformers yea it should. I haven't tested it since but let me know if you have issues.
tranceformers (4 months ago)
@m1xolyd1an hey I understand, np. I want to know if this tutorial is still good to go in 2019. Thanks and have a good one.
m1xolyd1an (4 months ago)
Speed
Softfigures Online (4 months ago)
Your cat needs tender loving care
Softfigures Online (4 months ago)
:) ok
m1xolyd1an (4 months ago)
It was past his dinner time and he wanted to make sure I was aware >^.^<
federico moroni (7 months ago)
pls turn the cat off
federico moroni (7 months ago)
m1xolyd1an ahah im kidding its lovely
m1xolyd1an (7 months ago)
Yeah annoying I know, but i wasn't going to start over.
Jewelson Noronha (8 months ago)
Or you can do it through php for more secure way
Zorn101 (1 year ago)
Your cat is in heat Bro.
gabriel gabriel (1 year ago)
Hello I need you to make the bitcoin exchange for me
Achim Andrei (1 year ago)
The power of Windows Notepad...
Marmite (5 months ago)
and php...
Pandy Boo (1 year ago)
here is decode info also https://www.blockcypher.com/dev/bitcoin/#push-raw-transaction-endpoint
Pandy Boo (1 year ago)
Hi: I think I have figured out how to decode my bitcoins. I want to know if you know of the easiest way to complete this formula. Can this be done in blocktrail or smartbit? Could you show me how to process the code? I’m having trouble with my text editors I can’t get the bitcoins files to load. I just figured this pathway out in the last two days. The video below at 9min 36secs shows how to execute the transactions. It looks very simple. I’m just tech and time challenged at the moment. If the private keys are not needed for the coin because they are in my wallet in the data, then someone like your self could process a bitcoin and it should allow me to spend it in my wallet. If you can help in any way it would be exciting and if we got the coins to process. I would be happy to compensate for your time. Here is the pathway it seems very easy. In this video at 1min35secs https://www.youtube.com/watch?v=26nDcvCExW0 the teacher shows the transaction for the very first block chain block created in 2009. He shows how the newly generated coins are given value. His video shows how the hashed Hex is then turned from big endian to little endian. A new transaction id is created which transfers the outputs to the inputs. This is the message I get from blockchain.info that I need to consolidate my outputs and inputs. I did read if the transaction is a coinbase transaction the Scriptsig would not be used in the redeem Hex I’m not sure which script would be Maybe the op hashes would be. Here are the codes from the teacher BITCOIN GENESIS RAW TRANSACTION https://www.mobilefish.com/download/cryptocurrency/bitcoin_genesis_raw_tx.txt Python script -calculate-the-txid-of-this-raw-transaction https://www.mobilefish.com/download/cryptocurrency/calculate_txid.py.txt https://bitcoin.stackexchange.com/questions/32765/how-do-i-calculate-the-txid-of-this-raw-transaction Message from the web about signatures So you want to sign on another device, but have the hex for the transaction sent without all the required signatures? In bitcoinjs-lib terms, we call this an incomplete transaction. The code for no signature. console.log(tx.buildIncomplete().toHex()); These coins are from mining for a treasure hunt. Here are some transaction ids from my wallet e39c4a6f1c52f21069d49fdd948efab61ac433a5d3d64c3d4fc0956ccc8e5086 573d1998909d2e8b495403000140a93eb5602cc1c43a0d2bb5a637983b554d81
Fábio Mattes (1 year ago)
I need it there for dash
Dream Master (1 year ago)
Can you please do coinpayments api tut. mass withdrawal with api
John Doe (1 year ago)
payload for quadriga in php, please
Blame The Crypto BTC (1 year ago)
Thanks for your inspiration CI I started doing crypto videos on my chanel thanks to you
James Bond (1 year ago)
Would you like to do a live stream on my channel?
James Bond (1 year ago)
sent you email. Hope you can do a live stream with me Thanks.
James Bond (1 year ago)
m1xolyd1an sure thing
m1xolyd1an (1 year ago)
James Bond sure, what did you have in mind? My schedule is pretty full but usually Monday or Wednesday evenings PST usually work best. Shoot me an email coinables at gmail
Retro Gamer (1 year ago)
Please use vs code. Life without syntax highlighting T_T
Oyewole ABAYOMI S. (1 year ago)
Great job, try it out... work great but sending GET request to blockchain URL https://blockchain.info/address/btc_address?format=json seems slow, can i call localhost/address/btc_address?format=json using blockchain service-my-wallet-v3 to get the same data?
Spiro Tech (1 year ago)
I remember you to do xapo api integrate to website,.. send code in message
Oyewole ABAYOMI S. (1 year ago)
Is it right to ask for xpub key from the users to enable them to accept payments on a membership website???
Oyewole ABAYOMI S. (1 year ago)
Wow, i have what i've been looking for. thanks man
Spiritus (1 year ago)
Fantastic! Will be definitely buying your book. Looks great. Btw.. Your cat was probably trying to tell you to slow the typing down a bit or you'd make a typo. Cats are very wise. :)
amazing, fun, quick and super useful. Thanks!
Spiro Tech (1 year ago)
xapo api integrate in php code please

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.