Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
8 views

deployer not defined error in smartcontract

hello guys there is an error deployer not defined could you help me finding the error? I have defined deployer in hardhat.config.js whose code i have pasted below and i have commented where deployer ...
vatsal sharma's user avatar
0 votes
0 answers
16 views

Could someone assist me with this problem?

Error: invalid value for array (argument="value", value=500, code=INVALID_ARGUMENT, version=contracts/5.7.0)
Ricardo Watson's user avatar
1 vote
1 answer
86 views

Mastering Foundry Basics

I'm interested in learning Foundry. What are the most effective resources and strategies you recommend for getting started with Foundry?
serpent0x's user avatar
-2 votes
0 answers
13 views

I think i accidentally blocked my block chain

I think I blocked my block chain how do I check and unblock if need to cash apps says can't do the sell at this time but worked before
James a Banks sr's user avatar
0 votes
0 answers
14 views

How does Uniswap V3 Bug Bounty Works?

Uniswap V3 contracts aren't upgradable, so what happens if I find a vulnerability? How do they fix it? Do they redeploy?
Ryan Holanda's user avatar
0 votes
0 answers
19 views

how to calculate the tick from price ? Uniswap v3

This is USDC/ETH pool with 0.05% poolfee. I am planning to get the price range from users (lower price and higher price ) but if the user provide lower price as 0.00025991932 and higher price is 0....
unni krishnan's user avatar
4 votes
1 answer
47 views
+50

How to sign Ethereum message in C#

