Тёмный

How To Build Raw Bitcoin Transactions in NodeJS 

Подписаться
Просмотров 15 тыс.
% 254

This developer how to video is a simple example of how to use the bitcoinjs-lib library in order to create bitcoin addresses and build raw transactions.
Bitcoin JS Library: github.com/bitcoinjs/bitcoinjs-lib
Examples: github.com/coinables/bitcoinjs-lib-Examples

Развлечения

Опубликовано:

 

8 май 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 41   
@toniyasundaram
@toniyasundaram 5 лет назад
I spent a week to create a raw transaction but none helped... but you made it in just 30 mins. Thanks much . you are just awesome
@tusharsharma8171
@tusharsharma8171 Месяц назад
Great Demo...! Really Helpful....! just wondering, when are you creating a demo for etching, minting and trasfering Runes....! Desperately need one
@ivanabadzhiev1214
@ivanabadzhiev1214 5 лет назад
Thank you, man. It was very useful for me :)
@nion456789
@nion456789 6 лет назад
Smashed the like...keep making more videos...like this......
@raulnoheagoodness
@raulnoheagoodness 6 лет назад
I like this video - short and sweet, covering the minimum needed to build and sign a raw tx. To broadcast in code, you would need to push to a 3rd party API or use a local *coind node.
@mikej8158
@mikej8158 2 года назад
coind never works. if you build it there and push on other places ..
@aspiceoflife
@aspiceoflife 3 года назад
How to calculate change (left over funds)? in the 2nd addoutput?
@markherher6983
@markherher6983 6 лет назад
Can you make video tutorial for the complete app with wallet creation and broadcast transaction?
@coinables
@coinables 6 лет назад
Sounds like a good idea! It would be a series, too long for one video. I'll keep it in mind for sure, thanks for the suggestion.
@mikej8158
@mikej8158 2 года назад
Hello... do you have this in your examples.. where its signrawwithwallet ? .. . thank you.
@ghostlyscared
@ghostlyscared 4 года назад
Getting an error. Script not verified successfully. Help? Edit : Using psbt in Bitcoinjs-lib 5.1.1 works
@nathannoetic5348
@nathannoetic5348 Год назад
Thanks man for the vid..btw do you have any idea to get top 100 BTC adress and its balances from bitcoin core?
@coinables
@coinables Год назад
Bitcoin core is meant to be a client; to make a rich list or top 100 you have to parse each block keeping track of inputs and outputs. The parsing needs to be done in a database, a layer on top of bitcoin, so you can keep track of balances. Once the whole chain has been parsed you can order outputs by balance assuming you used a relational database. Naturally this parsing can take a long time and requires you to write looping scripts using bitcoin RPC API to fetch each block and read each tx.
@nathannoetic5348
@nathannoetic5348 Год назад
do you write about this topic in your book?
@coinables
@coinables Год назад
No it is not. More about how to implement bitcoin in a website. It's outdated (written 7 years ago) and focuses on the LAMP stack.
@jaimeirazabal
@jaimeirazabal 6 лет назад
hello man, you are good given courses.. Do you know how implement Atomic Swap? Maybe with nodejs you can implement it. Please i need to do that maybe testing cases.. Thanks!
@jacques42
@jacques42 5 лет назад
How can one listen to new transactions coming in process them? Is there some function to listen to transaction events?
@scottmcmahon7209
@scottmcmahon7209 2 года назад
This is a good question, I am wondering the same thing. Have you found a way to listen for incoming transfers to a bitcoin account?
@nickjunes
@nickjunes 5 месяцев назад
Ok how could you do this but with an inscription as well?
@SilverSurferFTW
@SilverSurferFTW 5 лет назад
Private keys and public keys are the same for testnet and mainnet. The only difference is the procedure for address generation from public key.
@0x007A
@0x007A 8 месяцев назад
Never use the same key-pair for testnet and mainnet. Never.
@pianoLee-sx9dx
@pianoLee-sx9dx 3 года назад
Can i use this method to transfer some funds out from a posible illegal trading platform?
@Nikith1519
@Nikith1519 Год назад
Please make a video on sending testnet coins to mainnet.
@toniyasundaram
@toniyasundaram 5 лет назад
It would be great if you could make a video on multi signature
@coinables
@coinables 5 лет назад
I did one a while ago you can check out ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-YN2Vyu9RupU.html
@sagargopale8718
@sagargopale8718 3 месяца назад
Is it the same for regtest server too?
@CuteThingsChannel
@CuteThingsChannel 6 месяцев назад
What can I do with raw transactions?
@samanyousefi6455
@samanyousefi6455 3 года назад
I was a little confused why the new address you created had a transaction ؟!
@serispeaks
@serispeaks Год назад
He loaded the address from a testnet faucet. They give out free testnet coins which have no value when you put in the addy
@yamimithibai6486
@yamimithibai6486 2 года назад
makeRandom not working
@El_ii
@El_ii 2 года назад
This Libary doesn't work anymore 2022
@coinables
@coinables 2 года назад
Yea bitcore is no more. Bitcoinjs is the most reliable lib these days
@cryptosteveftm_2741
@cryptosteveftm_2741 3 года назад
Doesn’t work out the way you explained 😤
@machakala6389
@machakala6389 2 года назад
Do you have an email ?
@graphicdesignandwebsolutio365
@graphicdesignandwebsolutio365 5 лет назад
buy, buy, buy... if it dips, sell...