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)

download new edition old edition

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.

source

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: 504877 (0 h 11 min 54 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 1KtYTyyh7V6MfFWntwzKMKmVCpugzd2Bxu 0.01068365 Thank you Nicolas!! - JungleHeart Link
4 1NP8zmaVo7mQdeeThgWQcnBZ7U2ZBS12by 0.01000000 Thanks! :) Link
5 1Hit1tMzZd7zgCA5KrQQPzbvYBKs3ej4Sh 0.01000000 It works! Thanks nicholas/adam Link
6 1F5b1CiKJC8JGqSButjeyvo92daw1TbG2d 0.00950000 Excellent Link
7 16q5XgW2mRaSBrsYncAXFMhAGNFDpKfHaK 0.00650000 NBitcoin is great!! from YOKOHAMA. Link
8 14SHWbReg8ioupEaFBPr8LywavzFYWrbbv 0.00600000 Salut et bravo pour NBitcoin! Link
9 14dBuGUPWhjnYkKQvoW2vCNQuygNmt5U1n 0.00500000 From hypergori,Thanks for a great book and this is 80 bytes message on OP_RETURN Link
10 1P5a52yZ2EspooeoxraUKs2tMeQfcwMUmS 0.00500000 gorazdko loves NBitcoin too Link
11 1P4iaL7zDmyaTz8Dg5ocF5JV35eVL5kRZx 0.00450000 WooHoo! Awesome Tutorial! >:D Link
12 1LUtd66PcpPx64GERqufPygYEWBQR2PUN6 0.00400000 Thanks ! :) Link
13 13YzGYW93qs3Y6YJp2Ac8ZX3jEAg3jgWDs 0.00400000 Bill Strait says hello and thank you. Link
14 14dSoNuCUEMpuSBhsMAzdvB6D4mVuaUrL7 0.00400000 Amazing! Link
15 1DdY4rrrcQtLv6R4gqPg8G47Q2sH57ZkeG 0.00400000 Thanks! Marek Link
16 1APbYrSf3KHwwJMx5zLXeosyRoy15dLktc 0.00400000 Thanks ! ;) Link
17 12thvqD6wMfyVuVxR8myrtHbSZp4jhh5uU 0.00400000 You're a star!!! :) Link
18 1BJatyvD6vQxX8hmKYHH3X6HPAgUECyHRo 0.00400000 Bill Strait is updating screenshots. Link
19 1B9frxWTcyiTx5W6RUZCfB15fJrX6ZiYs2 0.00400000 Thanks ! :) Link
20 1NpYetwzxsuxTqwCsjABDvA8YYU9pU5F5z 0.00400000 YarkoL loves NBitcoin Link
21 154so9NEUYcZEZA1uoRF1fXA4Uq84MY1FH 0.00400000 Great book. Want a job? join.readify.net Link
22 19fVWeRJhgsP3EzZP47k68N7vEbVSWnKuT 0.00400000 reddit.com/user/nopara73 Link
23 1A8zb49WCSKbCUpcvsm8ShnFQ61wrjF2H8 0.00400000 Thanks! Go barefoot! Link
24 1G3zxxS77pM7ovRwjZtpULXoqUnVy1tLfv 0.00400000 Thanks ! :) Link
25 14cZdFpNGWbQTp9RNFXyampuhj61sBzr4s 0.00400000 Heber says Hello!! Link
26 1KKtuBn4RHEWCtaQzuzXvNnAth5Ve7XUgP 0.00400000 Thanks! from jeffsurcess Link
27 1LXrNAknqr2VUy5chKHTn52q3nZjJ7uDTT 0.00400000 From Botcoin Link
28 18yFEA3ush88C9DDv4hAW43iuJkdSwTzeA 0.00400000 Thanks from Tomoaki at Tokyo! Link
29 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00400000 Yo What's UP Nic! :) Link
30 17rp66spgaqyt9yMMje8JJde7jkkWdByYo 0.00400000 Thanks! Link
31 1DzYnw5i5u7o8UTjCinfnNvL36E6eXQZuo 0.00400000 Thanks ! :) from Wichit Link
32 1PvjNSa9ZbPFU7iTiP3wcVRuyMrDvz7SjX 0.00400000 Thanks ! :) Link
33 12itMJwyRNnCfqioBuKjd4yZRYbzHj9ZnN 0.00400000 Nicolas, thanks a lot! :-) Link
34 19f9jQ2YoebMrAWU75GThsSdf96g2owDFR 0.00400000 Thanks ! :) Link
35 1HF9jCriPppd4rAk2R72uYCwcM1HtnMSV4 0.00400000 Greate book! Link
36 14DMvcPMmHki3MFj47C9iA8xQNCo9cfijR 0.00400000 * RoB says 'thanks!' Blöckchaïn rules! * Link
37 1Mw1YKAt5bTBGunFT6Cj8pr2LT2XZyF3H 0.00400000 Great work Nicolas ! :) ~AB Link
38 1FZnoy79sKvBG1BgVAAmPFqGdU6igSD8ck 0.00400000 Now reading the book :) Link
39 1Jxu9fqA1znpnLQhZv9hqhraJk7S3pEqUL 0.00400000 Thanks ! :) Link
40 1PWKTpMCg23BQXL8WJvDqDzBBvqrtBsdPd 0.00400000 Thanks from Ken TCentral! Link
41 1CV9WvAz67hhzDfrGoqbHKcymEoWhxRdvz 0.00350000 Thanks for the great book - @dotnetbear Link
42 1Htc3vqwyMiP8DYWECNaY4Zg9ESsMkUhFT 0.00200000 JPS02 - Thanks ! Link
43 18cH4sHhkNA3bWvo5deXtRbcZFkY3ZouAx 0.00150000 GPJ loves NBitcoin! Link
44 1KSm3e8aVeCf9w6mRo63ArNwpEo1qv1B3A 0.00100000 Thanks! :) Link
45 1BBWTJDZSmRPm3vT6gnkdFjkE81e9UYMmK 0.00100000 libertas aequitas veritas Link
46 1GA9AijMQNFtg7vPGZUetk7aZF8rrSJa7X 0.00092060 More to come! Link
47 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00080000 Yo What's UP Nic! :) Link
48 1MmG7tZ5ka21RUddqJPRforf1PwFS2TAqN 0.00077355 Great Book, Regards Mz Link
49 1KFQupmY6Kq1jTL6aCnw614kUXCW1a7d6L 0.00043692 jedi master is blockchain Link
50 1Htm5b771kzJeAEd6L5Vvcxm8oQ94kfis8 0.00040000 Thanks from Tomoaki at Tokyo ! Link
51 1FQiX2KRYJH6qGTi48YKUM7LCQh7WNKuyt 0.66431513 (lazy) Link
52 17Q2JmL3PpxfvqhEKdCzQxnng2m9S7xe3d 0.12345678 (lazy) Link
53 3PuSLTXsksJSUH3hn12ScP2BaM5D4QaCMX 0.10000000 (lazy) Link
54 1CKhokaLZrLELZCsDEN55yvfELd8iDxsF5 0.03000000 (lazy) Link
55 1mzeXBi8TjL5V1usdnP5dZTfoZ76x3Wy1 0.02500000 (lazy) Link
56 3QJimE4EmtcG5iuuvXJGUEd8qnBpLBsR9x 0.02000000 (lazy) Link
57 1HX1VgHLe7fzy4NM8LGT41caAkW5rPdmbE 0.01000000 (lazy) Link
58 1BfaVUNA1uHrbNWH5LcfqKLR9hwATMptzF 0.01000000 (lazy) Link
59 3GpzZvaSZBUZqxY66zY2BPTkAydspZbhcV 0.01000000 (lazy) Link
60 112LMTtaGrPY9Z1ww8ovJRkHa3GMee642B 0.00602600 (lazy) Link
61 14CD1pFpBtFt5QVgbUkBcpTCJ5HUGhHEmG 0.00500000 (lazy) Link
62 1KYgg5hXgXstY2oE1uEbNwmjhqa8GjQsfV 0.00500000 (lazy) Link
63 1JycDPqbtBYpcbJUrX7c14whqRxiLDM2w9 0.00500000 (lazy) Link
64 13A9odWXfs8VEkcyFa9amGmsq7nw827FJQ 0.00500000 (lazy) Link
65 19754oopLFiW13dzvvTM92nX1ZEY78JhQG 0.00492000 (lazy) Link
66 19ogGmweRyP2nNjaysv1dTWEKsSBvW146k 0.00488624 (lazy) Link
67 12tgDWtviV6gwpxP4AGT5EykKvq8pHBiKS 0.00400000 (lazy) Link
68 1AdaX4FUbbANddLbNrE6Qvxfr6emwGiv1Q 0.00400000 (lazy) Link
69 1DQcL8dYP5eYdbYjJLZdMWxR3558HbFnSD 0.00400000 (lazy) Link
70 13BqtXHMioozBGcGq2ouTfqp8WtinyArLG 0.00400000 (lazy) Link
71 1C9HtFk55bTbDgFPQmkY8uAjpKpFj5YeUV 0.00400000 (lazy) Link
72 14nxsZPh1EnE9M2HmsGcL6tfLMQbcfFYDs 0.00400000 (lazy) Link
73 13XWJQxyEjT1otZAC3oHVJAV8fyeQgrtUT 0.00400000 (lazy) Link
74 1EL1co7dJaAnqQZauUBi1aVbC7C42P3kNx 0.00400000 (lazy) Link
75 18DuxfZGbeVVApt42JMx3BSwYemAKieJsu 0.00400000 (lazy) Link
76 1EFGXZDsuNqVnHeWAz7HPJAM1bygaDdFGE 0.00300000 (lazy) Link
77 1B1cq2xcaZff9TVzCx1DdVHsBc33XMrt5x 0.00235655 (lazy) Link
78 1MQw5Vvv1ykcPx2ecKnakut5zULWYy7TZt 0.00225235 (lazy) Link
79 bc1qwqdg6squsna38e46795at95yu9atm8azzmyvckulcc7kytlcckxswvvzej 0.00200000 (lazy) Link
80 154udgQ1HR6TBwgwdnBr3FccXgAsjqznt7 0.00180000 (lazy) Link
81 1C2oL819GxQrhCSnZ5UVvyheXXUpw2vbve 0.00078105 (lazy) Link
82 1LeeRd2nF19ntewhXF3LdiYTBKRuMoP2UG 0.00055400 (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.