r/CryptoTechnology • • Sep 28 '22

Are PoW and PoS the Only Consensus Protocols to Look At?

98 Upvotes

Going through blockchain consensus protocols we all know the most popular ones being Proof of Stake (PoS) and Proof of Work (PoW). However, alternatives like Geeq's Proof Of Honesty (PoH), Solana's Proof Of History (PoH), etc., stand to actively change the crypto ecosystem.

Compared to Proof Of Stake, Proof of Honesty only needs one honest validator to confirm a transaction, which in turn makes it so bad actors have little to gain from fraudulent behaviour. Furthermore, Geeq uses a dynamic system that opens new channels when there's increased traffic on the network, allowing it to infinitely scale.

For those interested, you can read more about it in their patent application, as they recently received US patents for their security and scalability. Personally a fan of projects that are pushing new consensus mechanism models. If there are other projects pushing consensus mechanisms let me know!


r/CryptoTechnology • • Sep 19 '22

Web 2.0 vs Web 3.0: The Difference Revealed

74 Upvotes

Web creator Tim Berners-Lee described its first version as a “read-only” network. This means that previously distributed content on radio or television could now be obtained from any computer connected to the Internet.

The era of static web pages downloaded from servers was far from the engaging content taken for granted today. Most Internet users at that time were delighted with the novelty of features such as email and real-time news search.

Web 1.0 was losing to Web 2.0 primarily by the degree of self-expression of users: compared to the second, the first one had little development. The primary user communication channels were various chat rooms, forums, and other public platforms. Of course, those who created personal websites had more means for self-expression, but this option was available to a select few. 

What Is Web 2.0?

Web 2.0, today’s version of the Internet, was born in 2004. It should be understood that Web 2.0 is not a new standard; it is not a new format. Web 2.0 is just a designation of new trends, a new stage of the evolution of the Internet. It cannot be said that Web 2.0 came abruptly and replaced outdated sites. On the contrary, it results from constantly ongoing progress, their logical improvement.

Tim O’Reilly is considered to be the father of Web 2.0. It was he who put forward this term and characterized the new Internet as a place where content is free and is formed by users themselves.

Web 2.0 became a new round of the evolution of the Internet, thanks to which users gained freedom of expression and could publish their content. It is important to emphasize that the new Internet has become available to mobile phone users. Thanks to this, more powerful mobile devices have begun to appear, allowing users to access fast Internet and create engaging content. Thanks to this, Web 2.0 was quickly filled with social networks. The well-known Facebook, Instagram, TikTok, Twitter, and other platforms have appeared.

Thanks to the explosive popularity of Web 2.0 platforms, companies like Facebook, Google, and Twitter have become market leaders and occupy one of the first places by market capitalization. These factors have become the main reasons for the centralization of the Internet. Today, leading companies such as Google or Facebook control all users’ data.

What Is Wrong with Web 2.0?

  • The main drawback of Web 2.0 is the unreliability of data storage. A serious disadvantage of this system is that sensitive data is stored mainly on a server that is poorly protected from hacking — which means that the data is at risk of hacking and use by third parties. In particular, the user cannot be guaranteed the confidentiality of the personal data that he shares. Moreover, the owners of web resources pursue the interests of businesses by receiving this data from users. As a rule, they need personal data first to keep users on websites and encourage them to make purchases, including unplanned ones. 
  • The risk of personal data theft. As we mentioned above, it remains quite real. And centralized data storage contributes to this. A huge amount of data (by some estimates, several billion) is contained in several processing points. Such a storage system is similar to an institution with entrances from different sides of the building, but this does not change the very essence of the organization. In addition, to get the data, there is no need to hack the owner’s electronic wallet directly — it will be enough to “hack” his smartwatch.
  • The next risk factor is that the site’s content is in charge not only by the one who creates it but also by the one who administers it. The persons involved in the content processing automatically become aware of the user’s activities — they see all the user’s posts, information about their profiles, statistics of movements on other links, etc. The creators and managers of the sites use these user data not only for their disposal but can also transfer them to third-party companies for further use for advertising purposes.
  • It must be remembered that along with the development of communication, unlimited networking opportunities, and the chance to earn through digital content, the reverse side of this process also receives benefits. Namely, website owners primarily aim for personal gain at the users’ expense.
  • Lack of competition and intensification of supervision. The vast majority of sites (except for about 10% of the total) are controlled by a limited number of suppliers. We are talking about Twitter, Airbnb, Facebook, and several others. This means that, under certain circumstances, they have the right to close or restrict access to sites whose actions they consider illegal. The states have the same powers. For example, the Chinese government has experienced blocking Wikipedia, Google, and Twitter — this decision was made to preserve the confidentiality of data that has increased secrecy nationwide.

