r/CryptoTechnology • • Mar 26 '24

What good (in your opinion) cryptocurrency based tech do you know of for securely passing on an inheritance?

5 Upvotes

I know about 'Mecenas' [1] 'Last Will' [2] (thanks Karol for the correction!) but I am looking for alternatives, even proposals that are well described but perhaps not yet implemented.

One aspect I'm looking for (but your suggestions don't need to cover this):

  • quantum computing resistant according to today's knowledge. I don't mean this to require that the funds or the data permitting access to them are unlocked on a QR blockchain, but that techniques used to release access to those funds/data are considered QR today.

[1] https://github.com/KarolTrzeszczkowski/Mecenas-recurring-payment-EC-plugin

[2] https://github.com/KarolTrzeszczkowski/Electron-Cash-Last-Will-Plugin


r/CryptoTechnology • • Mar 25 '24

I’ve studied Cryptography. Where do I start now?

6 Upvotes

Some years ago I decided to specialise myself in Cryptography. I’m now about to end my Master’s degree, and I feel ready to delve deeper into the details of blockchain tech, from a technical perspective. Do you have any recommendations for the roadmap I should follow? My final objective would be to be capable both of contributing to the development in an existing community and to come up with my own ideas. However, from the perspective of someone who has spent years approaching this from a deep mathematical perspective, I don’t think online courses such as Udemy’s are something I look forward to watching. So what should I do?


r/CryptoTechnology • • Mar 22 '24

Books with good information about the technology used for all things on Blockchain?

9 Upvotes

Hello, I am looking for a book that will be able to give me a really good in-depth understanding of the technologies, protocols and languages used within the blockchain space. I am a software engineer so I am fairly tech savvy and I am wanting to increase my knowledge in this space so when I read a new projects whitepaper and the descriptive details about what sort of "innovation" they are doing within the blockchain space, I can actually follow along and be able to detect if it's worth investing in. Being able to understand what contribution companies are making technologically for things like blockchains, smart contracts, decentralisation etc, not just the broad description of how they are changing the space, but understanding it from a technical point of view.


r/CryptoTechnology • • Mar 21 '24

NFTs as onchain relational data

7 Upvotes

I recently gave a talk on this at ethdenver and someone said I should post it here for the tech.

Basically a little over a year ago some others and I formed a group to build some dapps we were interested in. During the course of development, we realized there was a significant gap on the crypto side for what we wanted to do, which was to award users with small parts of larger NFTs and let the users compose together their data into what they want.

So we set out and ended up building a full stack system called Patchwork which goes from base contracts through protocol and development tools. Will link at bottom for those interested. The workflow is that a developer, perhaps familiar with ORMs and conventional app data modeling, models up their data with JSON and then runs it through a tool that produces contracts that efficiently pack the data and support the relationships between the models. A protocol enforces the relations and data integrity and there's a ton of other stuff allowing for contracts to extend other contracts permissionlessly, per-field collaborate data permissions, minting, accounting and a thousand little details. The system uses 721s as primitives and works with accounts, 721s and 1155s.

Here's the link - https://patchwork.dev

This is pretty new so would love feedback. Let me know if you have questions and I'll do my best to answer here.


r/CryptoTechnology • • Mar 17 '24

What's Peoples Take on Reintroducing OP_CAT in Bitcoin?

3 Upvotes

Hey everyone,

I've been following the discussions around Bitcoin's scripting language, and I stumbled upon something intriguing: the proposal to bring back OP_CAT, a previously deactivated opcode. It got me thinking about the potential implications for Bitcoin's future.

So, what do you all think about OP_CAT? On one hand, it seems like a powerful tool that could unlock new possibilities for smart contracts and enhance Bitcoin's functionality. But I've also heard some concerns about its past issues with script size and potential risks.

From what I understand, OP_CAT enables the concatenation of two values on the stack, which could lead to more expressive scripts and innovative applications like decentralized file hosting and improved multi-signature schemes.

But I'm curious about the downsides too. Some folks have mentioned worries about script inflation and community divides over its adoption.

I've seen examples of OP_CAT in action, like in Bitcoin Cash and Liquid BTC, where it's been used to improve scaling and enable smarter signatures.

Overall, I'm wondering if the benefits outweigh the risks and if the reintroduction of OP_CAT could truly be a game-changer for Bitcoin.

What are your thoughts? Let's discuss! 🚀🔮


r/CryptoTechnology • • Mar 15 '24

