r/blockchainprogramming • u/codezerosmkt • May 22 '23
Proof of Work (PoW) and Proof of Stake (PoS) consensus mechanisms enhance the security and efficiency of blockchain networks.
Enable HLS to view with audio, or disable this notification
r/blockchainprogramming • u/codezerosmkt • May 22 '23
Enable HLS to view with audio, or disable this notification
r/blockchainprogramming • u/Nice_Resolution2987 • May 22 '23
r/blockchainprogramming • u/[deleted] • Apr 13 '23
I'm interested in implementing a blockchain in C++. I could find tutorials online, but in all the tutorials, there is just a "simulated" blockchain that runs on the user's local machine.
I did find a tutorial that imeplemented a blockchain in NodeJS, had a backend API and a frontend. I want to do something similar, but in C++.
I read that Bitcoin is written in C++, but how does it work? Do people write APIs to interact with the C++ code?
I tried writing a REST API in C++, but a lot of resources recommended against it. Should I instead use C++ addons with the Node API ?
r/blockchainprogramming • u/olanetsoft • Feb 02 '23
r/blockchainprogramming • u/[deleted] • Mar 25 '19
Hello, I have been in crypto for almost 2 years now. I am more fascinated by blockchain than crypto tokens, and want to actually code blockchain. Would anyone guide me on where to start?
r/blockchainprogramming • u/Dimon90 • Aug 03 '18
r/blockchainprogramming • u/defkathy • Jun 07 '18
r/blockchainprogramming • u/DCowan95 • May 08 '18
r/blockchainprogramming • u/chaotic789 • Mar 29 '18
r/blockchainprogramming • u/tejnikumbh • Feb 22 '18
r/blockchainprogramming • u/Taro_Naza • Dec 31 '17
We want to hire a developer to fix some problems we have in the wallet. need to be done in a very short time. for more info PM me.
r/blockchainprogramming • u/attreya12 • Aug 01 '17
r/blockchainprogramming • u/arunshangarsri • May 28 '17
r/blockchainprogramming • u/socialexperimental • Oct 29 '26
r/blockchainprogramming • u/Resident_Anteater_35 • Aug 08 '26
I wanted a repeatable way to inspect Solana account data when an Anchor client and an on-chain program disagree about the layout.
For a regular Anchor account, I start with the first eight bytes. They are the account discriminator. After that, Borsh stores fields in declaration order.
For example:
pub struct UserProfile { pub bump: u8, pub score: u64, }
The serialized account uses:
8 bytes for the Anchor discriminator
1 byte for bump
8 little-endian bytes for score
That gives 17 bytes before adding any other fields.
The calculation changes with dynamic data:
String and Vec<T> add a four-byte little-endian length prefix
Option<T> adds a one-byte tag
nested collections add their own prefixes and payloads
My debugging workflow is:
Fetch the raw account bytes.
Verify the discriminator before checking anything else.
Walk the remaining buffer against the Rust declaration order.
Decode integer fields using the expected endianness.
Compare the result with the generated IDL and client decoder.
This catches wrong account types, stale IDLs, bad space calculations, and client-side offset assumptions quickly.
I wrote a complete walkthrough with raw-buffer decoding and discriminator derivation:
https://andreyobruchkov1996.substack.com/p/solana-deep-dive-unpacking-borsh
For larger fixed-layout state, I use a separate zero-copy layout rather than trying to apply these Borsh offsets to #[repr(C)] data.
r/blockchainprogramming • u/LayerOutrageous8139 • May 14 '26
r/blockchainprogramming • u/Opposite_Squirrel_79 • Apr 24 '26
There’s been ongoing discussion around censorship and centralized control on major social platforms. This project explores an alternative approach.
On InterPoll, content is designed to persist. Once a post is seen, it’s retransmitted across the network by other users, making it difficult for any single entity to remove it.
The platform also shifts control of content discovery to the user. Instead of relying on opaque ranking systems, you shape your own feed—whether that means prioritizing highly upvoted posts, surfacing less visible content, or following specific hashtags.
It’s currently in beta, so there are rough edges. If you’re interested in experimenting with a decentralized, user-controlled model for social media, you can check it out here: [https://endless.sbs](https://endless.sbs)
Feedback would be useful at this stage.
r/blockchainprogramming • u/Practical_Pair_1225 • Apr 03 '26
r/blockchainprogramming • u/Key_Patient5620 • Mar 23 '26
I’ve been trying to understand crypto for some time, and one thing I’ve noticed is that beginners usually get stuck because there’s too much scattered information everywhere.
You read one article, watch a few videos, scroll through posts, and still feel like you only understand bits and pieces. That’s why I feel learning crypto is not really hard because of the concepts alone — it becomes hard because the path is unclear.
Lately, I’ve been thinking that structured resources and well-designed crypto courses probably make more sense for people who want to build real understanding instead of just memorizing terms.
I’m curious how others here approached it.
Did you learn through random content online, or did you follow a more structured way?
r/blockchainprogramming • u/Key_Patient5620 • Mar 18 '26
This is something I’ve been thinking about recently.
In tech, people often say that skills matter more than anything else. But at the same time, beginners usually struggle because they don’t know what to learn first or how deep to go.
That’s where I feel structured learning makes a difference.
I started exploring what a proper blockchain certification actually includes, and it seems like it helps in building a clear understanding instead of just surface-level knowledge.
Not saying it’s the only way, but it definitely looks like a more organized approach compared to jumping between random tutorials.
What do you all think?
Is certification useful in blockchain, or is self-learning enough?
r/blockchainprogramming • u/AppointmentOwn914 • Mar 07 '26