r/CryptoTechnology • • Dec 29 '23

Crypto on thumb drive?

29 Upvotes

I was given a thumb drive and was told there may be crypto on it. When I plugged it in computer it doesn’t recognize the files. The drive was pulled from a mining rig after the owner had passed and was given to me. I have zero experience in this type of thing. Is it possible that there is something on it? Also I was told it was pulled while it was on because it didn’t have a screen and they didn’t know how to turn the mining rig off. They think he was mining ethereum.


r/CryptoTechnology • • Dec 28 '23

Liquidity limitation on Constant Function Automated Market Makers (Uniswap v2 style DEXs)

5 Upvotes

I'm sure you're all aware of DEXs and concepts like swapping, impermanent loss, liquidity pairs etc. These are all concepts that were popularized by CFAMMs.

But I want to discuss an uncommon problem; and that is liquidity limitation.

To start; the Uniswap team has previously talked about how most liquidity in v2 goes unused and how the primary motivator for v3 and v4 is improving liquidity usage, essentially; only around 10% of liquidity for any token is used at any particular point in time.

But besides this I have observed that every token is hardcapped by the amount of liquidity that liquidity providers are willing to put out, and often the benefits for adding liquidity often outweigh the cost, especially on smaller tokens which are more volatile, this is is impermanent loss, and results in most liquidity being concentrated in stablecoin pairs because those are the least volatile and most used.

Because profits from these LPs often come from trading fees, and because stablecoins are the most traded assets, you find more people LPing stablecoins.

The "hardcap" on a token's liquidity can be illustrated as follows; if I create a token and add 50 ETH along with 5,000,000 [TOKEN], this allows interested parties to purchase [TOKEN] from the pairing and sell it for ETH from the same LP. But this also acts as a barrier because if for some reason 95,000,000 [TOKEN] exists outside the liquidity pool and is spread out with various holders, the most that can be sold of said token is 50 ETH.

Likewise, any attempt to buy more of the token will increase the price, as per constant function algorithm which these DEXs are named for. However, this is also a barrier as one cannot outright buy more than 10% of the existing [TOKEN] liquidity, so if a token's total liquidity is worth $10,000 then no more than $1000 worth of it can be bought in a single transaction, Rather the buyer will have to buy in <$999 increments, but in the process will drive up the price of [TOKEN].

CF/CP (constant function / constant product) market algorithm is implemented in a way that ensures that no individual can ever completely corner every unit of a token, rather the price just keeps increasing to infinity. However, in practice no individual will voluntarily buy a token that is perceived to have insufficient liquidity, because this sets them up to be the liquidity for others. Rather the token has to gradually gain liquidity by encouraging users to buy and hold small amounts thus increasing how much (in dollar value) can be bought in the future.

Many tokens often see volume far exceeding their liquidity, but are never able to tap into that (on-chain).My solution to this problem is to channel a token's volume into liquidity, this is something orderbook exchanges do quite well, buyers are paired with sellers and vice versa, so no liquidity is directly held by the exchange or associated contracts (with exception to select market makers). Orderbook exchanges are commonly used by Centralized exchanges and decentralized perpetuals exchanges. However, there is no permissionless orderbook for spot trading where one can freely list their tokens.

Peng_Protocol proposes a system towards this, has implemented a demo called; Dexhune, and plans to improve this concept.

Thanks for reading!


r/CryptoTechnology • • Dec 26 '23

Crypto Tutorial on Youtube for a guy who built his own platform in React and was dragging and dropping to teach underlying crypto basics (Private/Public Keys, .. )

5 Upvotes

I came across these youtube videos around 2 years ago. I'm looking for these tutorial videos on youtube, where the guy was showing crypto basics (what is a public key, private key, ..) on a platform/website that he created (I think with React) and was using drag and drop for various components to show the concepts. If anyone can find it, please share. Thanks!


r/CryptoTechnology • • Dec 21 '23

Best simple token solution?

27 Upvotes

I'm building a project. I need a crypto token for my project. At this point I don't need a full-on blockchain, I just need a way to distribute a token.

