Questions tagged [decentralized-applications]

A decentralized application (Dapp, dApp or DApp) is an application that is run by many users on a decentralized network with trustless protocols.

259 questions
2
votes
1 answer

What does alchemy do in blockchain?

I am new to web3 and I am trying to deploy a contract to a blockchain.So I connected my metamask to it and in the tutorial I am following they instructed me to create an app on Alchemy.So why is it I need alchemy here.What is it exactly doing?
2
votes
0 answers

Is zk-snarks implementable in this use case-scenario?

I want to do something similar to a pet popularity contest dapp. From what I understand, it would involve non-interactive zero-knowledge proof. There is an application with a list of pets competing in a popularity contest. Each pet has a popularity…
2
votes
0 answers

Running "npm run dev" command results in firefox tab crash, but terminal shows no error (running DApp with web3,js)

I am running Ubuntu 16 on virtual box, using: Node v16.14.2, npm v8.5.0, Truffle v5.3.7 (core: 5.3.7) Solidity v0.5.16 (solc-js) Node v16.14.2 Web3.js v1.3.6 The project I am working on is a slightly modified version of the Decentralizied App found…
2
votes
1 answer

How to import hardhat to this repository

I am working on a dApp using this repository: https://github.com/ipfs-shipyard/nft-school-examples/tree/main/end-to-end I am trying to import the hardhat. I've installed it with yarn add hardhat. When I import the hardhat with const _hardhat =…
MehmedB
  • 1,059
  • 1
  • 16
  • 42
2
votes
1 answer

How to create subfolders with IPFS CIDs?

I'm trying to deploy an NFT. It's a replica from the mfers contract. The mfers contract has the token URI referenced as ipfs://QmWiQE65tmpYzcokCheQmng2DCM33DEhjXcPB6PanwpAZo/# Where # is the token number. Across all tokens, the ipfs hash…
2
votes
1 answer

Solidity - Getting from Factory Pattern to Clone Factory Pattern

Below is an example of a solidity contract that's a factory pattern native approach that's adding crew to the neb starship in the matrix. What would be the Clone Factory version of this contract? // SPDX-License-Identifier: MIT pragma solidity…
2
votes
1 answer

How to connect solana wallet in android?

I want to make nft marketplace with solana in android. There are many examples connecting solana wallet(ex. solflare, phantom ...) in web client. But i don't know how to connect wallet in android dapp.
2
votes
1 answer

WalletConnect fails to get bundled with vite

I have a vite project that uses @walletconnect/client. Everything works fine with npm run dev but during build (npm run build) I get these errors error during build: Error: 'removeHexPrefix' is not exported by…
2
votes
2 answers

How to track transaction status on elrond network

Can someone help with tracking the transaction status of a value transfer on the elrond network? const testTransaction = new Transaction({ value: Balance.egld(1), data: new TransactionPayload('Test Transfer'), receiver: new…
2
votes
1 answer

Why Metamask if web3.js can interact directly with ganache?

I am new to blockchain app development, I saw a project where ganache accounts are imported into Metamask, then web3.js is used to access and print those accounts and balances on Frontend (user interface). If web3.js can directly access ganache…
2
votes
1 answer

ERC20: mint to the zero address exception when trying to buy my own ERC20 token (based on OpenZeppelin) from my own simple DEX

I have implemented my own ERC20 token (based on OpenZeppelin's implementation). I created a supply for my token and used that supply to create a very simple decentralized exchange (DEX) based on this guide. I do not understand why I keep getting the…
2
votes
1 answer

On truffle compile I get : FATAL ERROR: NewNativeModule Allocation failed - process out of memory?

I`m trying to migrate a solidity smart contract. When trying to migrate with truffle I get: I had this issue a few times and now know that is related to changing solc compilers versions, at least this is how I fixed it until now, but this time…
heyooo12
  • 139
  • 3
  • 16
2
votes
1 answer

How does the s/kademlia sibling list work?

i am studying p2p network recently. when i was reading the s/kademlia paper, i found that the sibling broadcast related content is not detailed enough. here is my question: how the sibling list works? how can it solve highly unbalanced tree…
2
votes
2 answers

How can I solve this error? "command not found: puppeth"

[eunsungahn@eunsungui-MacBookPro Blockchain % geth version Geth Version: 1.10.1-stable Git Commit: c2d2f4ed8f232bb11663a1b01a2e578aa22f24bd Git Commit Date: 20210308 Architecture: amd64 Go Version: go1.16 Operating System:…
2
votes
0 answers

Adding IPNS link to ipfs-desktop

What is the correct way to add an IPNS site to ipfs-desktop? The purpose would be to seed a website on several computers, let's say 5. So, I give my IPNS link to 5 of my friends. How can they contribute to hosting that site?
Imestin
  • 49
  • 5
1 2
3
17 18