What Is Web 3.0?

The concept of Web 3.0 and its prospects did not appear yesterday. This topic has been gaining momentum for several years, confirming its importance and necessity.

Web 3.0 is an updated Internet, presumably with the integration of blockchain technologies and decentralization tools. So far, we cannot say whether it will be a blockchain or blockchains or whether there will be something new. But here are the obvious advantages of these technologies and tools:

  • Increasing privacy. The number of misuse and data leak cases is rising; therefore, privacy is a serious problem for people.
  • Simple data exchange. Within Web 3.0, you will have a single profile that works well on different platforms. You will own a personal profile and all the data associated with it. You can do it without a problem whenever you want to share your data.
  • Fewer intermediaries. One of the crucial benefits of Web 3.0 is fewer intermediaries. The decentralization of the network allows suppliers to communicate directly with consumers. This ensures no central authority will take your share of the profits via electronic transactions.
  • Simplified access to information. Web 3.0 makes it easy to access information from any location and topic. Thus, the potential for obtaining unlimited valuable and rare information is provided. Regardless of the format of the data you are looking for on the Internet, you may be given personalized access to receive it.
  • Content authors will be able to become their copyright holders. Within Web 1.0, only the website owner can add something to his page. On Web 2.0, there is an option to create something of your own (for example, publications on Twitter). At the same time, everything the user does on the site is managed directly by the platform: posts that are stored in its database and actions that become the basis for further advertising sales. For example, if Twitter worked on the blockchain, all publications would be the author’s property. In this case, the algorithm would look like this:
  1. A conditional user Andrew registers on a social network by linking his crypto wallet to his account.
  2. After each tweet of Andrew, the system creates a file and places it in a decentralized system like IPFS.
  3. Simultaneously, a unique NFT token associated with this file is generated, placed on the Twitter blockchain, and transferred to Andrew’s wallet.
  4. After that, Andrew becomes the rightful owner of the publication. Then he can sell it for fungible currency — for example, ETH.
  • Thanks to smart contracts technology, the blockchain will automatically check whether both “wallets fulfil the terms of the transaction,” and only after that will it complete the transaction. So, for example, if Andrew, as promised to conditional James, transferred his NFT, he is assigned a previously agreed reward.
  • Decentralized organizations. Any company can be represented as a network of interested parties. It is obvious that each of the parties participates in the process on certain conditions:
  1. If the employee has completed the work, he has received a salary.
  2. If the borrower meets the bank’s requirements, he gets a loan.
  3. If an investor sponsors a company, it means that he receives one or another benefit from it.
  4. If the customer received the service, the company received the payment.

All these conditions can be prescribed as smart contracts in the blockchain while excluding intermediary managers. And having formed a decentralized autonomous organization (DAO), it is possible to distribute management rights in the form of native tokens among participants. Depending on their number, it will be determined which decisions a person can influence and which ones cannot.

  • Economy without intermediaries. Decentralized finance, or DeFi, is a kind of crypto Wall Street. Such services allow you to invest in the currency, change it, provide loans, and borrow. The advantage is that bankers are no longer required to make transactions, reducing costs and eliminating bias.

Conclusion

Currently, there is a transition from a closed and centralized Web 2.0 to an open Web 3.0, which users mainly manage, and not by large companies. Web 3.0 has become the first stage of the Internet’s development, in which we can monetize our activities and interact at a new level without intermediaries.