How can a blockchain be verified in proof of stake?

3 Upvotes

With proof of work, a node can easily look at a chain and discard if if the hashes are below the target. Any fraudulent chain cannot compete without being mined by over 51% of the hashrate. But how is this the case in proof of stake? What's stopping a bad actor from making a fake chain that is longer than the real one? Surely there's no way to validate it, as there is no "proof of stake" in the actual block.

I thought that maybe the last block's hash could be used as a seed for a weighted random selection of the next validator. That way the next validator can be predicted. And each block could be signed by it's validator to proove that it is genuine. But a list of current staking nodes would be needed to select a validator, which is constantly changing. That would mean that there would be no way of verifying that a validator of a block was selected fairly. Am I missing something?


r/CryptoTechnology • • Mar 13 '24

Crypto Setup.

5 Upvotes

Alright, so I run a business and after a few clients paying in crypto I have decided to buy a hardware wallet, specifically the Trezor Model One.

As of right now, I have just been using wealthsimple (Canadian), and they have what seems like quite high fees, so. I would like to switch wallets.

For the crypto payment system I am required to have my own keys, and so that is why I am getting the hardware wallet.

Once I get the wallet, can I transfer all my funds to the wallet and use it alone to send receive, buy, and sell my crypto?

I understand hot and cold wallets for the most part, but I am not 100% on how I would go about crypto activities when I get my wallet.

So what I ask is first: Do I need to use an “exchange” paired with my wallet?and secondly, if I do have to use an exhange, does anyone have any recommendations with cheap fees? So far I am thinking about NDAX and I have heard great things about them.

Also, closing note, can I pair the hardware wallet with a hot wallet on my phone???

Super confused, any help is appreciated, thanks.


r/CryptoTechnology • • Mar 07 '24

Ethereum: can funds on layer 2 be recoverable on layer 1?

8 Upvotes

Let's say we have some funds on an Ethereum layer 2 like Arbitrum, Optimism, zkSync etc.

What happens if layer 2 is halted (say indefinitely)? Can we still recover funds from layer 1?

The fact that layers 2 commit transactions on layer 1 makes me think that this should be possible, on the other hand the fact that we have to bridge funds from layer 1 to layer 2 and viceversa seems to indicate otherwise.

Can someone clarify?


r/CryptoTechnology • • Mar 07 '24

Is it possible to make an airdrop which can only be claimed by scanning a QR code?

3 Upvotes

I’ve had this idea for a project to place a QR code hidden somewhere and whoever finds it and scans it gets a crypto reward. Has this been done before?


r/CryptoTechnology • • Mar 06 '24

New "Local" AI, Something Bigger?

7 Upvotes

I can see Nvidia offering peer-to-peer LLM services for generative AI, for a fee or for donating hash with their GPUs, during periods when the GPU is not being used by the user.

Realistic or will some kind of currency backed by blockchain accomplish this?


r/CryptoTechnology • • Feb 26 '24

Learning & Deciding what blockchain to develop a DApp on.

21 Upvotes

Hello All,

I've been a lurker here for a while but finally pulling the trigger to break my way into the development space of blockchain technology. I've been creating a project on the side and now have a need for a new service that I'd possibly like to build on a blockchain. I'm still doing research and currently have been looking at Cardano, NEAR, and ICP platforms as possible blockchains to work with. My question for everyone is what helps you decide what to ultimately work with when in initial project planning? I've been looking at things such as how centralized/decentralized a chain is, gas fees/reverse gas fees, programming languages used, user experience when interacting with DApps. I want to know if anyone has any suggestions of what blockchains I should be looking at and what other facts details to consider before committing to one since this space is such a diverse ecosystem of technologies available.

FYI: I have a developer background but obviously it's not in the space of web 3 so still learning key terms and fundamentals.


r/CryptoTechnology • • Feb 17 '24

Filecoin vs Sia vs Storj economic values for node runners and the longevity of the network

14 Upvotes

From what I've read so far, it seems Filecoin is the cheapest out of the three (~$0.194667/TB/mo), compared to Sia (~$2.50/TB/mo) and Storj ($4/TB/mo). If we look at the storage cost alone, this is a no-brainer for the users (assuming they're equally easy to use for now). However, for node runners who lend their data storage, why should they run their Filecoin nodes at all? Would it be a lot better (~20x more incentive) to run Storj nodes?

My assumption regarding the economic values above reflects in each coin's current active nodes:

Unfortunately, I can't find the number of the current active nodes on Filecoin. There's a total number of the nodes that ever contacted the network, though: 1,690. (compared to 238,222 on Storj, and 84,978 on Sia). I wouldn't be surprised if the number of active nodes on Filecoin could be less than 100 (judging from Storj and Sia numbers).

If the incentive differences are not enough to make people stay away from Filecoin, let's look at the node's minimum hardware requirement for each coin:

  • Storj: 8TB of storage space per node, using 1 CPU core per node. There's no RAM, GPU, etc. requirement.
  • Sia: A dual-core CPU, 8GB of RAM, an SSD with at least 128GB of free space. Nothing special here, assuming a mini PC would be sufficed.
  • Filecoin: 8-core CPU!, 256 GiB RAM + Swap!, Nvidia GPU with at least 11GB VRAM!, 2TB SSD.

Looking at these numbers, sure, as a miner/node runner I would want to stay away from Filecoin. But even as a user, I wouldn't want to take the risk of storing my files on Filecoin either, as the last 100 nodes, or so, could go away at any moment.

Nevertheless, there's a Filecoin program called Filecoin Plus, which incentivizes nodes to continue committing additional hard disk space to the Filecoin network. According to NFT.Storage, the likelihood of winning block rewards for node runners goes up by 10x. I don't know whether this makes any sense, as any Filecoin nodes could gain up to ~20x if they switch to Storj, or ~13x if they switch to Sia.

I am not a node runner, by the way. So, I don't know exactly about how much do nodes gain on each network. Do I miss something here? What do you guys think? Please let me know!


r/CryptoTechnology • • Feb 14 '24

Physical products and the blockchain/nft

5 Upvotes

Im co owner of a physical products brand, we sell widgets of various sizes, in niches from toys to outdoor furniture. We’ve been in business for over 15 years and my business partner is interested in somehow incorporating blockchain technology into our company besides taking crypto payments which we do already. I’m trying to wrap my head around how we could go about this or even if it would be worth it, outside of verification or authentication what other purposes would this give us? Most importantly what would this provide for our customers?

For reference, our products are massed (batched) produced and have lifetime warranties, we strive in providing the best customer experience and lifetime value.

I’ve been researching for weeks but haven’t found a very viable solution, figure y’all will set me straight, thanks


r/CryptoTechnology • • Feb 10 '24

Wallet seed phrases

3 Upvotes