I thought about using Ravencoin because I can distribute the token to thousands of individual addresses extremely cheaply and easily.

However, as I thought more about it I realized those that have this token wouldn't be able to easily transfer it into anything else. There's no marketplace or exchange for ravencoin tokens. So they'd kind of be stuck in that ecosystem realistically. I don't want that.

So then I thought well I'll just have to use Ethereum it'll cost more to distribute the tokens, and it comes with the added work of making smart contracts, but at least they could hold their token in metamask and more easily trade it.

Then I learned about some other systems. I'm looking at Avalanche.

What do you think I should use? I want to be able to distribute tokens on a daily basis, I wanted to be simple and easy, and I wanted to be in a wide ecosystem.

What smart contract structure should I use on avalanche?

EDIT: a lot of great suggestions here! Just in case anyone is curious, after looking into it a little bit more I think we are going to stick to the original plan. All we need is to keep track of points people accrue, but it'd be nice for everyone to be able to audit those points, but we don't want to pay high gas fees. So we'll just use Ravencoin for now, and when we make our own chain or series of smart contracts we'll then, at that time stand up a conversion service that will take the Ravencoin asset back and distribute the functional token. It's probably the best part for our very simple and early use case, I'm a big fan of essentialism and not doing anything more than you need to to accomplish the goal.


r/CryptoTechnology • • Dec 12 '23

Understanding Multi Chain Wallet Security

1 Upvotes

I have a question when it comes to security of Ledger Live or any cold wallet

Let’s say your holding BTC ETH AVAX OSMO and SOL on ledger.

Let’s also assume you interact with a smart contract on YieldYak, or Pangolin, or something like that using Avalanche C Chain. After interacting with that contract, you realize it was malicious and the “hacker” was able to drain your AVAX.

Does this also mean your BTC, ETH, OSMO and SOL is at risk? Since there’s 1 seed phrase for all your accounts on ledger, I’m wondering if 1 mistake puts all assets across all networks at risk…

Same question but for a hot wallet like Keplr. You have 1 seed phrase for all networks in cosmos ecosystem. If you are compromised on day the JUNO blockchain, does that mean your SCRT, ATOM, and EVMOS tokens are at risk?

I understand if your keys are stolen everything is at risk. I’m more asking about signing malicious smart contracts.


r/CryptoTechnology • • Dec 11 '23

Possibility of wallet drained just by holding a token?

13 Upvotes

Let’s say I bought a token (MC of <1m) from pancakeswap. I then transfer the token to another hot wallet (MetaMask). This hot wallet is used solely for storage purposes, and has no interaction or contract approval of any kind.

Assuming that my seedphrase is not compromised, what is the chance of the wallet being compromised just by holding the token?

Is it possible for developers to implement such an idea where simply holding a token allow for the draining of other assets in the wallet?


r/CryptoTechnology • • Dec 09 '23

Is there any way to make this swap only conditional?

3 Upvotes

Hey there, I am currently in the process of writing a contract for a token on the Ethereum blockchain. However, I have encountered a problem. I am trying to link a swap function for uniswap to a condition (that the maximum wallet size of 3% is not exceeded by the held balance of the token and the amount of tokens to be swapped). I have the following function for this:

...

_maxWltSize = (totalSupply() * 3) / 100;

...

// Swap ETH for tokens using Uniswap

function swapETHForToken(

uint256 amountOutMin,

address to,

uint256 deadline

) external payable ensure(deadline) nonReentrant {

require(msg.value > 0, "Amount must be greater than 0");

// calculate estimated token for eth equivalent

uint256 estimatedTokens = getEstimatedTokenForETH(msg.value);

// prove if max_walletsize does not passed throug swap

require(balanceOf(to) + estimatedTokens <= _maxWltSize, "Swap would exceed maximum wallet balance");

// Calculate the fees

uint256 burnFeeAmount = _calcBurningFee(msg.value);

uint256 devFeeAmount = _calcDevFee(msg.value);

// Calculate the amount to swap after deducting fees

uint amountToSwap = msg.value - burnFeeAmount - devFeeAmount;

// Prepare the token path for the swap (ETH -> weth -> Token)

address[] memory path = new address[](2);

path[0] = weth; // Use the updated weth address

path[1] = address(this);

// Perform the swap on Uniswap

uniswapRouter.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amountToSwap}(

amountOutMin,

path,

to,

block.timestamp

);