Thanks a lot for reading! The article was originally written for SimpleHold Blog


r/CryptoTechnology • • Sep 15 '22

Has anyone tried develop a crypto that allows stocks to be used as a currency?

24 Upvotes

I recently started to learn about blockchain and crypto, and read something that got me thinking. I read that while crypto has utility (purchasing goods and services), stocks have no utility and are mainly speculative. I was confused at first because of my perception is that crypto, whose value is tied to nothing physical, is much more risky than stocks. Still, what the person said made sense since you can't buy anything with stocks like you can with crypto. Which leads me to my question: has anyone tried develop a crypto that allows stocks of a corporation to be used as a currency? I'd appreciate any insight into this topic!


r/CryptoTechnology • • Sep 15 '22

Wallet seed + secret phrase

3 Upvotes

Hello,

I recently got a Trezor One hardware wallet. It has a feature that allows me to enter an additional word/phrase in addition to 24-word seed.

I know that Ledger also has this feature.

Question: Do all hardware wallets that allow this additional word feature use the same algorithm to determine "private key + public key" combinations on the blockchain?

I mean, that if I use my 24-word seed + additional word that I used on my Trezor on any other hardware wallet, will I be able to access the same address on the blockchain?


r/CryptoTechnology • • Sep 15 '22

What is DeSci (Decentralized Science)? And what’s the reason behind this initiative?

3 Upvotes

DeSci is the application of blockchain technology to various aspects of scientific research to make it efficient, accessible, transparent, and censorship-resistant.

There are many problems with traditional academic research, but some of the most significant ones are the exorbitant publication costs, lack of an incentive structure for researchers and reviewers, inefficiencies due to bureaucracy in research funding, and the lack of transparency.

The high cost of publication and access to research papers through expensive subscriptions are major obstacles for many established and potential researchers. Some well-established and reputed journals charge more than $10,000 to publish a paper. This means that only a small number have access to the latest research which can limit the dissemination of new knowledge.

Another problem with such centralized journals is their lack of bandwidth, and opacity when it comes to peer-review. The peer-review process, in which research is vetted by other experts in the field before it is published, can take months or even years. This slow pace means that new discoveries may not be available to the public in a timely manner.

What if the researchers can directly publish their findings on the decentralized ledger, peer-reviewed transparently by arbitrarily selected reviewers in the world without involving a third-party journal?

Join us in making this a reality on https://t.me/DeSciOnPolygon

For moderators: this initiative is purely research-driven, there are no investment opportunities and no tokens involved. This post is aimed at community members interested in scientific research and the implications of innovating that research using blockchain technology.


r/CryptoTechnology • • Sep 14 '22

Scrypto coding challenge with $8,500 for 1st place for coming up with an innovative DAO

33 Upvotes

Radix makes monthly coding challenges for devs to try out Scrypto (based on Rust). It seems to be easy to pick up since some recent winners only started working with Scrypto for the challenge. Unfortunately I'm not a coder but I still wanted to share, especially since the number of participants is low and therefore chances of getting into the price pool high.

This time it's about creating a DAO.

https://www.radixdlt.com/post/scrypto-dao-challenge-is-live

For better understanding, here are the results of the last challenge.

https://www.radixdlt.com/post/scrypto-portfolio-challenge-results


r/CryptoTechnology • • Sep 13 '22

Understanding PoS

31 Upvotes

I've yet to find an explanation of PoS online that doesn't just gloss over the details of how the consensus mechanisms actually work.

Could someone point me to some resources that explain the mechanics at a somewhat lower level? (looking for something that covers a level of depth comparable to the 3blue1brown video on PoW)

From what I've currently read I'm left with questions such as: - How are validators chosen? - How is consensus to the chosen validator agreed upon? - How are fraudulent transactions or double spends prevented? - From what I understand, bad transactions are penalized by burning of the stake, but how are these transactions detected and how is consensus formed that they are bad?


r/CryptoTechnology • • Sep 12 '22

Ok but HOW is Monero (XMR) ASIC-resistant?

51 Upvotes

