All Questions

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

Is there any advantage of using localhost as testnet in Metamask?

I am using Metamask with ganache to deploy my Dapp, i use localhost testnet depend on some tutorials i followed it but really i don't know if it has any advantages comparing with other testnets or no? ...
0
votes
0answers
5 views

How to call fallback function because non existing function using truffle console?

How I can test fallback function because non existing function in contract using truffle console?
0
votes
0answers
8 views

starting geth node with db facility

I'm trying to start geth node to perform queries about blockchain state. The command that worked for me year ago as follows: geth --rpc --rpcapi="db,eth,net,web3,personal,web3" --rpcaddr &...
0
votes
0answers
12 views

mist “Error: Cannot find module index.js” on ubuntu

I just did snap install mist on Ubuntu 18.04.4, when I run mist: bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) module.js:538 throw err; ^ Error: Cannot find module '/...
0
votes
0answers
10 views

How to execute below multisend DAPP code can someone help me with this.Thanks in advance

I attached github link below, I tried running index.html but it results in empty page.I have installed nodejs and ganache in my laptop, can someone tell me what are the necessary components and ...
0
votes
0answers
14 views

Gas estimation failed error:Can someone help me to resolve this error,Many thanks

I'am facing this error:gas estimation failed:"gas estimation errored with a following message .the transaction execution will likely fail.do u want to force sending?gas required exceeds allowance(...
0
votes
0answers
18 views

sendTransaction returns Invalid JSON RPC response

I am trying to send a transaction to a Besu node that I have running locally. However, from the following code, when I run npx ts-node myFile.ts, I get Error: Invalid JSON RPC response: const Web3 = ...
0
votes
2answers
23 views

How to assign a value to a bytes variable?

The function keccak256 () takes a bytes variable. You can't pass it bytes3 or byte []; it has to be of type bytes. How do you set that to a specific value? Here are some things I've tried, and the ...
0
votes
0answers
9 views

How to link the Python flask with a smart contract and search for objects

I have created a smart contract. This contract stores data and it is uint sernum; uint num; uint data; You have created an array in the smart contract that saves this data. Server memory xserver = ...
0
votes
0answers
7 views

im getting an error when trying to deploy my contract in rinkeby network..?

i want to deploy my contract in rinkeby network with metamak mnemonic but iam unable to do it.icant understand whata i did wrongin the error message is there any way out...?
0
votes
0answers
3 views

Geth console - list active RPC connections

Is it possible to list open RPC connections (to instances of MetaMask, for example) on a Geth node console?
0
votes
1answer
13 views

Does every solidity contract need to be migrated individually in truffle?

I have a .sol file with an ERC20 token and 3 "contracts" (The token interface, safemath and TestToken). In my migrations folder, do I need to do a separate migration file for each of the ...
0
votes
1answer
10 views

Solidity-how to transfer ether from an account to a smart contract as deposit

I just started to learn Solidity. In the SimpleAution contract, there are two functions, bid() and withdraw(), the former iniating a bid, transfering some ethers to the contract as deposit, the later ...
0
votes
0answers
20 views

Canceled a transaction and no longer saw my ether in metamask wallet

I was sending 14.793776530278380275 ($5,744.42 at the time) worth of ether over to binance. I set the gas fee to be at the max and waited for the transaction for around 10+ minutes. Due to this I ...
1
vote
1answer
17 views

Truffle - deploy and interact with a contract locally from a script

I have created a contract, wrote a migration and a test. When I run truffle test the contract is deployed locally and then the tests are run against it. All is working fine. I also added a function to ...
0
votes
0answers
2 views

Geth command line - load JavaScript file on startup with console

MISSION: Start a Geth node with a console while loading JavaScript function libraries at the same time I need to load function libraries at startup, without having to call loadScript() on the Geth ...
0
votes
1answer
13 views

Why the need for different tokens?

So, ERC20 tokens are bought depositing equivalent Price = amount to be bought*price of tokens) in eth to the smart contract eth address. So lets talk about BAT ERC20 token: If I am verified BAT ...
0
votes
1answer
7 views

