Blockchain Programming in C#

Dear developers, and Bitcoin addicts,

I wrote Blockchain Programming in C#, so I hope you too, hobbyist, startup and big corporation will move the block forwards.

I get too much questions and requests for helping everyone to build on the Blockchain. But sadly, I only have 24H per day, no matter how much coffee I drink.

Writing is the most scalable way to share my knowledge. And coherently with such a goal my work is under CC (ASA 3U), so you are free to share. (and encouraged to do so)

Code examples

The book contains multiple example about how to use NBitcoin. Moreover, this website is itself open source, so you can take a look and play with it by yourself.

Hall of the Makers

As you will read the book, you will have some challenges.

For the first challenge, you need to send me at least 0.0004 BTC on 1KF8kUVHK42XzgcmJF4Lxz4wcL5WDL97PB with some kind words in the OP_RETURN of your transaction.

This money goes into my "Coffee and Sushi Wallet" that will keep me fed and compliant while writing the rest of the book.

You can download the first part of the book for free to know how.

Here are the true makers that cleared the task, ordered by success, generosity then time (confirmed only):

Current block height: 649065 (0 h 2 min 40 sec ago)

Position Address Amount Kind Words Transaction Id 1 19MyKR8sQSpoVxKpaBos5zrqK7tcSAsJyG 0.13370000 Nice uses of colored coins, well explained! :) Link 2 18bximb4njHjo1TpvpCDL75q26KnbKoXoz 0.02000000 Best Regards, Thank you kindly! :) Link 3 16HqBWKkC92YEWQMNLXFuFQNhzrDbwBY6j 0.02000000 Ashish81 : NBitcoin is Awesome, Thanks :) Link 4 1KtYTyyh7V6MfFWntwzKMKmVCpugzd2Bxu 0.01068365 Thank you Nicolas!! - JungleHeart Link 5 1NP8zmaVo7mQdeeThgWQcnBZ7U2ZBS12by 0.01000000 Thanks! :) Link 6 1Hit1tMzZd7zgCA5KrQQPzbvYBKs3ej4Sh 0.01000000 I t w o r k s ! T h a n k s n i c h o l a s / a d a m Link 7 1F5b1CiKJC8JGqSButjeyvo92daw1TbG2d 0.00950000 Excellent Link 8 16q5XgW2mRaSBrsYncAXFMhAGNFDpKfHaK 0.00650000 NBitcoin is great!! from YOKOHAMA. Link 9 14SHWbReg8ioupEaFBPr8LywavzFYWrbbv 0.00600000 Salut et bravo pour NBitcoin! Link 10 14dBuGUPWhjnYkKQvoW2vCNQuygNmt5U1n 0.00500000 From hypergori,Thanks for a great book and this is 80 bytes message on OP_RETURN Link 11 1P5a52yZ2EspooeoxraUKs2tMeQfcwMUmS 0.00500000 gorazdko loves NBitcoin too Link 12 1P4iaL7zDmyaTz8Dg5ocF5JV35eVL5kRZx 0.00450000 WooHoo! Awesome Tutorial! >:D Link 13 1LUtd66PcpPx64GERqufPygYEWBQR2PUN6 0.00400000 Thanks ! :) Link 14 13YzGYW93qs3Y6YJp2Ac8ZX3jEAg3jgWDs 0.00400000 Bill Strait says hello and thank you. Link 15 14dSoNuCUEMpuSBhsMAzdvB6D4mVuaUrL7 0.00400000 Amazing! Link 16 1DdY4rrrcQtLv6R4gqPg8G47Q2sH57ZkeG 0.00400000 Thanks! Marek Link 17 1APbYrSf3KHwwJMx5zLXeosyRoy15dLktc 0.00400000 Thanks ! ;) Link 18 12thvqD6wMfyVuVxR8myrtHbSZp4jhh5uU 0.00400000 You're a star!!! :) Link 19 1BJatyvD6vQxX8hmKYHH3X6HPAgUECyHRo 0.00400000 Bill Strait is updating screenshots. Link 20 1B9frxWTcyiTx5W6RUZCfB15fJrX6ZiYs2 0.00400000 Thanks ! :) Link 21 1NpYetwzxsuxTqwCsjABDvA8YYU9pU5F5z 0.00400000 YarkoL loves NBitcoin Link 22 154so9NEUYcZEZA1uoRF1fXA4Uq84MY1FH 0.00400000 Great book. Want a job? join.readify.net Link 23 19fVWeRJhgsP3EzZP47k68N7vEbVSWnKuT 0.00400000 reddit.com/user/nopara73 Link 24 1A8zb49WCSKbCUpcvsm8ShnFQ61wrjF2H8 0.00400000 Thanks! Go barefoot! Link 25 1G3zxxS77pM7ovRwjZtpULXoqUnVy1tLfv 0.00400000 Thanks ! :) Link 26 14cZdFpNGWbQTp9RNFXyampuhj61sBzr4s 0.00400000 Heber says Hello!! Link 27 1KKtuBn4RHEWCtaQzuzXvNnAth5Ve7XUgP 0.00400000 Thanks! from jeffsurcess Link 28 1LXrNAknqr2VUy5chKHTn52q3nZjJ7uDTT 0.00400000 From Botcoin Link 29 18yFEA3ush88C9DDv4hAW43iuJkdSwTzeA 0.00400000 Thanks from Tomoaki at Tokyo! Link 30 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00400000 Yo What's UP Nic! :) Link 31 17rp66spgaqyt9yMMje8JJde7jkkWdByYo 0.00400000 Thanks! Link 32 1DzYnw5i5u7o8UTjCinfnNvL36E6eXQZuo 0.00400000 Thanks ! :) from Wichit Link 33 1PvjNSa9ZbPFU7iTiP3wcVRuyMrDvz7SjX 0.00400000 Thanks ! :) Link 34 12itMJwyRNnCfqioBuKjd4yZRYbzHj9ZnN 0.00400000 Nicolas, thanks a lot! :-) Link 35 19f9jQ2YoebMrAWU75GThsSdf96g2owDFR 0.00400000 Thanks ! :) Link 36 1HF9jCriPppd4rAk2R72uYCwcM1HtnMSV4 0.00400000 Greate book! Link 37 14DMvcPMmHki3MFj47C9iA8xQNCo9cfijR 0.00400000 * RoB says 'thanks!' Blöckchaïn rules! * Link 38 1Mw1YKAt5bTBGunFT6Cj8pr2LT2XZyF3H 0.00400000 Great work Nicolas ! :) ~AB Link 39 1FZnoy79sKvBG1BgVAAmPFqGdU6igSD8ck 0.00400000 Now reading the book :) Link 40 1Jxu9fqA1znpnLQhZv9hqhraJk7S3pEqUL 0.00400000 Thanks ! :) Link 41 1PWKTpMCg23BQXL8WJvDqDzBBvqrtBsdPd 0.00400000 Thanks from Ken TCentral! Link 42 17TFmehNNqCiP1Whq9i2QTSLgaMR3McMiP 0.00400000 Great book, thank you from Takayuki at Tokyo. Link 43 1HavJmprWhgjvAWiXaDmUtV5VL9NaYgW9T 0.00400000 Thank you! Link 44 1CV9WvAz67hhzDfrGoqbHKcymEoWhxRdvz 0.00350000 Thanks for the great book - @dotnetbear Link 45 115L6RrGCK3rnaWR8QvAkNy9ono1UJuLkT 0.00280000 Ramon & Sylvia Camarillo on the Chain! Link 46 1Htc3vqwyMiP8DYWECNaY4Zg9ESsMkUhFT 0.00200000 JPS02 - Thanks ! Link 47 18cH4sHhkNA3bWvo5deXtRbcZFkY3ZouAx 0.00150000 GPJ loves NBitcoin! Link 48 1KSm3e8aVeCf9w6mRo63ArNwpEo1qv1B3A 0.00100000 Thanks! :) Link 49 1BBWTJDZSmRPm3vT6gnkdFjkE81e9UYMmK 0.00100000 libertas aequitas veritas Link 50 16APthfkeSC8GpynHz41RwGEGACYTNAHoD 0.00100000 Thank you Nicolas and Adam!!! -Paz Link 51 19be3RHnQsytNdBv6tkBzoMTx4b9rkEBR2 0.00097000 Grab a 'Flat White' on me, Nicolas. Keep up the great work. Link 52 1GA9AijMQNFtg7vPGZUetk7aZF8rrSJa7X 0.00092060 More to come! Link 53 1D4U2KAjCtg1oATwoCAN2CJqKfaCkkWS8E 0.00080085 Blockchain is weird but in a good way Link 54 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00080000 Yo What's UP Nic! :) Link 55 1MmG7tZ5ka21RUddqJPRforf1PwFS2TAqN 0.00077355 Great Book, Regards Mz Link 56 1GsFz8tWaBCUgNU9Fgxc3JpAccNGcAYdv7 0.00050000 Thanks a lot, keep it up :) Link 57 1KFQupmY6Kq1jTL6aCnw614kUXCW1a7d6L 0.00043692 jedi master is blockchain Link 58 1PCLtkUwmSw8HEHE5UxM6KgevTUCfR6Gq4 0.00041000 Thanks for this great resource! Enjoy! Link 59 1Htm5b771kzJeAEd6L5Vvcxm8oQ94kfis8 0.00040000 Thanks from Tomoaki at Tokyo ! Link 60 1MFt8ifgV1u11eg2aMLuLZvxF56qgAhuME 0.00040000 See you in Japan @ ScalingBitcoin 2018! - @igorgue Link 61 18Cf4LhiW3RwYbUH4xaQS9hmNH6TcM25Aw 0.00040000 Thanks from Shen Longbin 申龙斌 Link 62 1EMzreNZEDGTLREaR8rCHbZS72JBo4QauB 0.00040000 This book is awesome, GF Link 63 1FQiX2KRYJH6qGTi48YKUM7LCQh7WNKuyt 0.66431513 (lazy) Link 64 17Q2JmL3PpxfvqhEKdCzQxnng2m9S7xe3d 0.12345678 (lazy) Link 65 3PuSLTXsksJSUH3hn12ScP2BaM5D4QaCMX 0.10000000 (lazy) Link 66 1CKhokaLZrLELZCsDEN55yvfELd8iDxsF5 0.03000000 (lazy) Link 67 1mzeXBi8TjL5V1usdnP5dZTfoZ76x3Wy1 0.02500000 (lazy) Link 68 3QJimE4EmtcG5iuuvXJGUEd8qnBpLBsR9x 0.02000000 (lazy) Link 69 1HX1VgHLe7fzy4NM8LGT41caAkW5rPdmbE 0.01000000 (lazy) Link 70 1BfaVUNA1uHrbNWH5LcfqKLR9hwATMptzF 0.01000000 (lazy) Link 71 3GpzZvaSZBUZqxY66zY2BPTkAydspZbhcV 0.01000000 (lazy) Link 72 112LMTtaGrPY9Z1ww8ovJRkHa3GMee642B 0.00602600 (lazy) Link 73 14CD1pFpBtFt5QVgbUkBcpTCJ5HUGhHEmG 0.00500000 (lazy) Link 74 1KYgg5hXgXstY2oE1uEbNwmjhqa8GjQsfV 0.00500000 (lazy) Link 75 1JycDPqbtBYpcbJUrX7c14whqRxiLDM2w9 0.00500000 (lazy) Link 76 13A9odWXfs8VEkcyFa9amGmsq7nw827FJQ 0.00500000 (lazy) Link 77 19754oopLFiW13dzvvTM92nX1ZEY78JhQG 0.00492000 (lazy) Link 78 19ogGmweRyP2nNjaysv1dTWEKsSBvW146k 0.00488624 (lazy) Link 79 12tgDWtviV6gwpxP4AGT5EykKvq8pHBiKS 0.00400000 (lazy) Link 80 1AdaX4FUbbANddLbNrE6Qvxfr6emwGiv1Q 0.00400000 (lazy) Link 81 1DQcL8dYP5eYdbYjJLZdMWxR3558HbFnSD 0.00400000 (lazy) Link 82 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00400000 (lazy) Link 83 1C9HtFk55bTbDgFPQmkY8uAjpKpFj5YeUV 0.00400000 (lazy) Link 84 14nxsZPh1EnE9M2HmsGcL6tfLMQbcfFYDs 0.00400000 (lazy) Link 85 13XWJQxyEjT1otZAC3oHVJAV8fyeQgrtUT 0.00400000 (lazy) Link 86 1EL1co7dJaAnqQZauUBi1aVbC7C42P3kNx 0.00400000 (lazy) Link 87 18DuxfZGbeVVApt42JMx3BSwYemAKieJsu 0.00400000 (lazy) Link 88 1EFGXZDsuNqVnHeWAz7HPJAM1bygaDdFGE 0.00300000 (lazy) Link 89 391dNZCiF9mT8tE99oS5vj3T5jQxrkPAbp 0.00253956 (lazy) Link 90 1B1cq2xcaZff9TVzCx1DdVHsBc33XMrt5x 0.00235655 (lazy) Link 91 1MQw5Vvv1ykcPx2ecKnakut5zULWYy7TZt 0.00225235 (lazy) Link 92 bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej 0.00200000 (lazy) Link 93 154udgQ1HR6TBwgwdnBr3FccXgAsjqznt7 0.00180000 (lazy) Link 94 bc1q2hv30a0ree83lsp8qvlfzmd22l7089z5lg9j8f 0.00095500 (lazy) Link 95 1C2oL819GxQrhCSnZ5UVvyheXXUpw2vbve 0.00078105 (lazy) Link 96 1LeeRd2nF19ntewhXF3LdiYTBKRuMoP2UG 0.00055400 (lazy) Link 97 1Cx9dEKkHHScKEvUikx4TdqSNiWbkdbXTw 0.00048500 (lazy) Link

PS: I've seen some people sending 0.0004 BTC but forgetting the OP_RETURN. If you want me to return the BTC, ask me with your signature to refund it on BTC Talk.