Questions tagged [blockchain]

The Ethereum blockchain is a distributed database based on the Ethereum whitepaper specification and stores both the full transaction list and the most recent state.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Geth still stucking at synchronizing

I trying to run my eth mainnet node using Geth and prysm but synchronizing process still stucking. Error: INFO [12-05|02:29:14.015] Syncing: state download in progress synced=0.36% state=961....
Xardesso's user avatar
1 vote
0 answers
18 views

Is NFT swap possible on cross chains?

I have done a bit of research on this, and I have found only the same chain NFT swap but I want to know the different chain swapping b/w two users, Please provide some links or guidance to achieve NFT ...
Vinit_2311's user avatar
0 votes
1 answer
7 views

Im trying to build a cryptocurrency(USD tether just like USD) that works with ethereum and polygon,

I happen to be relatively new to block chain, have an understanding of PoW and PoS, I'm learning Solidity at the moment, I'm supposed to design thi cryptocurrency that is compatible with ethereum and ...
Irum 's user avatar
0 votes
0 answers
6 views

USdt ERC20 1006

I am confused about this "Usdt erc20 1006" . In a website for withdrawal it is written "your Usdt Erc20 1006".. This is certainly address but which type of address is this.
Malik's user avatar
  • 1
0 votes
0 answers
8 views

"Params specify an EIP-1559 transaction but the current network does not support EIP-1559"

I am working on a decentralized application project. Whenever I am trying to do any write operation on smart contract from my react application I am getting this error. Smart Contract is fine, fully ...
Shekh Shihab Uddin's user avatar
0 votes
0 answers
14 views

Brownie Request for Random number (Mock VRF) reverts

Using chainlink tutorial and concept for testing a random request locally, Request Randomness fails to execute in brownie for VRFCoordinatorV2Mock, however, I tested the same code in remix IDE and it ...
Obanla Andrew's user avatar
0 votes
1 answer
9 views

I want to learn decentralized apps (Dapps) development can anyone guide me that how can i become a Dapps developer [closed]

As i am a beginner ii want in this field i want to master in the Dapps development and i want a full learning plan that how can i become a Dapps developer from start to end i need a full guide please ...
Muneeb ur Rehman's user avatar
0 votes
2 answers
21 views

Test BNB / WBNB for Development testing purpose

I am in need of 100 test BNB for testing purpose but with faucet its not possible to get that much is there any way to have that much test bnb. OR is there any existing liquidity of test BNB / WBNB ...
Bhushan Dhiware's user avatar
0 votes
0 answers
14 views

Strange order of transactions in the same block

recently i saw next thing: There is a nft game contract, the goal is to be the first (top 100). Each game starts by Tx from admin, let's say he calls start() function in his transaction. Then all ...
0xse's user avatar
  • 1
0 votes
1 answer
16 views

How can I fetch the current dollar price of BNB in a Solidity smart contract?

How can I fetch the current dollar price of BNB in a Solidity smart contract? Are there any recommended APIs or secure, decentralized methodologies for this?Is there a way to fetch the dollar price ...
Nishant Patil's user avatar
1 vote
1 answer
18 views

How prevent of attack in Ethereum

I hope you are well. The topic of my thesis is to increase security in blockchain-based IoMT (Internet of Medical Things). I aim to present new ideas to reduce attacks in the blockchain, considering ...
Samaneh's user avatar
  • 11
1 vote
3 answers
54 views

How was the Ethereum 0x0 address generated?

Ethereum addresses are generated using a process called the Elliptic Curve Digital Signature Algorithm (ECDSA). ECDSA is a cryptographic algorithm that uses a pair of keys, a public key and a private ...
Mila A's user avatar
  • 264
0 votes
1 answer
29 views

Decoding Chainlink Function Response in Solidity Contract and Handling Nested JSON Objects

I'm dealing with a problem regarding the decoding of data obtained from a Chainlink function in my Solidity code. Specifically, I'm using a Chainlink custom function that sends an HTTP GET request to ...
Blaž Perić's user avatar
0 votes
0 answers
14 views

Why are some of the top Holders of a token a contract? What is this use case?

I'm trying to understand why a specific token: https://etherscan.io/token/0x826180541412d574cf1336d22c0c0a287822678a#balances Has many contracts that are holders of the token vs individual wallet ...
Patoshi パトシ's user avatar
1 vote
1 answer
54 views

Same block Swap before an Approval is allowed?

I had the understanding that Approval in the same block as a Swap had to have a higher gas price as to be processed before the Swap when the block is being produced; that's until I found blocks on the ...
blockchainmassacre's user avatar
0 votes
0 answers
15 views

InvalidResponseError: Returned error: The method eth_sendTransaction does not exist/is not available

I'm trying to interact with a smart contract on BSCtest using web3. I think the error occurs in this line rs = await TokenContract.methods.transfer(receiverAddress, 100000).send({ from: myAddress, ...
Ngọc Minh Nguyễn's user avatar
0 votes
0 answers
36 views