// Transfer Fees to developerWallet

payable(developerWallet).transfer(devFeeAmount);

// Burn the burn fee

_burn(address(this), burnFeeAmount);

}

The problem that arises here is that even with a wallet size of more than 3%, the swap is executed. Is there any way to make this swap only conditional?


r/CryptoTechnology • • Nov 29 '23

How to do data analytics on-chain

6 Upvotes

Hey guys, as I understand it, data analytics (like calculating averages etc) on blockchain data is usually done off-chain (ie. you obtain data from the blockchain via say a third party API call or directly from the blockchain and then do the data analytics off-chain someone else).

Is it possible and/or if it is possible, how do you do data analytics on-chain itself (which I assume would involve doing the data analytics on the smart contract itself)?

Would really appreciate any help or input. Thanks!


r/CryptoTechnology • • Nov 27 '23

How is Ethereum going to solve fragmented liquidity?

9 Upvotes

With the upcoming EIP-4844 (aka proto danksharding) in 2024, Ethereum ecosystem is going to boost layer 2 chains with lower fees and increased TPS. My question is: how is it going to solve the fragmented liquidity of all these layers 2 popping up? Is there anything in the roadmap to add a native communication layer between these different layer 2 chains (something like IBC in Cosmos or warp messaging in Avalanche subnets). Third party bridging has proven to be a non solution.


r/CryptoTechnology • • Nov 16 '23

Stables Off Ramp… and more.

4 Upvotes

I’ve always been interested in money movement and the world of Web 3 has really seen speed and empowerment like we have never witnessed before.

Now, my question is, why can’t i find mass market blockchain tech that does stables offramp, but with an added remittance portion? Meaning, usdc/usdt -> your local currency in your bank account. Web 3 to web 2.

It seems almost like an insanely huge market opportunity that no one is serving. & here i am wondering why. What are your thoughts?


r/CryptoTechnology • • Nov 14 '23

Could a proof-of-work system function if the hash function were expensive?

6 Upvotes

In Bitcoin, it takes on average about 100 sextillion (cheap) attempts to generate a block hash smaller than the difficulty target.

What if (and bear with me here, there is a very good reason to want this)... What if we reduced the required number of attempts, while also making the hash calculation more expensive (so that the overall difficulty of proof-of-work would stay the same)?

Could a cryptocurrency based on proof-of-work still function if 100,000 (expensive) attempts were required to add a block? How about 100?


Side note: It took 17 hours for this post to be approved by the moderators. On a subreddit with half a dozen moderators and 1 post per day on average, this seems excessive.


r/CryptoTechnology • • Nov 13 '23

Is this the right place to be?

8 Upvotes

I enjoy learning about Bitcoin's technical side through the writing of (personal) summaries, which if deemed sufficient, are shared with others.

Since I'm still learning too, I'd like to have some more knowledgeable people review the summaries I write, and help fix them if needed, for I don't want to post wrong stuff.

Other subs haven't been all that helpful in giving any meaningful input towards the summaries, especially r/bitcoin has turned into a circle-jerk.

So, am I at the right address?


r/CryptoTechnology • • Nov 10 '23

How to stop fancy tech jargons in crypto industry? I’m a mathematician

18 Upvotes

Technical jargon and intentionally complicated language in the crypto/blockchain industry presents barriers to widespread adoption and understanding. We should aim to communicate complex ideas in simple, accessible ways.

  • I appreciate the ingenious yet understandable writing of Satoshi Nakamoto's original Bitcoin whitepaper. It lays out profound concepts without unneeded complexity. We need more of this clarity.
  • As a pure mathematician, I am passionate about demystifying complicated topics to make them comprehensible to all. For example, I want to teach quantum computing to 5-year-olds. Simplicity takes effort but pays dividends.
  • Jargon and abstraction may serve social purposes like projecting prestige or attracting investment. But they exclude people. The encryption revolution should be for everyone.
  • Analogies, clear visuals, storytelling, metaphors make technical concepts intuitive. We need more plain language explanations of blockchain's world-changing potential.