I`m trying to convert this code to c# const message = response.data.message; const jsonProvider = new ethers.providers.JsonRpcProvider(RPC_URL) const ethersSigner = new ethers.Wallet(privatekey, ...
Jānis Kļaviņš's user avatar
0 votes
0 answers
10 views

Hyperledger Caliper - Can we build a work load module that can invoke and query from already deployed contract in the blockchain?

I am trying to benchmark a smart contract that interacts with an already deployed contract on the blockchain using Hyperledger Caliper. The overall framework is functioning correctly for other ...
111Seven's user avatar
0 votes
1 answer
44 views

I can't deploy my Token because of EVM version (?)

This is my code, I tried every evm version paris,berlin,istanbul etc. I can't figure out why it doesn't work. Also this is a school project that's why the version is very old we're using an old parent ...
Erdem Arif Akalin's user avatar
1 vote
2 answers
58 views

Looking for a Non-Public Provider for BSC Mainnet

I’m currently working on a project that interacts with the Binance Smart Chain (BSC) mainnet, and I’m in need of a non-public provider. Does anyone have recommendations for non-public BSC mainnet ...
adam mr's user avatar
  • 121
0 votes
2 answers
29 views

JsonRpcProvider not Found in ethers.js

I'm building a JavaScript application where I'm trying to interact with the Ethereum blockchain using ethers.js. However, I'm encountering an error stating that JsonRpcProvider is not found. This ...
Kuldeep Sonara's user avatar
0 votes
1 answer
27 views

Can't get the stored data from blockchain

I am builing a simple crud dapp . Where I am adding user name ,email , gender ,functionality to blockchain . This dapp has 4 function Create ,update ,delete ,getting Userlist . All the three functions ...
Shorna's user avatar
  • 17
0 votes
1 answer
19 views

Testnet USDC from https://staging.aave.com/faucet/ not showing on Metamask

I am getting Testnet USDC from https://staging.aave.com/faucet/ not showing on Metamask. I approved the transaction in Metamask. It is showing on Aave page at USDC Testnet Faucet but not showing on ...
Udayarajan gauthaman's user avatar
0 votes
1 answer
22 views

Fastest RPC Endpoint for Binance Smart Chain

What is the fastest RPC endpoint for accessing the Binance Smart Chain, and are there alternative methods of communication with this blockchain? Additionally, does the performance of these methods ...
adam mr's user avatar
  • 121
1 vote
2 answers
782 views

How to get SEPOLIA TEST ETHER from TESTNET FAUCET without ETH balance in METAMASK account

I tried to get SEPOLIA TEST ETHER from various TESTNET FAUCETS. But all of them require minimum ETH balance in my METAMASK account. I dont have any ETH balance in METAMASK. I tried. https://www....
Udayarajan gauthaman's user avatar
0 votes
0 answers
5 views

Member "transactionCount" not found or not visible after argument-dependent lookup in type(contract TransactionsContract)

I am getting the error: Line: 49 in TransactionsContract.sol Member "transactionCount" not found or not visible after argument-dependent lookup in type(contract TransactionsContract). even ...
Aditya Khare's user avatar
0 votes
1 answer
25 views

How to Implement a Minimum Funding Requirement in a Solidity Smart Contract?

I'm currently developing a Solidity smart contract named FundMe, where users can contribute funds in Ether (ETH). I'm aiming to enforce a minimum funding requirement of $50 USD equivalent. However, I'...
Kuldeep Sonara's user avatar
1 vote
1 answer
23 views

How to manipulate the first few digits of a Smart Contract?

I saw some devs that can pick the few digits of their choice for their smart contract, like 0xd0d0, and I saw that some even do more than 4 digits (like 5-6 digits after 0x). Does anyone know how to ...
Andrew Manggala's user avatar
0 votes
1 answer
17 views

Bulk transaction on Base chain

After adding liquidity, I frequently see wallets making bulk transactions on the base chain. How can I snipe tokens early and cheaply like them? CA: 0x1234567517769aCd8519BA85184EdbBaC6062971 Tx: ...
Văn Châu Cao's user avatar
1 vote
1 answer
28 views

What number of confirmations is considered secure in Polygon?

In Bitcoin, 4 confirmations are considered secure (very low probability of transaction/block reversal). What is the current number in Polygon?
Falcon Stakepool's user avatar
1 vote
1 answer
20 views

Solidity Contract Error: "call to SimpleStorage.people errored: invalid opcode"

I'm encountering an issue with my Solidity contract and could use some help debugging it. I have a simple contract named SimpleStorage that includes a struct People and an array people to store ...
Kuldeep Sonara's user avatar
0 votes
0 answers
50 views

SwapRouter02 calling exactInputSingle: execution reverted (base chain)

i'm trying to send a function via ethers.js to BASE chain: config.SWAP_ROUTER_ADDRESS = "0x2626664c2603336E57B271c5C0b26F421741e481"; const ABI = require("@uniswap/swap-router-contracts/...
Moltea_'s user avatar
0 votes
1 answer
32 views

How to test my Wrapped token/Stablecoin in a testnet?

Is it possible to test if my wrapped token or stablecoin peg system is working in some testnet? Or I need to deploy it in the mainnet?
Ryan Holanda's user avatar
0 votes
0 answers
13 views

Smart Contract on Trust Wallet

After the lock up period of 180 days in a smart contract Ethereum blockchain how can I get my fund back? Should I do anything or it is received automatically?
Mrityunjoy Ghosh's user avatar
0 votes
1 answer
15 views

ERC-20 allowance always 0 after approval

I'm writing a smart contract that transfers ERC-20 tokens from wallet A (sender) to wallet B (receiver) and deducts a fee to wallet C (owner of the contract). The problem is that when I'm trying to ...
Buffer's user avatar
  • 5
0 votes
1 answer
28 views

Smart Contract Execution Transaction Fee

I want to write a smart contract that receives tokens, deducts specific amount of the received tokens and then forwards the rest to a specific destination address. I have a couple of questions: 1- ...
Buffer's user avatar
  • 5
0 votes
0 answers
4 views

securing ethereum wallet through firewall

I want to secure my wallet ethereum communication through iptables. how can i obtain a list of ethereum network ip's/ports/protocols, so i make sure my wallet can only connect to those ip's/ports/...
sam's user avatar
  • 1
0 votes
0 answers
18 views

TypeError: isAddressable is not a function

before i start with question i looked at this answers first and second,but nothing helped. I am writhing some unit tests for my smart contracts using hardhat and keep getting error TypeError: ...
gojic's user avatar
  • 147
0 votes
2 answers
28 views

Roadmaps to become a blockchain engineer? [duplicate]

I know that this kind of sounds off topic but I just cannot find anywhere on the internet except the documentations. How can one become a core blockchain engineer like implementing consensus ...
canadianclublove's user avatar
0 votes
1 answer
48 views

queued transactions stuck on metamask on connection to anvil ( foundry )

I created and deployed a contract through foundry, setup the front end and stuff using ethers used anvil to spin up a chain and used the private key given by anvil to import account on metamask. ...
rsai's user avatar
  • 1
1 vote
1 answer
17 views

When I try to deploy my smart contract with ganache and try yo conect to the virtual blockchain, this message pop up in the terminal of visual studio

When I try to deploy my smart contract with ganache and try yo conect to the virtual blockchain, this message pop up in the terminal of visual studio. Why? I hope somebody give my a response please. I'...
SeekeyeLobster's user avatar
0 votes
0 answers
42 views

I got an error when I make cast send command

When I try to make this command cast send --rpc-url "http://94.237.62.195:44737/rpc" --private-key 0x*****b5f312b946890bc3256199b2570dded16e18a8336eeef3cfae0f8a***** ...
miy33t's user avatar
  • 1
0 votes
1 answer
25 views

What is the best way to monitor all token balances of wallet address?

Context I'm developing a personal project to monitor token balances of all wallet addresses in my service . I can monitor token balances of several addresses by multicall. I designed my workflow of ...
CT95's user avatar
  • 406
0 votes
2 answers
44 views

How to collect Contract Addresses via blockchain API?

Currently learning to interact with blockchain via Blockscout API to build personal database of contract addresses for future interactions. Despite trying different commands, I'm having trouble even ...
Ashh's user avatar
  • 3
0 votes
1 answer
15 views

How to enter values in a tuple in a contract function?

Trying to directly interact with a contract calling a specific function here https://arbiscan.io/address/0xa2adf5ef43226a4a6a7c6b360f486bdaf2712bc8#writeProxyContract exitFarming In what format are ...
floormat's user avatar
0 votes
0 answers
26 views

i got "Expected '(' but got identifier"

function addAdmin(address _adminAddress) public onlyAdmin { require(msg.sender == administrateur || isAdmin(msg.sender), "Vous devez être l'administrateur ou un administrateur pour appeler ...
manal's user avatar
  • 1
0 votes
0 answers
127 views

I have no idea how to troubleshoot this: "execution reverted (no data present; likely require(false)" Help?

I'm trying to run an arbitrage bot via local fork using ethers.js and hardhat. I keep getting this error when I run the contract: error on trade instructions emitted V7: Error: execution reverted (no ...
Trent Kennelly's user avatar
0 votes
0 answers
7 views

CBDC Community , Corda r3

i am trying to build a cbdc prototype using corda r3 , is there anyone with knowledge about this project that can help or any recommandations or communities to try to reach to ? maybe corda r3 ...
Youssef's user avatar
0 votes
0 answers
13 views

Web3.js need only in browser version only HTML website

I want to create a simple page to interact with my deployed contract. I don't want to use Node.js. I want to use html + web3.js browser version. I got a link: https://github.com/ethereum/web3.js/tree/...
Rash Gult L's user avatar
0 votes
1 answer
27 views

i am compiling this lottery contract but the picWinner and getPlayers are not working

// SPDX-License-Identifier: MIT pragma solidity >=0.7.0; contract lottery{ address public manager; address payable[] public players; constructor(){ manager = msg.sender; } ...
Muhammad Usman ALi's user avatar
0 votes
0 answers
20 views

sender doesn't have enough funds to send tx

i am trying to create a uniswap pool but when i am testing my smart contract i am getting an error . import { expect } from "chai"; import { ethers, network } from "hardhat"; ...
unni krishnan's user avatar
0 votes
0 answers
8 views

Missing transaction [duplicate]

MISSING TRANSACTION I have no idea what went wrong here but I had tried to send two tokens to my coinbase wallet from my crypto. Com defi wallet . And it never arrived . I also messed up and sent a ...
FrozenFury's user avatar
0 votes
0 answers
44 views

Why am I getting transaction out of gas error in remix ide for all my smart contract function?

This is my Smart Contract Code. I have tried increasing the gas limit in remix but to no avail the same error comes again // SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "hardhat/...
Shreyas Keni's user avatar
0 votes
0 answers
30 views

I made a contract with 1 eth from a tutorial and I want to know if I lost it or can I recover it [duplicate]

could someone help me identify if I was scammed or not, please follow the following video link https://www.youtube.com/watch?v=VwpCxLGTl20 I did exactly the indicated steps and I did not have any ...
Diego Tavella's user avatar
0 votes
0 answers
23 views

How to build my own blockchain

I have been doing some theoretical reading on blockchain security for a while. To improve myself in this field, I want to develop a small-scale laboratory environment with my own computer and an old ...
yukara's user avatar
  • 3
0 votes
0 answers
13 views

Uniswap V3 protocol tick price conversions

Right now, I'm delving into the mathematics and corresponding code of the Uniswap v3 protocol, and I've stumbled upon this function. Despite scouring numerous documents and forums, I haven't found any ...
Pintus20's user avatar
0 votes
0 answers
10 views

DNS using blockchain (how can i hashed my domain name ) in the code below help me to complete this code

import Web3 from "web3"; import Registry from "./contracts/Registry.json"; import Resolver from "./contracts/Resolver.json"; import Cache from "./contracts/Cache....
Zain Alramahi's user avatar
1 vote
0 answers
14 views

Need to perform self destruct contract

I have been involved in a scam and need to get my funds transfered to another wallet in my name. I assume there is a contract preventing send capability, so I need someone who knows how to perform a ...
Val's user avatar
  • 11
0 votes
1 answer
27 views

Feeding a Smart contract with large Data

I want to feed a smart contract with multiple 5000 or more wallet addresses (for whitelisting purposes) in an array in a single transaction. How can I achieve that without sending data in chunks? ...
Bhushan Dhiware's user avatar
0 votes
0 answers
25 views

How to bring and display minted NFT image (ERC-721) in polygon Mumbai testnet. Attached the screenshot

In polygon testnet we are trying to bring minted NFT image in the image section, is there are any possibility to bring them, please let us know how to do that.
Prabhakaran Rajagopal's user avatar

1
2 3 4 5
67