lainchan / λ

Blockchain development

Nguoi La · 2019-12-05 02:42
After spending some time on Amazon and Google looking for possible entry points, I come to you guys hoping you will be able to help me. Basically, after reading a bit about Namecoin and seeing it in action through Zeronet some time ago, I got an idea for a similar thing I want to try making (or for that matter just make my own soykafty version of Namecoin for practice). The problem is, when I tried looking online for material on how to develop blockchains, most of the material I found was either very rudimentary (poorly-documented helloworlds), only focusing on dapps and not making your own blockchains, paywalled, or discussed crypto from a business perspective in terms of trading and applications rather than development. Can anyone here recommend me material about blockchain and cryptocurrency development that's actually useful for a developer? As an aside, I heard that this is something that you typically see infosecs deal with more than typical CS people, if that's the case then I should point out I'm only a CS person and have only very basic knowledge of cryptography concepts. (pic unrelated, I wanted to post Lain but it said someone already posted the Lain I was trying to post)
setq · 2019-12-06 04:51
You could look at the tezos developer documentation. It's setup so that one can upgrade the network and develop protocols separate from the network layer. It's written in Ocaml too, so the source code isn't terrible
Milner · 2020-05-18 22:03
>>16111 I have been wanting to do this myself since I started learning about blockchains. I would guess that the first step is to build a simplified Bitcoin in your language of choice that is able to guarantee blockchain integrity in a network of 3 or 4 nodes while one "evil" node actively tries to falsify transactions. If that works, it means that you got the concept right. Keep us updated if you give it an try!
queue · 2020-06-14 16:40
>>16111 >>18638 Two great books. The first actually dives with you into the C++ code. The second teaches you advanced usage of the command line, sounds silly but is very, very instructive. It gives you concrete examples of less known features. https://github.com/bitcoinbook/bitcoinbook https://github.com/BlockchainCommons/Learning-Bitcoin-from-the-Command-Line As you can see, the books are freely available. Consider buying a printed copy to help the authors. Rolling for Satoshi Nakamoto name.
Roy Batty · 2020-06-14 16:45
>>19209 Oh, and you will need to know C++ to get into blockchain technology. Most of the documentation and most of the code base is C++. This should be a good enough introduction: https://www.cplusplus.com/doc/tutorial/ Alternatively, you can use "A Tour of C++", it is 250 paged but only half of it is the actual language, the other half is about common libraries. The most common pdf on the web is 500 pages because the index is messed up. Ethereum, Monero and btcd are written in Go but the documentation for the implementations is very poor. On the other hand the documentation for the theory and concepts is often very good.
Knuth · 2020-06-19 12:26
If you just want to write your own blockchain from scratch for fun, read the original Bitcoin whitepaper, maybe the Ethereum description, and then on top of that, make sure you have solid general distributed systems fundamentals. A blockchain network is just a distributed system, Satoshi introduced a way of doing trustless consensus. If you have a concrete application you want to make a reality, it's likely you'd be better of building a "dApp" (marketing speak for smart contracts) on top of Ethereum or some other well established chain.
Debbie Charteris · 2020-06-20 21:30
>>16111 I have written a working blockchain in Python and run several nodes on a test network. The network resolves forks, detects bad blocks, detects bad transactions, mines new block, advertises mined blocks, and has automatic peer discovery. I did not read the Bitcoin implementation. I know very little C++. If you want to make a basic blockchain, any simple "intro to blockchain" blog post will get you your core data structure. You will need a high level understanding of hashes and public key cryptography. For node communication, you can wing it. It is less complicated than it seems. You can do it in anything from a custom format to HTTP. It'll still work. Once you have a single node, you'll end up doing what >>18638 suggested.
synchronized · 2020-06-22 21:42
>>19298 >the Ethereum description This is good advice. >"dApp" (marketing speak for smart contracts) on top of Ethereum I would suggest against using ethereum, without a block size limit it becomes prone to centralization. https://hackernoon.com/the-ethereum-blockchain-size-has-exceeded-1tb-and-yes-its-an-issue-2b650b5f4f62 https://hackernoon.com/sharding-centralizes-ethereum-by-selling-you-scaling-in-disguised-as-scaling-out-266c136fc55d
Agent Smith · 2020-08-23 00:55
based cryptonote http://forknote.net/create/#/ ez pz
Demeere · 2020-08-23 02:03
>>20408 wonero?
Ender · 2020-08-23 14:05
>>19298
Nemissa · 2020-08-23 14:10
>>20410 wowBRRRRRRRRo is based mutant fork? even if, its probably good to follow their lead when doing cryptonote genesis things. lots of helpful peeps if u can keep urself from getting trolled or hacked lmao
Anonymous · 2020-09-11 12:51
>>16111 https://ethereum.org/en/developers/ here you go lainon.
Morpheus · 2020-09-12 08:19
>>16111 Check out this tutorial, it's a tiny implementation of a cryptocurrency with all relevant parts explained: https://lhartikk.github.io
nil · 2020-09-13 18:37
crypto is ez they sed
Dujour · 2020-09-20 02:23
All ""blockchain"" projects besides Bitcoin, privacy coins, stablecoins and (generously) ETH are unironic scams
string · 2020-10-09 14:57
>>20921 >All Like I said in the OP, there's Namecoin which is used by Zeronet for its DNS. However, I don't know if you count that as a privacy coin or not.
Cypher · 2020-11-05 05:15
>>20921 Why? I've been reading about Uniswap for a while now and it seems pretty interesting
Zhora · 2021-02-28 22:07
>>21849 I'd count Uniswap under the "(generously) ETH" category of that person's reply, but I also don't know too much about it and am probably wrong
string · 2021-02-28 22:15
Hyperledger will provide you with a handful of resources.
let · 2021-03-15 09:31
>>19317 >You will need a high level understanding of hashes and public key cryptography. and where can I get that?
setq · 2021-03-15 10:06
>>24896 >and where can I get [a high level understanding of hashes and public key cryptography]? I'm neither the person you're replying to nor competent in this field, but I've seen the attached book suggested before by people I respect.
Judge Fang · 2021-03-15 10:08
>>24897 Ah, "high level understanding" here meant the opposite of how I interpreted it. Disregard the linked post if you're looking for the cliff notes.
sizeof · 2021-03-15 15:23
>>24896 If you understand how to use a hash function, how to reverse a hash function(!), how to unencrypt a message with a private key, how to encrypt a message with a public key, how to sign a message with a private key, and how to verify a signature with a public key, then you know enough. You do not need to know the math, but you do need to know how to do these with a library or shell utilities.
Armitage · 2021-06-19 23:49
>>20921 > All ""blockchain"" projects besides Bitcoin, privacy coins, stablecoins and (generously) ETH are unironic scams Wow what a condescending asshole! ... Hey, wait this was me 9 months ago lol. Now I am developing a polkadot parachain. Life comes at you fast! If you want to develop your own blockchain, Substrate is worth looking into, you get consensus and transaction primitives for free and just need to write your “business logic”
typedef · 2021-08-08 13:29
My friend’s wife’s cousin’s girlfriend’s roommate’s company is hiring https://angel.co/company/manta-network Privacy DEX, very Lain ethos
Acid Burn · 2021-09-26 09:21
>>26317 I might look into that, but I was more hoping to find material on how to write those primitives myself since I want to learn about them rather than just drop in some "business logic" into a pre-existing thing without really understanding it.
Undisclosed · 2021-09-28 18:40
MIT OCW blockchain engineering course is pretty useful as a high level overview of the nuts and bolts of blockchain
Nameless · 2022-05-02 08:11
https://archived.moe/biz/thread/38487616 OP of that thread is anon-wallet#1846 on discord. dm him for invitation to the discord in that thread.
Chan Siu Ming · 2022-05-02 21:49
>>31023 >Discord No. Any honest blockchain development happens out in the open, academic style. Closed in-groups focused on pumping have never been into crypto.
par22 · 2022-05-03 06:11
Look at scheme-coin.lisp https://gist.github.com/BusFactor1Inc/8a4dd842fdab81d84cfa8138a56b1725
byte · 2023-01-15 07:23
>>19298 These are good suggestions, but for the idea I had all those years ago when I first made this thread wouldn't really work as a dApp, unless having a specialized decentralized ledger warrants a dApp instead of just a simple crypto token.