Geth transactions not broadcast and stuck in pending state

Setup three Geth private network nodes(Clique) via docker container. They are deployed on three different VMs. Among 3 nodes, there is a miner node to mine the block, a RPC node to accept RPC request, ...
abcuse1111's user avatar
0 votes
0 answers
10 views

Got "Transaction was not mined within 50 blocks, please make sure you transaction was properly sent." while tx is successful

I just got a weird issue. I submitted a tx to Alfajores (Celo's testnet). 10-15 seconds after I click confirm in Metamask, the tx was executed successful. However, frontend was still waiting for the ...
hungdoansy's user avatar
0 votes
0 answers
16 views

Catch Revert message [duplicate]

How to catch revert messages from another contract using call method? // SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.20; import "hardhat/console.sol"; contract Logiccontract{ ...
user128080's user avatar
0 votes
0 answers
13 views

ETH was automatically sent to a different Public Address after successful deposit in my meta mask

Same thing happened to me after depositing ETH to my public address it was automatically sent to another address
Kirk James Estaño's user avatar
0 votes
0 answers
5 views

Storing CSV dataset in a block/Genesis Block of a Blockchain and using Time-Series prediction

I want to store a CSV dataset in blockchain and apply Time Series Prediction on the basis of the provided dataset. Can we add the predicted value back into the dataset to use it for the next time ...
user127994's user avatar
0 votes
0 answers
15 views

Storage layout key-value pair generation for pre-deployment of smart contract

Could anybody please let me know how do we generate key-value pair for smart contract pre-deployment purpose. I knows about the storage slot and its value assignment but I would like to know how to ...
RISHANT RAJPOOT's user avatar
2 votes
2 answers
57 views

Need an advice about a stable RPC Provider (doesn't have to be free) [duplicate]

Need a full ETh Node, please share a good RPC provider with stable connection and not enou
Joan Williams 's user avatar
0 votes
1 answer
27 views

Error with npm run start. code: 'MODULE_NOT_FOUND',

npm run start > [email protected] start > react-scripts --openssl-legacy-provider start node:internal/modules/cjs/loader:1051 throw err; ^ Error: Cannot find module './nodes' Require ...
imbot's user avatar
  • 11
0 votes
0 answers
11 views

How can I mimic legacy bank in my project?

I want to build a project where legacy bank interacts with blockchain networks (over CCIP). Please suggest me how can I mimic a legacy bank - as a separate project or any different idea is appreciated....
Inderdeep01's user avatar
0 votes
0 answers
12 views

Can I delete the Values in the mappings using delete keyword [duplicate]

mapping(IERC => contract) public testing; delete testing[IERC]; In the above code snippet I want to delete contract type (value) using the delete keyword can it be possible?
kumar's user avatar
  • 41
0 votes
0 answers
13 views

How to get internal transactions when simulate transactions?

My node is built using flashbots' mev-geth, which provides the eth_callBundle RPC to simulate a bundle transaction (go-ethereum only provides the eth_call RPC, which simulates a single transaction), ...
user2873314's user avatar
0 votes
1 answer
22 views

Rejecting the transaction doesn't catch the error in try-catch block

I am working on a Dapp porject ,Where I have to catch the metamask error. Here is my code: import React, { createContext, useContext, useEffect, useRef, useState, } from "react"; ...
Asir Shahriar Roudra's user avatar
0 votes
0 answers
13 views

Need help with debugging Error: Definition of base has to precede definition of derived contract

I'm working on a social account recovery feature for smart accounts (ERC-4337) on top of Thirdweb's smart account contract. Link to the codebase I'm getting the error Base has to precede definition of ...
alfheimrShiven's user avatar
1 vote
1 answer
77 views

I need help from Expert Dev for POS bot [duplicate]

I recently received a code and deployed it. it sent 0.2 eth which is succesful and is visible in the contract transaction. I hoped to generate some passive income with with this POS Bot. The problem ...
TXN crypto's user avatar
0 votes
0 answers
24 views

I cant log out my contract in a project

I am building web3 Todo app . I am building it using Next Js . I am trying to console log out my contract on console . So I have just build my smart contract . Now trying to make connection with my ...
Shorna's user avatar
  • 13
0 votes
0 answers
21 views

Recover funds from a smart contract wrote a mistake by developers

Our developer has deployed a errored smart contract for a autopool plan, but the plan was expired 3 years ago. Users transfered funds to this contract. I am wondering if I can get back these funds ...
Nagalingeswaran C's user avatar
0 votes
1 answer
15 views

How can I get a specific (empty as of now) Ethereum address?

Is there any way I can get a specific Ethereum address of my choice (considering it's not owned by anyone yet)? (Might be related to how Metamask and other wallets pick public and private keys)
Mila A's user avatar
  • 264
0 votes
0 answers
3 views

Requirement for running node on etherum

i'm planning to run a node to do some works for learning such as snipping token, decode transaction from mempool in real-time which low latency? I just wonder which configuration that i need to do ...
dang.pm.IT's user avatar
0 votes
0 answers
15 views

Exploring blockchain use cases for real world problems

Wassup Guys, I hope you are well! I'm new into blockchain development. I have a few ideas but a lot of doubts, one of the doubts is if ethereum (solidity) or solana (rust) written contracts are a good ...
Filipi Melo's user avatar
0 votes
1 answer
30 views

Gas estimation failed while trying to deploy a smart contract on remix

I tried to deploy this solidity code on Remix // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // Import ChainlinkClient from the Chainlink library import "@chainlink/contracts/src/v0.8/...
Paschal's user avatar
0 votes
0 answers
30 views

Can someone help me embed this crypto calculator on my website?

I am trying to copy this calculator - https://plasbit.com/widgets - into my website and it does not show on my site. Please help me.
regularcryptotrader45's user avatar
0 votes
0 answers
18 views

Which consensus algorithm PoW or POS is used for mining a block in latest ganache ethereum client?

Which consensus algorithm have been used in the latest version of ganache for ethereum blockchain simulation.
Narayan Khatri's user avatar
0 votes
1 answer
14 views

Feasibility of implementing a Decentralized Identity Management System? (DIDs and VCs)

I am currently working on a project focused on creating a Decentralized Identity Management System by using DIDs and VCs. Our goal is to enable users to have self-sovereign control over their ...
Ruppy's user avatar
  • 1
0 votes
1 answer
19 views

Please what is the _simpleStorageIndex and the _simpleStorageNumber in the function Sfstore

pragma solidity ^0.8.7; import "./SimpleStorage.sol"; contract StorageFactory { SimpleStorage public simpleStorage; SimpleStorage[] public simpleStorageArray; function ...
OLUWASINA Adedipe's user avatar
0 votes
0 answers
23 views

how to get a function's signature that have a structre as parametter

function createClone( uint256 dbId, launchpadLib.IDOInfo memory _idoInfo, launchpadLib.IDOInfoTwo memory _IDOInfoTwo ) external{} I have this funtion how can i make signature of this function with ...
VIKASH VASHISHAT's user avatar
0 votes
0 answers
13 views

Please help me with my project [duplicate]

I have been given the final year project of fake brand detection using blockchain. I am a complete beginner in anything related to blockchain or ethereum. Can anyone help me any way where to start. I ...
Rivaa Vadher UCOE- 3892 's user avatar
0 votes
1 answer
15 views

what to do with a negative or r>curve.n/2 "r" in ecdsa signature

Hey guys it's your fellow beginner developer here again. Enough with chit chat! Last time I asked you guys about signature and how to generate recoveryID for v of the signature and learnt new stuff. ...
NIMA Shahahmadian's user avatar
0 votes
0 answers
14 views

why block.number gives underflow error on line no 101 while i am excluding the previous from the lastest so it shouldn't behave like this

below is a function snippet the line responsible for error is below uint256 currentBlocks = block.number; p.endedAt = currentBlocks; uint256 blocks = (p.endedAt -= p.startedAt); console....
Anwar's user avatar
  • 51
0 votes
1 answer
51 views

How to make contract transactions with Web3.py

I am getting error while deploying smart contracts with web3.py. The error says "web3.exceptions.ContractLogicError: execution reverted: VM Exception while processing transaction: invalid opcode&...
Narayan Khatri's user avatar
1 vote
1 answer
33 views

Is there a way that we can mint native coin more in ethereum?

I mean if i have my own private evm chain. the intial supply for it is, assumingly, 10000 coins. after starting the blockchain can I create more coins for that. Like minting and burning works for ...
Hammad Ali's user avatar
0 votes
1 answer
39 views

Sign_transaction and send_raw_transaction error in Web3.py

I would like to sign_transaction and send raw transaction with custom transaction fields. But I could not do it. Any help will be appreciated. Thanks
Narayan Khatri's user avatar
0 votes
0 answers
49 views

Web3.py exception contract logic error; execution reverted: VM exception

I would like to contract the transactions to solidity compiler and got the following error; raise ContractLogicError(f"execution reverted: {message}", data=data) web3.exceptions....
Narayan Khatri's user avatar
0 votes
1 answer
25 views

Deterministic address calculation?

proxy contract contract ERC20ProxyDelegator { constructor(ERC20Votes _token, address _delegate) { _token.approve(msg.sender, type(uint256).max); _token.delegate(_delegate); } } ...
kumar's user avatar
  • 41
0 votes
2 answers
16 views

Im trying to have a company send me ETH, but they saty they cannot "sync" with my Metamask wallet until it shows or has a transaction record. Correct

I have an incoming transfer that the sending person it saying that to sync with my Metamask wallet, the wallet has to show a transaction record. Is this true and how does that work?
Mark Spencer's user avatar

1
2 3 4 5
65