Ethereum source code build in Windows

I have downloaded the ethereum source from https://github.com/ethereum/go-ethereum, is there anyway to build the source in windows 10 machine. As per the document it says use make geth , but it will ...
0
votes
0answers
15 views

Work with USDT from web3j

How can I work with USDT tokens from web3j? I have node from https://www.ethernodes.org/nodes
0
votes
0answers
4 views

Is there any connection between Serenity Market and Ethereum 2.0 (codename Serenity)?

From what I gather, no... Simply an exchange that's named the same? https://serenity.exchange/
0
votes
0answers
7 views

How to display formatted transaction information in Remix IDE from web3.eth.getTransactionReceipt()?

tl,dr: Remix shows a formatted transaction summary for transactions that are initiated within the Remix IDE. Is it possible to display the same output for an arbitrary transaction hash? Sorry if this ...
0
votes
1answer
6 views

MEW keeps putting in QSP contract address for receiver instead of address I've entered

I'm trying to send Quantstamp (QSP) to Binance offline, using MyEtherWallet. In mew's offline helper... when I paste in the signed transaction (into the online MEW, as received by offline version of ...
0
votes
0answers
16 views

Private Ethereum as private payment system

Case This is a hypothetical question. Let us assume we own a group of stores, restaurants or cafes and want to give our customers the opportunity to pay per App, with our own system not an external ...
0
votes
0answers
12 views

any one please help when show QR for receiving erc20 token

any one please help when show QR for receiving erc20 token can i enter amount like "ethereum:ethaddress?address=contractaddress&uint256=token" not working "ethereum:...
0
votes
1answer
26 views

What was the Rebase Bug on the YAM smart contract?

Smart contracts have great power to absorb money like a black hole. Almost 400$ Million is gone due to a bug in the smart contract of YAM. What was the bug that cause all the destruction? => Could ...
0
votes
1answer
8 views

How to deploy smart contract using Remix 0.8.0 and MetaMask?

How do I deploy a contract on a test network using Remix 0.8.0 and MetaMask on a Firefox or Chrome browser?
1
vote
1answer
24 views

Node version upgrade for contract deployment throws error

I wrote a solidity contract using version 0.4.24 using OpenZeppline-solidity version 1.12.0. This used to deploy using the Nodejs version 8.12. The Nodejs version 8 is no longer being maintained from ...
0
votes
0answers
21 views

Is first call to oraclize query free in mainnet, as in testnet?

We were trying to include oraclize query to get price feed in one our contracts, as of now we have observed that the first oraclize is free in kovan. Does same applies for mainnet or else we has to ...
0
votes
0answers
12 views

Subscribing to new blocks doesn´t work [ROPSTEN]

I'm trying to subscribe to newBlockHeaders on the ropsten network, but it does not seem to work. The following code works for mainnet but not ropsten. Any ideas? const Web3 = require('web3') const ...
0
votes
0answers
5 views

Has anybody used Atomic Wallet for cold storage? [closed]

Interested to know if anybody has used this application in an offline setting.
0
votes
1answer
15 views

How to programatically change the current network with MetaMask

I would like to have a button that switches between main net and ropsten on my app, in order to do so I need to programatically change the current network with MetaMask. But I cannot find aby ...
0
votes
2answers
15 views

Truffle not deploy updates

Truffle not deploy contract updates. truffle migrate compiles it but falsely say network up to date. OS: Windows Truffle v5.1.39 npm 6.14.5
0
votes
1answer
20 views

How to send erc20 token with web3 without smart contract abi?

I created a token in the Ropsten network. It wants abi.json when transferring with Web3. But the token I created did not give it. My token etherscan link https://ropsten.etherscan.io/address/...
0
votes
1answer
19 views

How to create forwarder wallet in Ethereum?

I have more than one ETH wallet. I want to automatically combine these wallets into one wallet. For example, when I get an ETH in wallet 0x1, I want it to automatically transfer it to wallet 0x2. Can ...
0
votes
0answers
6 views

Pending Ethereum transaction on smartrix

Good evening. I registered on smatrix and I upgraded my first level 40hrs ago and my Eth was deducted. Yesterday, I checked my account ....then I saw 0payment sent but my 0.02 ethereum was deducted . ...
0
votes
2answers
24 views

Go-Ethereum EstimateGas Errors

Been struggling in finding a way to estimate gas for calling a function. I was getting the error - Error: VM Exception while processing transaction: revert locally on ganache and getting Error: The ...
0
votes
0answers
22 views

Transaction reverted but not refunded

My transaction https://etherscan.io/tx/0xd4f9905b14e26ee96b243f47e734e1b7880dc2a23f8f847dae786fca0f3f9888 has failed and was marked as reverted 15 hours ago. Though i don't think my ETH wallet has ...
0
votes
1answer
19 views

Hello i am te admin of the discord o f the eth black smart contract the site got suspended what now

Heeey superstars thank you for taking the time to answer this question Me and my people are in the eth black smart contract but the site got offline is there anything we can do to get our money our ...
0
votes
1answer
11 views

Truffle re-deploy unchanged contracts on every migrate

On every truffle migrate truffle deploy contracts even if they are not changed. although it doesn't re-compile Truffle v5.0.5
0
votes
0answers
15 views

Prevent opening metamask on ethereum.enable/creating new web3 instance [closed]

How can I prevent initializing Metamsk on window.ethereum.enable() or on creating a new instance of Web3?
1
vote
0answers
14 views

Time-dependent tests with Buidler?

For Ganache, there are several solutions. What about Buidler? They implemented their own local blockchain, buidlerevm, which is different to Ganache.
0
votes
1answer
10 views

Why is the receive () external payable not acting as a fallback?

I have this simple code in remix.ethereum pragma solidity ^0.6.1; contract SimpleWallet { address owner; constructor() public { owner = msg.sender; } modifier ...
0
votes
1answer
23 views

Cannot read data from smart Contract with web3 js

Im having trouble reading data from a smart contract I have following js script right here: (bcc-js.js) var contract_address = "0x88e304D8638c31DaC3336917bbE4A152927198D8"; var contract_abi =...
0
votes
0answers
5 views

What is the expected daily egress traffic from full Testnet node

I have a full testnet node running on GCP with Parity. After about a week of having it fully synced, the egress traffic from the server spiked substantially and started sending out 250GB per day to ...
0
votes
1answer
19 views

Interacting with Bytecode

Is it possible to interact with a smart contract with bytecode only (without ABI)? If yes, how can I do this?
0
votes
0answers
8 views

Read ABI directly from network api in GOLang

Using go-ethereum package how can we read the JSON file of the deployed contract and then get the ABI out of it and then instantiate? I don't want to compile smart-contracts into GO but want to use ...
1
vote
0answers
12 views

Why does ethereum chaindata sometimes sync while syncing?

I am doing a fresh geth 1.9.18-stable sync, which I believe is fast by default. I am keeping an eye on the size of the .ethereum/geth/chaindata/ directory and have noticed that it does not increase ...
0
votes
1answer
25 views

What happens if two different states of smart contract conflict?

I'm newbie studying blockchain and Ethereum. While I'm studying, I've got a question. What will happen in the case of conflict of two different states on smart contract, e.g. from the network ...
0
votes
0answers
8 views

Error when recalling smart contract using code; todoList = await TodoList.deployed() [closed]

When I try to recall the contract after it has been successfully deployed, I type the following code: todoList = await TodoList.deployed() ReferenceError: TodoList is not definede console at ...
1
vote
1answer
9 views

State Changes within a Block

I read somewhere that the 'state' is only updated at the end of each block. I've also read that each block contains a specific sequence of transactions, and thus implicitly 'updates' the state within ...

15 30 50 per page
1
2 3 4 5
595