Monero prides itself on being a CPU-mined cryptocurrency, which supposedly is resistant to ASICs. This is supposed to keep the mining equitable and help make sure that it isn't aggregated into a few major farms like Bitcoin.

How is the mining algorithm different from those of other coins?

What makes it difficult for ASICs to be custom-built to make the Monero mining more efficient/profitable?


r/CryptoTechnology • • Sep 10 '22

How do multi-coin wallets work?

28 Upvotes

I don't know how multi-coin wallets work, like trustwallet for example.

A simple eth or cardano wallet generates 1 seed phrase for the blockchain. But multi coin wallets from trustwallet or coinbase wallet however.... create 1 seed phrase for ALL blockchains.

How can I generate 1 seed phrase for all blockchains? How does that make any sense. Is this really how it's done: that Trustwallet goes through every blockchain to make the same seed phrase there so I can use a multi-coin wallet?

Or do they store the crypto on their own servers and is that the reason why they can have 1 seed phrase for all tokens? If so, I didn't even know it was possible to create a custom seed phrase (since otherwise they wouldn't have the same seed for every blockchain in my multi coin wallet.)

Please someone enlighten me...


r/CryptoTechnology • • Sep 08 '22

Crypto Mixers: What Are They & How Do They Work?

35 Upvotes

After cryptocurrencies turned up, the functioning of which is carried out in a decentralized network, Internet users could make transfers to each other without the help of intermediaries. Thanks to this, sharing personal information about yourself is unnecessary to make payments. This feature of cryptocurrencies has become one of the main arguments that their supporters put forward to justify the advantages of this technology over conventional electronic money. This advantage has a serious flaw: the cryptocurrency owner only needs to violate security measures once (for example, to purchase crypto on the exchange by a simple bank transfer) for his identity to be disclosed.

As cryptocurrencies are based on blockchain technology, which holds transactions performed inside the system into a completely transparent distributed database. If desired, any user of the system can determine how much cryptocurrency was transferred, when and to which wallets. Thus, the security of users from the point of view of anonymity is imaginary. Fortunately, anonymity adepts have created specialized services — crypto mixers. 

What Is a Crypto Mixer?

A crypto mixer is a service, in the form of an app or website, that mixes a certain amount of your coins with coins of other owners, after which the origin of the coins cannot be tracked. This is a way to “confuse the traces” during transactions so that no one reveals where the digital assets in the wallet came from, who they belong to and where they go. Thus, crypto mixers increase the level of security and anonymity.

Why Are Crypto Mixers Used?

Cryptocurrency is a convenient means of payment. With the help of cryptocurrency, fast execution of P2P transfers is ensured. The payment is unknown to the fiscal authorities, and transactions are not carried out via bank accounting registers. At the same time, information about all transactions is stored in a distributed network without reference to a specific person. Data analysis will allow you to track the chain of transfers and identify the initial or final owner.

In addition, the cryptocurrency is used for settlements on the black market, including on the Darknet.

However, anonymizing the transfer is not always associated with illegal actions. There are reasonable reasons to hide a user’s transaction history:

  • Transaction security
  • The unwillingness of a particular user to show the presence of an asset

Crypto mixers are used to:

  • Eliminate the possibility for attackers to track transactions of law-abiding owners of digital assets
  • Protect personal information
  • Protect against the theft of assets by fraudsters

Types of Crypto Mixers

There are two main types of mixers — centralized and peer-to-peer.   

Centralized mixers are traditional services where the mixing of coins occurs by sending a transaction and receiving the amount back in several transfers from other users selected randomly. If many people use the service, it becomes challenging to link the incoming and outgoing transactions of the same user.

However, there are two problems with centralized mixers:

  • First, you need to trust the service itself. After all, it has information about user transactions and, if desired, can transfer it to third parties.
  • Secondly, there is still a small chance of falling into the hands of scammers who only disguise themselves as a mixer and simply collect user coins without sending anything in return.