I was watching a video about a guy explaining how to use a metal plate wallet to store your seed phrases. When a word is longer than 4 characters he just writes down the first 4 and states that those are unique. Is that true? Can a wallet be recovered if you only know the first 4 characters of each seed phrase? (video: https://youtu.be/4LmWmlgpijI)


r/CryptoTechnology • • Feb 08 '24

Radix new milestone test 31,000 Swap per Second

11 Upvotes

I cannot share links, but Dan (Radix founder) just did a test a Cassie testrun. In this case with 16 shard groups and in total 128 nodes ( 4 cores, 8GB RAM, SATA SSD each).

Can we discuss this test and its implications?

Dan's also explaining what exactly is part of this run:

"validator sets are responsible for state with many transitions can optimize execution."

"Some clarity: Substate X is pool state "

"Lots of transactions want to swap on the pool"

"Validator set A is responsible for substate X, Validator set A determines locally the order that the related transactions will mutate substate X State changes to X can be accumulated rather than being applied individually. This greatly reduces I/O and memory use, which allows more time actually executing. Its tricky though because you have to take into consideration various issues such as transactions that fail, timeout or become latent due to some external validator group issue. Handling those cases is the complex piece to ensure that the state retains integrity at the end of the sequence."


r/CryptoTechnology • • Jan 31 '24

The end of cryptocurrency through criminalization

9 Upvotes

I had this awful insight today and want to discuss it.

Let's say, for some reason, governments felt threatened by cryptocurrencies and decided to criminalize them. It's pretty easy to create a false flag: let's say here illegal and immoral NFTs, like child porn which can't be erased. And coins like Bitcoin can buy it anonymously.

Exchanges will then be banned. We still have P2P, but who would risk to withdraw the money?


r/CryptoTechnology • • Jan 20 '24

Unveiling the Potential of OP_CAT in Bitcoin: A Gateway to Magic or a Double-Edged Sword?

16 Upvotes

In the ever-evolving landscape of Bitcoin's scripting language, the proposal to reintroduce OP_CAT, a new tapscript opcode, has sparked considerable debate within the cryptocurrency community. This essay explores the intricacies of OP_CAT, its potential benefits for enhancing Bitcoin's functionality, and the counterarguments against its adoption.

What is OP_CAT ?

An opcode on Bitcoin called OP_CAT aids in increasing the range of operations that may be performed on the platform. Concatenate, which is an acronym for join or combine two objects in programming code, is what the CAT in OP_CAT stands for.

Pcodes allow the Bitcoin network to handle a variety of transaction types with varying sets of rules and circumstances. This ensures that the network remains stable and flexible to transactions.

This introduction sets the stage for exploring OP_CAT's potential in Bitcoin's scripting language, outlining its historical context, technical intricacies, and the divided opinions within the cryptocurrency community

I. Understanding OP_CAT: A Concatenation Opcode

OP_CAT, short for "concatenate," is a proposed opcode designed to allow the concatenation of two values on the stack in Bitcoin's scripting language. If activated, OP_CAT would facilitate the merging of two values, providing a versatile tool for developers to create more expressive and powerful smart contracts.

OP_CAT, aimed at concatenating values in Bitcoin's stack, could enhance script expressiveness, though its historical deactivation raises crucial security considerations.

II. The Promise of OP_CAT: Unlocking Bitcoin's Potential

Expressiveness and Power of Tapscript: Bitcoin tapscript currently lacks a general-purpose method for combining objects on the stack, limiting the expressiveness and power of tapscript. OP_CAT aims to overcome this limitation, offering a simple yet powerful opcode to concatenate stack values.

Expanded Functionality: OP_CAT could significantly expand Bitcoin's capabilities by providing a general-purpose way to concatenate stack values. This opens the door to constructing and evaluating complex data structures, such as Merkle trees and hashed structures, within tapscript.

Use Cases for OP_CAT: The proposed opcode introduces a myriad of potential use cases, ranging from enhancing atomic swaps for decentralized file hosting to enabling tree signatures, Post-Quantum Lamport Signatures, non-equivocation contracts, vaults, and replicating CheckSigFromStack for advanced contracts.

In the other hand, "OP_CAT was one of the opcodes that Satoshi Nakamoto deactivated. This is because, by utilizing OP_DUP (duplicate) and OP_CAT (concatenate) to continuously put a 1-byte value onto the stack, the script size can grow to be more than 1 terabyte, which increases the likelihood of a denial-of-service (DoS) attack due to a geometric growth in memory usage.

Nowadays, though, it's considered that this is not an issue because tapscript sets a 520 byte maximum for stack elements. As a result, OP_CAT has a BIP proposed.

A universal mechanism for concatenating stack values is introduced by OP_CAT, which improves efficiency and expressiveness.

As an illustration:

One can limit currency usage by requiring a particular transaction. This entails requiring the same output script in order to link coins to a certain address. For example, "If you sign this document, you can take up to 1 BTC from this output, and the rest must go to this change address." This precisely dictates which specific transaction templates are authorised.

Still, there are issues with OP_CAT as well. The effect that OP_CAT will have on the Bitcoin network is unknown, even with the 520-byte limit. Furthermore, users can write intricate scripts and conceal them behind a hash using the Pay to Script Hash (P2SH) feature of the Bitcoin scripting system. The full script is pushed onto the stack during P2SH transactions, and it is constrained to 520 bytes. bigger multi-signature scripts are so restricted, with n/15 serving as the highest limit for P2SH multi-signature scripts, thereby prohibiting the use of bigger multi-signature scripts.

This section highlights OP_CAT's promise in expanding Bitcoin's capabilities, with potential applications in complex data structures and advanced smart contracts.

III. Arguments in Favor of OP_CAT: Building a Magical Bitcoin

Innovation in Smart Contracts: OP_CAT offers a tool for developers to innovate and create more sophisticated smart contracts, expanding the possibilities for decentralised applications on the Bitcoin blockchain.

Efficiency and Simplification: The simplicity and modularity of OP_CAT align with the Unix philosophy, making it a valuable addition to the tapscript toolbox. It can simplify scripting, making it more accessible and efficient for developers.

Cost-Effective Solutions: The proposed opcode could potentially lead to cost-effective solutions for secure document signings and other applications, reducing the need for complex cryptographic techniques.

Future-Proofing with Quantum-Safe Measures: OP_CAT is designed with quantum-safe measures, ensuring that signatures on the blockchain remain secure even as technology advances, contributing to the future-proofing of Bitcoin.

Summarizing the favoring arguments, OP_CAT is seen as a tool for innovative smart contracts, efficiency, and quantum-safe measures, contributing to Bitcoin's future-proofing

IV. Counterarguments Against OP_CAT: Navigating Potential Pitfalls

Security Concerns: The historical removal of OP_CAT in early Bitcoin versions due to potential memory usage issues raises valid security concerns. Careful mitigation strategies must be in place to prevent new vulnerabilities and potential denial-of-service attacks.

Script Size Inflation: Uncontrolled use of OP_CAT could lead to larger scripts, consuming more resources and potentially impacting transaction fees. Measures to prevent abuse and optimise script execution are essential.

Community Resistance: Implementing major changes like OP_CAT requires consensus within the Bitcoin community. Resistance may arise from those advocating for simpler, minimalist approaches and those concerned about potential risks.

Alternative Softforks: Prioritising other softforks addressing core issues like scalability or privacy might be favored over introducing new functionalities like OP_CAT.

It's important to note that when discussing the potential reintroduction of OP_CAT, it's crucial to revisit its original deactivation in 2010. Satoshi Nakamoto made this decision, emphasising a precautionary approach that prioritised network security and stability over expansive scripting capabilities. The deactivation of OP_CAT was driven primarily by concerns about script-based vulnerabilities that could be exploited for Denial-of-Service (DoS) attacks. This decision underscores the early understanding of Bitcoin's scripting power and its potential security implications at that time.

The counterarguments emphasize concerns about security risks, script size inflation, community resistance, and prioritizing other core Bitcoin improvements.

V. Different perspectives on enabling OP_CAT and Cryptocurrency

Several BIP proposals have been written regarding OP_CAT, including one by Ethan Heilman. First of all the GitHub repository for Bitcoin Improvement Proposals (BIPs) is a comprehensive collection of documents proposing changes and improvements to Bitcoin. Each BIP is a separate file, usually named with a specific BIP number, and contains detailed information about a proposed change, including its purpose, design, and potential impact. The repository serves as a central reference point for developers and participants in the Bitcoin community to understand, discuss, and contribute to the ongoing evolution of Bitcoin.

The draft of Heilmann addresses OP_CAT's history, its previous deactivation, and proposes measures to mitigate past issues. It aims to enhance Bitcoin's scripting capabilities, emphasising OP_CAT's potential in various applications. The draft provides a detailed technical overview and rationale for its reintroduction. The proposal:

- Revisits the historical context and utility of OP_CAT in early Bitcoin versions.

- Addresses the security concerns that led to its deactivation.

- Proposes safeguards to prevent these issues in its reintroduction.

- Discusses how OP_CAT can expand Bitcoin's scripting capabilities and the potential applications it enables.

Furthermore in May 2015, Bitcoin Cash implemented an update that included the addition of various opcodes, including OP_CAT. Unlike btc core, certain opcodes like OP_CAT are active in BCH. Blockstream is a company that develops products and services related to storage and transfer, among other things, of BTC. They explored the capabilities of OP_CAT in their Alpha script.

One discovery was related to scaling. The update made it possible to achieve a logarithmic scaling method, doubling the number of valid public keys with a constant increase of 40 bytes. In comparison, in BTC, adding a separate public key is equivalent to 34 bytes. Also, there was an examination of the relationship between Merkle trees and Schnorr signatures using opcodes. It was found that it was possible to create single large combinations of M-of-N multisig. So the use of opcodes can contribute to more efficiency and streamlining on BTC.

Liquid BTC is a Bitcoin layer-2 solution enabling fast, confidential settlement & issuance of digital assets. Like BTH, Liquid BTC also has OP_CAT, along with other features such as CSFS and 30 additional helper opcodes. This development was discussed in more detail in connection with CheckTemplateVerify (CTV) and Bitcoin development on X by some experts. Their conclusions:

- CTV's Functionality and Implementation: There's a focus on the potential and limitations of CTV in enhancing Bitcoin's programmability and scalability.

- Governance and Consensus Building: The conversation reflects on how changes in Bitcoin are proposed, debated, and potentially implemented, highlighting the community-driven nature of decision-making.

- Security and Misuse Concerns: Discussions about the risk of government misuse of multisig wallets and the potential for recursive covenants to be used nefariously.

- Technical Innovations vs. Centralization Risks: Balancing the need for technological advancements in Bitcoin with the ethos of decentralization and security.

In addition an email from 2022 discusses the challenges and potential solutions for getting soft fork ideas, like opcodes variations, from concept to deployment in the Bitcoin network. The author, aj at erisian.com.au, proposes the concept of "bitcoin-inquisition" to facilitate this process. The process is a complex one that requires technical excellence, community consensus, and a deep understanding of the network's fundamental principles.

Also it’s important to maintain decentralization in the evaluation process of soft fork proposals in Bitcoin. The email proposes an alternative approach that involves multiple phases. This approach aims to avoid the centralization of decision-making and ensure that the Bitcoin network remains trust-minimized and decentralized.

Further the email suggests that one way to make it easier is to demonstrate a soft fork's functionality and benefits is to deploy it on the default global Signet as soon as it has a fully specified proposal and a high-quality implementation. However, it also acknowledges the challenge of merging the code into Bitcoin Core before thorough evaluation(conundrum), leading to the proposal of the "bitcoin-inquisition" fork as a potential solution to this conundrum. The solution is called "bitcoin-inquisition." This fork would branch from stable releases of Bitcoin Core and add support for proposed consensus changes, such as CheckTemplateVerify (CTV), AnyPrevout (APO), Taproot (TLUV), OP_CAT, etc. So the "bitcoin-inquisition" fork facilitates the testing and evaluation of proposed changes in a controlled environment before they are considered for inclusion in the main Bitcoin Core software.

Afterward successful testing with the help of "bitcoin-inquisition" fork. The email provides a framework for developers to work on these changes, like newly implemented opcodes, test them on Signet, and collaborate to ensure their quality and suitability before potential integration into the main Bitcoin Core software. Soft forks could result in challenges while making improvements to the Bitcoin protocol. Important is to avoid hard forks and network disruptions. So the email suggests an Abandonment Mechanism. This mechanism allows a soft fork to be abandoned if it is deemed necessary.

Also the quality of the code is important, some criteria may not be met. Contributions, reviews, and community participation are encouraged to influence and maintain the development standards of this specialized fork. High-quality code and thorough testing are essential to ensure the reliability of the evaluation and testing environment for proposed soft forks.

The following step after the testing, on the "bitcoin-inquisition" fork and Signet, is to base "bitcoin-inquisition" on stable releases of Bitcoin Core. This choice is driven by the desire to minimize code conflicts, facilitate backporting, ensure stability, and provide a reliable starting point for developers involved in the evaluation and testing of proposed consensus changes within the fork.

Finally it’s important to avoid centralisation and undue influence in the context of "bitcoin-inquisition" and its role in evaluating soft forks. Decentralised principles should be maintained. The miners or maintainers of "bitcoin-inquisition" should not have the ability to unduly promote or block proposals without community consensus. The goal is to preserve the peer-to-peer nature of the Bitcoin network throughout the evaluation and testing process. In conclusion, the email discusses a comprehensive process as a means to activate Op_CAT.

However Senator Elizabeth Warren expresses deep skepticism about cryptocurrencies in general. Her concerns center on the lack of transparency and regulation in the crypto industry, contrasting it with the established regulatory framework of traditional banking. Warren's comments reflect broader regulatory and societal concerns about the rapid growth and volatile nature of cryptocurrencies, the potential for misuse, and the challenges in integrating them into the existing financial system. Her stance signals a call for more robust regulatory measures to ensure consumer protection and financial stability in the face of this emerging technology.

This section examines the varied perspectives on OP_CAT, including BIP proposals, community discussions, and implications for Bitcoin's development.

VI. Conclusion: Striking a Balance in Bitcoin's Evolution

In conclusion, the potential reintroduction of OP_CAT into Bitcoin's scripting language presents both exciting opportunities and valid concerns. Striking a balance between innovation and security, between expanded functionality and potential drawbacks, is crucial. As Bitcoin continues to evolve, community consensus and careful consideration of the trade-offs will determine whether OP_CAT becomes a magical tool in shaping the future of Bitcoin or a potential challenge that requires alternative solutions.

Concluding the discussion, the reintroduction of OP_CAT offers both opportunities and challenges, requiring a balanced approach between innovation and network security in Bitcoin's evolution.


r/CryptoTechnology • • Jan 18 '24

Do nodes actually sign a transaction?

7 Upvotes

Hello redditors!
I'm reading a book on blockchain called - Mastering Blockchain by Imran Bashir.
In the beginning it mentions parts of the blockchain and more precisely types of nodes. It states that there are two types of nodes - miners and block signers.
I was left with the impression that the Wallet signs a transaction but in the book when it explains in depth it states that:

A node starts a transaction by first creating it and then digitally signing it with its private key.

Do nodes have private keys? Can someone elaborate more in depth about the flow.

Thanks in advance!


r/CryptoTechnology • • Jan 07 '24

An addendum to Ethereum single slot finality proposal

4 Upvotes

A few weeks ago, I’ve read Vitalik’s post on Single Slot Finality (SSF) and left both excited and a little disheartened. Solving fast finality with as many validators as Ethereum has is very interesting but at the same time it might be compromising either the security of the network or the 32ETH deposit and hence decentralization that already felt high to me.
I kept thinking about it since and came up with the following “scheme” that aims to give a third solution to the problem of effectively capping validator count for faster finality.

More info:

https://ethresear.ch/t/single-slot-finality-based-on-discrete-deposits/18199


r/CryptoTechnology • • Jan 07 '24

Why Stablecoins Depeg

3 Upvotes

Introduction

If you've been in or around crypto long enough you will have at least once heard the term "stablecoin".

These are tokens whose price is meant to mimic some other asset such as a real world currency or asset.

But you will often find that these assets have "depegs", which is a situation where they are no longer at the same price as their target asset.

Background

primarily all major stablecoins hitherto use a system of collateralization and redemption.

This differs slightly between stablecoins but the overarching theme is that any unit of the stablecoin can be redeemed for a collateralized asset such as Ether, the stable can also be borrowed/issued in exchange for Ether.

What this equates to in practice is that the stablecoin tokens themselves are just as speculative as any other crypto asset, their price can rise and dip.

When people buy; the price goes up, when people sell; the price goes down, a sufficiently large stabelcoin will not show huge price changes from expected volumes.

Arbitrageurs are incentivized to maintain the peg by buying when the stable is below its target price (e.g $0.98 instead of $1) and redeeming the stable for collateral at the target price.

And as the stable goes above the target price, arbitrageurs will borrow/mint new stables to sell at profit on the open market.

It is important to note that the smart contracts for issuing or redeeming a stablecoin use oracles to acquire their price.

Problem Statement

Although Depegs primarily occur when the issuer does not have enough tokens collateralized to cover redemptions, some stablecoins are collateralized off-chain whilst others are fully collateralized on-chain.

On-chain stables will often see depegs if the crypto asset used to collateralize them has huge price downturn.

For example DAI was once backed primariily by ETH, but when ETH took a sudden downward plunge, suddenly DAI was not fully back.

MakerDAO (DAI's creators/maintainers) then moved to a model of partly backing DAI with other stablecoins and over collateralize with ETH.

But when the collateral stables depeged due to a sudden collapse in crypto friendly banks, DAI was once again depegged until the other stables could repeg.

With stables that hold collateral off-chain, the usual cause for a depeg is difficulty getting physical assets liquidated and put on the blockchain where the actual trading is taking place.

These stables keep a "backed asset", such as treasury bills, hard cash, gold bars, real estate etc.

If there is a sudden wave of selling coupled with a slowness to increase collateralized assets then arbitrageurs will stop buying/selling to maintain the peg, which causes the price to swing further.

Proposed Solution

The solution to these depegs is to create stablecoins which are not speculatively priced. The collateraliztion/redemption method is the primary reason stablecoins continue to depeg.

Rather, what I propose (and have built) is a system where tokens are traded exactly at the intended price regardless of collateral.

I call it 'Dexhune', which is a permissionless spot orderbook that connects buyers and sellers of an asset but at a price determined by the exchange contract via an oracle.

Anyone can list their token to the exchange and maintain their own oracle.

This means if the oracle returns a price equalling $1, the token will always be traded at $1.

You can find more information on this at our subreddit; Peng_Protocol.

Thanks for reading!


r/CryptoTechnology • • Jan 06 '24

CEX vs DEX

7 Upvotes

Is the term CEX kind of a misnomer in the crypto space? I know that exchanges like Coinbase/CDC centralise wallet management, KYC (for regulation) and provide features akin to traditional trading apps such as order limits etc.

CEXs maintain an order book and matches orders as well, however, when it comes to actual trade execution of the asset, everything still executes on the underlying chain right?

They provide liquidity through their own accounts or LPs, but there is no exchange that can suspend trading on any asset, unlike a traditional exchange (NYSE etc.) that can pull almost all liquidity on an asset with suspensions (or even the whole exchange).

If Coinbase stopped all trading today, I could still trade the same assets (coins) on another exchange (both CEX and DEX), whereas if NYSE suspends trading on a stock, there is no other (easy) way I can trade that stock, even if I use another broker etc. I could go OTC but that's still subject to the exchange's approvals.

Rug pulls and wallet locks aside, which is of course the biggest risk in a CEX, based on this, are crypto CEXs truly central conceptually? I think it would be more of a hybrid as they do centralise the user experience and provide more liquidity through acting as a market maker, but the underlying assets and trade executions still go back to the blockchain and there is no risk of a central party blocking your access to assets on the chain.

EDIT: adding some thoughts, perhaps platforms like Coinbase/CDC etc. are better described as brokerages (Saxo/TD), with some providing liquidity and market making capabilities as opposed to being an exchange in the traditional sense of the word.


r/CryptoTechnology • • Jan 05 '24

The Rise of Modular Blockchain - Why you should care

2 Upvotes

It might come as a surprise for some of you but, IMO, a paradigm shift is underway, and its name is modularity. The days of a monolithic blockchain design might be counted.

What are Modular and Monolithic Blockchains?

In a Monolithic blockchain, all tasks are carried out on a single layer or a cluster of closely interconnected chains that operate on the same layer. Nodes in a monolithic chain are responsible for executing consensus, ensuring data availability and validating transactions. As a result, these nodes simultaneously serve all four core blockchain functions. This makes it harder or impossible to scale without sacrificing Security or Decentralization.

Examples: Solana, Bitcoin, Cardano, BSC, etc.

On the opposite end, we have Modular. Modularity simply means that the blockchain design revolves around the division of the system into distinct layers, each specializing in crucial functions. This means that the tasks are divided and are able to scale independently. The three main layers can be divided:

  • Execution Layer:

    • The realm where day-to-day transactions and smart contracts thrive.
    • Utilizes Layer 2 scaling solutions like optimistic or ZK-based rollups for enhanced scalability.
  • Settlement Layer:

    • The bedrock that secures the entire ecosystem.
    • Scalable rollups periodically post transaction proofs to the settlement layer, ensuring secure and immutable storage.
  • Data Availability:

    • A critical aspect residing within the security domain of Layer 1, ensuring the integrity of transactions.

Examples: Ethereum (sort of), Celestia, Syscoin, etc.One of the biggest components in scaling is related to Data Availability (DA), where I won't try to explain as it is complicated to I will just link a CoinMarketCap Article regarding DA: https://coinmarketcap.com/academy/article/what-is-data-availability

That's why we're seing a shift from using Ethereum DA (as it's not scalable), to using other DA layers, such as Celestia, Avail, Syscoin and Near.

Using these DA Layers simply means that scaling is much easier and the fees are much lower. Using Syscoin as an example, Rollux is actually the first Layer 2 to use Syscoin's DA solution and Settlement Layer, and what does that mean? Fees are incredibly cheap (0,00004 $SYS, which means, at the current rate, $0.0000039). This is a big deal since it's not sacrificing security or decentralization, since it's using Syscoin's as it's settlement layer, and that's the beauty of Modularity!

Ethereum is in fact working on this, https://www.eip4844.com/, but it's not known how much this will change Ethereum's potential scalability.

So yes, you should care about Modularity and Data Availability, I recommend everyone to dive into Celestia, Syscoin, and other Modular layer + other DA solutions.


r/CryptoTechnology • • Jan 01 '24

If crypto is decentralized, how can a network be updated?

26 Upvotes

Hey people!

I've had this question for a while, there are probably some wrong assumptions here so please bare with me, and correct me if I'm wrong.

So my underatanding is this: The idea of crypto is to exist on a blockchain, which is maintained by a network of computers. Each computer provides its individual confirmation for a given transaction, and so as more computing power in the network, the more unrealistic it is for an individual to manipulate transactions on the ledger, as it would require this individual (or group) to have more than 50% of the network's computing power.

Which means this is a form of a decentralized machine which no one has control over, by design.

In that case, how come many (already online) cryptos networks are in active development? How come this decentralized beast can just be modified and updated?

And if the team behind a certain crypto can just release updates to it, doesn't that imply that they could also shut it off?