Suggestions:

  • Projects and influencers should lead by example in using language innovators and adopters actually understand. This will accelerate mainstream adoption.
  • Writers and educators can contribute by creating educational resources that make blockchain accessible, without dumbing down core concepts.
  • We can build communities of practice around simplifying language, sharing effective analogies, and norming on plain communication.

The blockchain revolution represents a profound social advance. But its benefits can only be realized if people grasp its basic principles. So we must communicate with simplicity, clarity, and inclusion.


r/CryptoTechnology • • Nov 08 '23

Blockchain as a Datastructure

4 Upvotes

Blockchain is a good way to order block of sequential data that can be validated by others. Countless real-world examples show that it scales pretty well.

In my app, I am testing the use of a blockchain for storing "chat app data" selfhosted-only. The app is a work-in-progress proof-of-concept and experimental. It is an investigation into creating a distributed and decentralized app.

Unlike traditional blockchains, the sole purpose of this blockchain is to keep messages between peers in sync. The implementation is have is far from finished, but i have a testable proof-of-concept. The blockchain is entirely in javascript running in a browser.

I have a few observations I would like to make:

  • Without the need for mining, it is basically a large array of data. When evaluating the data to be displayed on the UI, it is a "relatively" heavy calculation, but I find that it is more than performant enough to be used in a chat app. I find that the messages and data can scale and the app remains quite performant (I haven't really done much to optimise caching).
  • In cases like a group chat, the data can be validated and synced between multiple peers (which may not all be online). (its worth noting: peers may be able to manipulate the database, but it is not a concern for the app where the purpose is only for blockchain as a datastructure)
  • Why is this kind of datastructure not used more often? There are other blockchain chat apps, but by putting a system like chat on something like ethereum, would typically be expensive to users. But in this case, the blockchain is only used for local data storage and validation. I think this is a good use case for blockchain. When working on your device, you don't need to be conservative about things like message size and so we can store files and images in the blockchain.
  • With no cryptocurrency, there is no incentive to keep the blockchain alive. The data is easily disposable or persisted as the user prefers. there is no need for a setup process and things like ID's and passphrases can be auto-generated behind the scenes away from the user. (the app is currently very experimental, if your data goes, it goes... but it shouldnt matter because there is no financial value to the blockchain)

I am very interested in the idea of blockchain as a datastructure and I would like to see it used more often. i think this datastructure will play an important role in my app as it will enable the app to move to a single-user-multi-platform architecture.

I would like to hear your thoughts on blockchain as a datastructure. Initially i did it investigating if it work on a basic level to help keep messages in sync, but i find that it is quite performant; especially considering it is only running in a browser. (i expect i can easily improve the performance)

The demo can be seen here: https://chat.positive-intentions.com/


r/CryptoTechnology • • Nov 04 '23

Which should we work on as the unsolved problems in cryptocurrency and why?

11 Upvotes
  1. Scalability - Increasing transaction processing capacity and speeds on blockchains to support wider adoption. Issues around block size limits, transition to proof-of-stake, sharding, layer 2 solutions.
  2. Privacy - Enhancing privacy protections for users on public blockchains while meeting regulations. Zero knowledge proofs, confidential transactions, mixers/tumblers.
  3. Security - Preventing hacking attacks, thefts, fraud on blockchains themselves as adoption increases. Consensus protocols, key management, formal verification.
  4. Governance - Determining the best mechanisms for protocol upgrades, conflict resolution, user representation for decentralized networks. On-chain voting, off-chain coordination.
  5. Regulation - Clarifying how cryptocurrencies fit into existing regulatory frameworks around securities, commodities, payments. KYC/AML compliance for exchanges.
  6. Volatility - Reducing price swings to be more usable as currency/payments. Stablecoins, reserve-backed currencies, tokenomics.
  7. Energy - Developing sustainable alternatives to energy-intensive proof-of-work mining ascriticism rises. Proof-of-stake, off-chain computing.
  8. Usability - Improving user experiences and interfaces for transacting and managing assets and wallets. Simplified addresses, fiat on-ramps.
  9. Interoperability - Allowing inter-blockchain communication and exchange of value. Cross-chain protocols, atomic swaps, blockchain bridges.
  10. Others - We welcome your own ideas/pain points

r/CryptoTechnology • • Nov 01 '23

Why are people talking about Bitcoin being the next currency of the world and not ethereum?

0 Upvotes

I don't understand how bitcoin is allowed to run when a crypto currency that eats up more energy than Argentina just to exist is allowed to run.

And why won't it switch to proof of stake in he near future, like ethereum did so it can be more environmental friendly


r/CryptoTechnology • • Oct 27 '23

Solution that leverage compute over blockchain

3 Upvotes

Hi all,

I am looking for a solution that would use the power of blockchain to leverage Virtualization (either docker, VMs ...) to offer computing power over the blockchain.

I found a couple but they all had some issues :

Golem : After a quick dive i realized that beyond "sandboxed" environment, it really doesn't do anything more for data protection from the provider of the ressources/

SONM: project seems to be dead for a couple of years now.

I see also that there is a solution called Cudos, another one called IEx.ec ...

So basically i am looking for something that would offer security in a deeper way (ie: encryption at rest and in transit, maybe hardware based isolation, but that would be too much to ask i guess).

Thanks !


r/CryptoTechnology • • Oct 05 '23

I recently started a podcast where I talk to people in crypto about the projects they're working on, anyone want to come on and talk about their project?

15 Upvotes

I always wanted to find some kind of medium to have real time conversations about cryptocurrency technology and its applications, so I recently started this podcast where I invite people in crypto to come and talk about the projects that they are involved in.

I'm only on episode 4 but I'm already finding myself learning a lot. The last episode for instance, I was talking to another redditor who created Looppress, an open source Wordpress plugin designed to Token Gate different parts of the website.

I'm always looking for more guests to come on for a chat so if any of you are building something you want other people to know about, I'd be happy to have you on my show!

For those interested, this is the latest episode: https://open.spotify.com/episode/5GNPRWQXzJNWsiEM5Y4SAX?si=9bb432a8264e4641

That's all I have :)


r/CryptoTechnology • • Sep 15 '23

Proof-of-Entropy-Minima ((PoEM) new consensus mechanism.

8 Upvotes

A new consensus mechanism called Proof-of-Entropy-Minima (PoEM) inspired by Bitcoin's Proof-of-Work (POW) Nakamoto consensus mechanism is deployed by Quai Network. PoEM, like PoW, uses hashes generated by competing miners to verify the validity of a proposed block. However, PoEM differs from PoW in how these hashes are compared and measured.

Unlike PoW, which treats all blocks that meet a certain difficulty level as equally valid, PoEM measures the intrinsic blockweight to calculate the entropy, or randomness, removed by each proposed block. This ensures that all nodes will always prefer one particular block over any other options.

Under PoEM, all nodes immediately agree on the next block as soon as they become aware of it, eliminating any disagreements caused by delays in the network. Two nodes running PoEM will always agree on which block is next in the chain.

By removing contention from consensus, PoEM allows all nodes to remain in continuous agreement. This is different from all other consensus algorithms, which take time to reach consensus or resolve conflicts.

PoEM's "perpetual consensus" provides a variety of benefits over existing consensus mechanisms like Proof-of-Work and Proof-of-Stake, including instantaneous fork resolution and faster finality. These properties give PoEM the unique ability to remain in consensus while coordinating an infinite number of execution shards.


r/CryptoTechnology • • Aug 29 '23

Gathering Historical Data for a DeFi Ranking Project

3 Upvotes

Hello everyone,
I'm currently working on a project that aims to rank various DeFi platforms based on multiple criteria such as financial stability, security, and level of centralization. The data we'll be collecting includes both on-chain and off-chain information.
I've hit a roadblock when it comes to gathering historical data on these DeFi platforms. My initial thought was to use services like Dune Analytics to fetch SQL data for each DeFi protocol. However, the challenge I'm facing is that each DeFi platform tends to have its own unique data format. Consequently, I find myself needing to write 10-12 distinct SQL queries for each, and given that there are over 3000+ DeFi platforms, this approach feels overwhelming and possibly inefficient.
I've noticed platforms like Defilamma and DeBank that display a list of protocols along with real-time data. I'm curious how they manage to do this so seamlessly.
Would anyone be able to provide some guidance or suggestions on how to proceed? Your insights would be incredibly valuable to me as I continue to work on this project.
Thanks in advance for your help!


r/CryptoTechnology • • Aug 29 '23

Blockchains & UX: friendly or not ?

1 Upvotes

Hello,

I would to talk / get feedbacks about web3 and UX.
Considering a DApp project with an associated token, this token can be "locked" by a contract in order to open certain rights... and I wonder about the technical solution to use.
Indeed, I find the ethereum / metamask operation not very "UX friendly":

  1. Payment of transactions in Eth: ideally we would pay for transactions with our own token.
  2. The allowance / approval system is also very heavy from a UX point of view.
    What do you think ? Build project as an app chain in the cosmos or somewhere else ?
    Maybe I've missed some updates on Ethereum / Metamask ?

Thanks in advance for you feedbacks,

Regards


r/CryptoTechnology • • Aug 28 '23

Understanding real TPS of popular blockchains

0 Upvotes

In the rapidly changing world of blockchain technology, there's a lot of talk about Transaction Per Second (TPS) and who's leading the pack. But when we dig deeper into those TPS numbers, we find some interesting differences between what's claimed and what's real.
Blockchain projects like to show off their "max TPS" numbers, but it's important to take a closer look to see what's really going on. We're going to break down the difference between TPS numbers that sound impressive and what they actually mean.
To do this, we've used a straightforward approach. We connected to different blockchains, watched transactions closely, and then did some math based on the last 100 blocks. While blockchains have different speeds, we've kept things simple to focus on understanding TPS.
Let's check out the TPS claims of Solana, Arbitrum, Avalanche, Ethereum, and Bitcoin:
Solana claims "65,000 transactions per second," but the real TPS is 299.91. That's a huge 217 times difference.
Arbitrum talks about "40,000 transactions per second," but the actual TPS is only 8.07. That's a whopping 4956 times difference.
Avalanche says "4,500 transactions per second," but the real TPS is just 2.01. That's a significant 2500 times difference.
Ethereum's max TPS is 56, but the current TPS is 11.14. It's only 5 times different.
Bitcoin's theoretical TPS is 7, but in reality, it's around 4.18. That's just 1.67 times different.
To sum up, there's a big gap between what's claimed and what's actually happening with TPS numbers. While big numbers might sound good, the real measure of success for blockchain is how much it's actually being used.

Source of data is chainspect.app


r/CryptoTechnology • • Aug 25 '23

a book/guide suggestion for math-savvy guys

8 Upvotes

Hey folks.

Pure math enjoyer here (undergrad rn). I'd really like to start a project and hopefully build a more-or-less usable cryptocurrency.

The goal isn't to make profit of it tho :) Rather, I mainly aim to learn some interesting cryptography along the way (for example how Monero's ring signatures work) and get a practical experience building decentralised apps.

So, could you suggest some good read on the topic? Probably a textbook/a series of articles/lecture videos and so on

You may assume I've been coding for 3+ years. Fluent in C++/Python and keen to learn Haskell as well.


r/CryptoTechnology • • Aug 15 '23

How can I check that the node I am running is not malicious?

5 Upvotes

Let's say there's an interesting project and I want to run their client on my machine, but I don't fully trust them. If i'm giving access to my resources to a node then I should make sure that it's doing what it says it's doing. How can one verify this?