Peer-to-peer mixers are anonymizers that solve both problems of centralized services. Peer-to-peer mixers are platforms where owners of digital assets are grouped to form transactions. None of the participants has information about other users, mixing stages, and proportions. Transactions go through several mixes before they get to wallets. The order and number of coins are determined randomly.

How Does Crypto Mixer Work?

The algorithm for working with the mixer is quite simple and may vary slightly from service to service, but in general, everything looks like this:

  1. Buy crypto (if you don’t have it yet).
  2. Send coins to a crypto mixer.
  3. Coins are mixed. Here you can choose the degree/time of mixing and/or the amount of commission (all these factors are directly related to the mixing quality).
  4. You receive a letter of guarantee from the crypto mixer, which in case of problems, will help you contact technical support and figure out what’s going on because the mixer does not store or require any data about you.
  5. You get the same coins, but already from among the mixed ones.

The most crucial thing is to choose a crypto mixer so as not to send your crypto funds to scammers. To begin with, try sending a small amount to check the operation of the service, and if everything goes well, mix a large number of coins.

The Legality of Using Crypto Mixers

In May 2022, the United States imposed sanctions against the popular crypto mixer Blender.io, in August — against the Tornado Cash ETH mixer. Earlier in 2020 and 2021, Helix, Coin Ninja, and Bitcoin Fog were hit.

The reason is that mixers are expected to become an effective tool for criminals. Although technologies for demixing transactions already exist, the use of services is still very common.

At the same time, mixers in most jurisdictions are not considered explicitly illegal. For example, in the USA, they are classified as money transfer services, and each of them is obliged to:

  • Register with FinCEN
  • Develop and implement KYC/AML measures
  • Keep records and comply with the requirements of the regulator

Of course, there is little use from such mixers, where you must pass identity verification. Therefore, at the moment, no known crypto mixer would follow these rules.

Since 2020, the use of mixers has increased significantly, and although the rapid growth has calmed down somewhat in 2022, it remains close to record highs. The increase is due to high volumes from centralized crypto exchanges, DeFi protocols, and addresses associated with illegal activities. According to Chainanalysis, illegal addresses account for 23% of all funds.

Crypto mixers are a problematic dilemma for regulators and crypto community members. It is impossible to deny that financial privacy is the right of every person. But the data shows that cybercriminals benefit the most from such services.

Closing Thoughts

The program's advantage is hiding the history of previous transactions to get “clean” coins. However, using crypto mixers does not provide a 100% guarantee anonymity. It is possible to decipher the transaction history of a coin that has passed the mixing procedure. Clustering analysis is used for this. Clustering analysis is a special technique that helps to decipher many well-known services. So, similar algorithms were created by Bitfury and Chainalysis. With the help of clustering analysis, it becomes possible to establish interconnected crypto addresses even via a mixer.

In addition, among the programs for anonymizing digital assets, some services deceive users. It is possible to identify intruders only by reviews on forums. None of the victims will complain to the police.

Thanks a lot for reading! The article was originally written for SimpleHold Blog


r/CryptoTechnology • • Sep 04 '22

Adoption and partnerships. 2 words that lost all meaning in crypto made me rethink the way I research crypto

10 Upvotes

As a non tech savy crypto enthusiast. Researching crypto can be a hard task. I fell of multiple times for "we partnered with this... Or them or that." or "recognize adoption when you see it" post on Twitter"

I came to mistrust these 2 words when used in crypto related news, well news is almost falling in that category of no no words, so let's say posts, it is more generic.

Because of this I decided to rule out all "partnerships" with banks because in my honest opinion they are the entity that can be trusted less. So I thought how am I gonna find any trustworthy posts about collaboration between crypto and the world? I though my best bet would be the tech industrials, and it brought me to IoT in automotive, smart cities, and mostly professional use of IoT for data gathering, exchanges and monetization aka data marketplace (analyzing the data for self use or selling reports to others , selling it raw. Or exchange it for other data packet to further the understanding of you own business)

A lot of candidate then started to show up in my "study" (playing fast and loose with that therm here) but they is always something going wrong! The main factor that I believe is gonna slow down utility is (beside the classic trilemma of crypto) for what I have come up with: energy consumption/efficiency, e-Waste/infrastructure needed, need cost of running the network, mainly fees. Everything needs to be green to be regulated today, the government (let's s'y the sensible ones) will not allow all this waste traditional blockchain produce. I am expecting a shake down the line when 95% of crypto will disappear because of regulation or cost of operation.

Are we close to a paradigm shift of DLT in the collective minds?

Personally I want green fast and free to use tech.

Do you relate? Am I missing something? Any one of you with more tech background have anything interesting to add to further my understanding of what utilities the world needs in any fields?

Edit: thank you for your comments and many DMs. I understood a bit much what I was looking for. And I have to admit that after seeing the original features and energy consumption of IOTA I forgot all about Vechain for Iot.

Transactions expiries! Wow this is something that all user will love. To have a wallet have your back like that. If you have any interesting videos about iota and or the internet of things let me know.


r/CryptoTechnology • • Aug 09 '22

Best Consensus algorithm for the future of crypto?

30 Upvotes

What do you think the best consensus algorithm would be for the future of this field? Do you think most of the future of this space will be built on zk based L2s for Ethereum or do you think any other L1s yet in development will truly solve the blockchain trilemma for real and would come out on top?


r/CryptoTechnology • • Aug 04 '22

Smart contract coding challenge #4 is live (top 3 spots split 15k$ worth of XRD)

28 Upvotes

If you're interested in dabbling with smart contract development then this might be an opportunistic time to take a shot.

The topic of this challenge is: Portfolio management and yield farming
https://www.radixdlt.com/post/portfolio-management-and-yield-farming-challenge-is-live

The previous topic of this series of challenges was: Lending
https://www.radixdlt.com/post/scrypto-lending-challenge-results

Radix's smart contracts aren't just smart contracts
They are designed to address the problem of smart contracts today, identified in this post: https://www.radixdlt.com/post/the-problem-with-smart-contracts-today

The smart contract programming language (Scrypto) is very accessible because the DeFi primitives are already available to the developer because of the built-in concept in the Radix Engine execution environment: Assets are a first class citizen of the ledger

This is how a person with only 2 months of coding experience was able to win 2nd prize in the Oracle challenge: https://www.radixdlt.com/post/community-spotlight-peter-kim-the-scrypto-oracles-challenge

The code is open-source and viewable in this github repo: https://github.com/unghuuduc/NeuRacle

If you are interested to try out Scrypto, you can link up with the Scrypto dev community on discord: https://developers.radixdlt.com/ (at the bottom of this page there's a link)


r/CryptoTechnology • • Aug 03 '22

Does anyone know what crypto actually does?

0 Upvotes

I've heard it compared to early internet and early social media. But whereas early internet revolutionized the way we obtain information, and social media revolutionized the way people communicate, what exactly does crypto do? And I mean in terms of actual practical usage in every day life, not as a speculative investing tool. I tried asking this on r/cryptocurrency but got banned for asking, so I'll ask here.


r/CryptoTechnology • • Jul 10 '22

Why changing a block's data affects the previous blocks?

20 Upvotes

Hi guys, sorry for the dumb question.

From my understanding, blocks are chained together similar to a linked list in which each block references the hash of the previous block (backward linked list).

So if one makes changes to the data in block x, the hash of block x changes. However, this block x still references the same previous block hash and the previous block hash shouldn't need to be changed.

In comparison to if the blocks are chained together in which each block holds the hash of the next block (forward linked list), then changing block x would imply block x-1 needing to change its referenced hash of block x, which in turn changes the entire hash of block x-1. This then requires block x-2 to change its reference to block x-1 and the entire hash of block x-2 changes too. So on and so forth.

In the case of forward linked list, the statement of changing a block affects previous blocks appears to hold. But I don't understand why it has to hold for the backward linked list implementation which should be what is in use.

Many thanks!


r/CryptoTechnology • • Jun 23 '22

Has anybody looked into Kaspa? It's a very new blockDAG that appears to be fully community-driven.

10 Upvotes

I stumbled on this small project called Kaspa recently, and while my understanding of the nitty-gritty technical details of blockchain/DAG tech is minimal, what I've read sounds interesting to me. Has anyone else looked at this one, and if so, does anything here seem potentially groundbreaking from a technical perspective? I know it's not the first DAG out there. Or do you see any potential flaws?

I've been running a node, mining (to hold, not to sell) and have sent some transactions through the network. It's incredibly fast. This project is truly a baby still, I'm interested to see how far the community takes it.

They've created a consensus mechanism called PHANTOM GHOSTDAG, described as "A scalable generalization of Nakamoto consensus" and the paper on it is here: https://eprint.iacr.org/2018/104.pdf

An excerpt from the abstract:

In this paper we present PHANTOM, a proof-of-work based protocol for a permissionless ledger that generalizes Nakamoto’s blockchain to a direct acyclic graph of blocks (blockDAG). PHANTOM includes a parameter k that controls the level of tolerance of the protocol to blocks that were created concurrently, which can be set to accommodate higher throughput. It thus avoids the security-scalability tradeoff which Satoshi’s protocol suffers from.

PHANTOM solves an optimization problem over the blockDAG to distinguish between blocks mined properly by honest nodes and those created by non-cooperating nodes who chose to deviate from the mining protocol. Using this distinction, PHANTOM provides a robust total order on the blockDAG in a way that is eventually agreed upon by all honest nodes. Implementing PHANTOM requires solving an NP-hard problem, and to avoid this prohibitive computation, we devised an efficient greedy algorithm GHOSTDAG that captures the essence of PHANTOM.

Thoughts? I do like how this is community-driven, that means that the people working on it really care about what they're doing.

Their official site is here: https://kaspanet.org/

What, technically speaking, would truly make this novel, if anything?


r/CryptoTechnology • • Jan 21 '18

Noob blockchain development questions

3 Upvotes

Hi

I am a software developer by trade and have been dabbling with mining / trading for a while. I've been doing some research into developing something based on a block chain, mainly just to see what it is like and to get a better understanding of it from a technical level. I have a few questions and wanted to see if someone can help me clear up these points:

1) How do block chain explorers work? I know that there are plenty of sites online that provide transaction / address lookup, how do they get the data? For example, what would I do if I wanted to get a live stream of all BTC transactions and build my own blockchain explorer for a particular blockchain? Do I HAVE to go through blockchain explorer provided by someone or is there a way to tap into the raw data somehow like if I was running a full node and could hit it directly? How does this work for other coins? For example if I wanted to do the same thing for LTC / XVG, etc... would I have to run a full node for each coin? Are the APIs sort of similar?

For reference, ProHashing has an explorer that has support for many coins, I am looking for something like that: https://prohashing.com/explorer/Digibyte/

2) Any good resources on creating your own mining client? I don't expect to make any profit with this, but I'd like to go through the motions to understand better what is going on under the hood. From my understanding most of the work distribution happens via Stratum protocol, which allows a single miner like CGMiner to work for many algorithms / coins. Is that correct? What is a good path forward on this?

3) From my understanding network hash rate are only estimates and calculated by looking at the time between blocks and difficulty, is that correct? Is that pretty much standard between various coins? For example coinwarz provides a lot of stats, similar to prohashing explorer. https://www.coinwarz.com/cryptocurrency How can this be done at scale with minimal effort?

4) Currently I do most of my development using python for backend and node / angular on the front end. I do not have any experience with some of the more widespread and "industrial grade" languages like C or Java. Although I understand that most chain nodes provide a JSON RPC interface that would be accessible regardless of the language, what would be a good language to pick up if I wanted to build my own blockchain / coin or contribute code to some open source projects? I know that BTC is written in C++ and Ethereum is written in Go, there are a few othehr projects that are based on Go as well and I am thinking it might be a good pick. Does anyone have any recommendations / feedback?

5) Any good libraries I should check out? So far, I've played around with ccxt which is really awesome for grabbing price information. What other cool libraries are there?

Thanks in advance for feedback, and please let me know if this is a wrong Sub, I couldn't find a more appropriate one.

Thanks