All Questions
503 questions
0
votes
0
answers
35
views
Old eth network accounts do not appear after reinstalling metamask
I have a serious problem.
I switched from Note and in the new Note I restored Metamask using my phrases.
The installation worked.
Inside the Metamask of the old note I had the ETH network with two ...
0
votes
1
answer
30
views
I transfered ERC-20 token to the wrong Efinity address [duplicate]
I transfered ERC-20 token to the wrong Efinity(NFT blockchain on Polkadot) address,how to get it back? Someone plz let me know
0
votes
0
answers
180
views
Command: "geth account list" while geth running
When i running command
geth acoount list
i get the error - Fatal: Failed to create the protocol stack: datadir already used by another process
If i stop the geth the above command would list my ...
1
vote
1
answer
893
views
Is there Blocks Pruning in ethereum clients specialy geth? (and other questions)
Is there Blocks pruning in ethereum clients such as geth and how does that work?
by pruning I meant, does the blocks information whether stored in DB like in cpp-ethereum are deleted if the ...
1
vote
0
answers
51
views
questions on block (and header) storage in ethereum, how is it stored along with tries?
I understand that ethereum uses Trie to track the state, transactions, receipts. and each trie has key-value pair that is stored in the database.
Each blockheader also has the root has of stateRoot, ...
2
votes
0
answers
62
views
Why does Ethereum use RLPx over TLS?
Ethereum encrypts data sent between peers. What are the reasons for implementing RLPx over TLS?
2
votes
0
answers
112
views
What is Ethereum's protocol stack regarding cryptography?
Resource 1 says that “There is no encryption as part of the Ethereum protocol—all messages that are sent as part of the operation of the Ethereum network can (necessarily) be read by everyone. As such,...
0
votes
1
answer
2k
views
How get private key from eth address public key/address
By mistake I send "TRU" erc20 token in a ether address and can't access it now. I have only eth address and public key of this address. How to get private key from eth address or using ...
0
votes
1
answer
229
views
How to securely send a message
I was wondering that can I encrypt a string, send it to a smart contract, for that to be decrypted only by some address's private key?
e.g "Hello" to be encrypted in a way that it would be ...
1
vote
0
answers
123
views
Experimental data on transaction propagation time
Does anyone have empirical data on how long does it take to propogate a transaction thought out most of blockchain?
I know we can speculate on how long it would take (like here). But I am interested ...
1
vote
1
answer
322
views
Not able to use --testnet flag on geth windows
I have a problem where if put
geth --testnet removedb
it says
flag provided but not defined: -testnet
Im on windows 10 x64. Thanks in advance!
1
vote
0
answers
257
views
Listening to smart contract events RPC, using web3, on aleth node
bakcground,
I am working on an ethereum based fork of cpp-ethereum/aleth node and not using the official golang client (geth), unfortunately from what I read, websocket support has been 'ditched' in ...
4
votes
1
answer
4k
views
Web3: Get token address from pair address
I am studying all listed pairs on Pancakeswap. I get the pair address from
PCS_FACTORY_ADDRESS="0xca143ce32fe78f1f7019d7d551a6402fc5350c73"
PCS_FACTORY_ADDRESS = Web3.toChecksumAddress(...
0
votes
0
answers
12
views
ETH sent to contract address, how to get it back? [duplicate]
Instead of transferring my ETH token to my wallet, I accidentally sent it to some contract address, this one: 0xE592427A0AEce92De3Edee1F18E0157C05861564.
Is there any way to get my ETH back?
0
votes
1
answer
628
views
How To Verify A Coin Without Original Contract Source Code?
We are new to crypto. A while ago we created a coin (3DOM coin) with 14,000,000,000 units and stored them in our wallet on myetherwallet.com. We would like to deploy the token now but we do not have ...
2
votes
0
answers
164
views
Running a SPV wallet on Arduino/ESP32?
I want my ESP32 to make transactions and check for the details of blockchain using a secure method. Actually, I want to use make calls to the blockchain instead of relying on a single node. In my ...
1
vote
1
answer
243
views
Compilation Error while using ChainLink
I am using Remix IDE for my smart contract development. I am using the following import line
import "https://github.com/smartcontractkit/chainlink/blob/develop/evm-contracts/src/v0.6/...
0
votes
1
answer
133
views
I tried to send eth from Metamask (in balancer) but transfer is looking failed but I loss my eth(90$ around) What I should do?
I tried to send eth from Metamask but transfer is looking failed but I loss my eth(90$ around) What I should do?
1
vote
0
answers
43
views
Create account with initial fund using web3
Is it possible to create an account with initial fund using web3?
Every time I create a new account I had to do fund transfer to add initial fund. If there is way to fund the account with minimum ETH ...
1
vote
1
answer
434
views
Simple way to send gasless Transactions
I was wondering if there is a way for a user to pay transaction fees for another user, meaning user A sign the transaction and user B send it to the network and pays the gas fees.
I found a solution ...
0
votes
1
answer
42
views
pending transaction on eth blockchain
i still waiting from 4h for my transaction. I know de gwei is low but what you think it will be processed.
0xb69c181d38bcd157d07a623b5c1b620e6694644626bc1ed48e984ed089933e86
1
vote
0
answers
36
views
Ethereum NFT options
I am looking at producing a set of NFT's that are a set of 100, the item does not have an image, but is a token to run through an algorithm, I want them to be limited whole NFT's, not ERC-20s.
I am ...
1
vote
0
answers
165
views
What is the best practice to find out deposits to some Ethereum accounts?
Suppose we have multiple Ethereum accounts and we are trying to track them for any deposit. I mean we want to be notified for any transaction in the blockchain if the transaction is to any of our ...
0
votes
1
answer
911
views
web3.eth.accounts[0] undefined
I am new and I am trying to make my first transaction using geth and truffle.
to specify a sender address I type in the truffle console:
src = web3.eth.accounts[0]
but I get "undefined"
if I ...
0
votes
1
answer
175
views
Is their any change to move a wallet from an bnb blockchain to an ethereum blockchain?
I transferred some ethereum to my bnb wallet. Later I found out that this bnb wallet is not on the ethereum platform.
So I send an amount of ETH to an address similar to the address of the bnb wallet (...
0
votes
1
answer
95
views
A silly question about web3.eth.sign
I'm a beginner and I need to sign the data with metamask,Find the document https://learnblockchain.cn/docs/web3js-0.2x/web3.eth.html#sign
then In the browser's debug desk ,i try run
web3.eth.sign('...
0
votes
1
answer
236
views
Is it possible to charge extra ETH fee for token transfers? [closed]
Is it possible to accumulate fee amount deducted from transfer transactions in a different address in smart contracts?
Person A transfers tokens to Person B. Let's say the transaction fee is 0.1 ETH, ...
0
votes
1
answer
42
views
any 3rd party service that can get all transaction?
3rd party service recommended
have any 3rd party service that can get all transaction of address?
because from my research the web3 cant get the full transaction by account.
0
votes
0
answers
523
views
Internal Transactions - How to find out the address of the contract that is calling?
i have been Googling for this answer, but i haven`t succeeded.
The scenario is the following: I have two contracts interacting with each other, and I want to make sure that they only respond to each ...
1
vote
1
answer
132
views
How to synchronise accounts between different geth installations
I have a problem. If I build two geth nodes A and B, these two nodes are already in communication and synchronization. I created accountA on node A, and I can unlock accountA on node A with the ...
1
vote
1
answer
257
views
Deploy from Remix to Quorum using password? "authentication needed: password or unlock"
I can SSH into the box that is running Quorum:
run geth with the flag --allow-insecure-unlock
geth attach new-node-1/geth.ipc
personal.unlockAccount(eth.accounts[0])
I'm interested in knowing if I ...
2
votes
0
answers
58
views
Encoding and signing transaction with aleth client [closed]
I am learning aleth client. I want to do two simple steps:
encode json to rlp with ./rlp create [...]
sign this rlp with ./aleth-key sign <ma_rlp>
And I am getting errors in ./aleth-key sign &...
1
vote
0
answers
102
views
creating and signing transaction
I am looking a way to create signed transaction using c++ libs from aleth. I have this transaction:
{
from: "0025defd0f341b7f673f84b81c8416d58df29045",
to: "...
7
votes
3
answers
3k
views
Is there any c++ library for signing transactions?
I am working on light wallet in c++, and I am looking for a c++ library for signing transactions. I mean something where i will pass transaction and private key and it will return signed transaction ...
0
votes
0
answers
43
views
Using two key for displaying data from contract
i can't found any idea how to get data with two keys. One key "address", second key is "IsCollect"
My mapping:
mapping(address => Player) public users;
struct table:
...
-2
votes
1
answer
786
views
Datetime in solidity [closed]
how can i get date time in solidity like that: 14/10/2020 20:50. I don't want 8:50 PM.
I get in timestamp but timestamp not possible convert because I have wrong timestamp.
1
vote
0
answers
36
views
Generating blocks without mining,
I have private test network, and I need to simulate forks. Is any possibility to immediately set number block fork-1 (in PoA or any other protocol) ? If yes, what is the easiest way to do it ??
0
votes
0
answers
899
views
Served eth_sendTransaction err="unknown account"
I'm facing issue with private chain, when I run the node, it shows the logs as below, and transaction went in pending status.
Folder structure
All the wallet file reside into keystore folder.
Node....
0
votes
1
answer
7k
views
web3 eth return returns a nonexistent transaction hash
I'm trying to create transactions something like this:
var sender = meth.eth.accounts.privateKeyToAccount(data.fromPrivate)
meth.sendTransaction({
sender,
to: data.to,
amount: data.value,
}, cb)
...
1
vote
1
answer
529
views
eth_getLogs was only return erc20 tokens
i have used below command to get every logs on the special blocks but its only return erc20 token logs and ethereum transactions was not listed.
my geth command:
curl --data '{"method":"eth_getLogs",...
0
votes
1
answer
540
views
Ethereum stores its own data, how to synchronize the data to other nodes in the future
I use smart contracts in Ethereum to store some string data, how to synchronize these stored string data to other nodes.
As far as I know, these string data are stored in the node's leveldb database, ...
0
votes
1
answer
912
views
Error encountered during contract execution [Reverted] Problem with Contract
I've sent the transaction - https://ropsten.etherscan.io/tx/0xbecb36319d806edc3617abcbeb1f95e7215cb205dc180088f225c1addd82086f to the contract address and it got reverted.
Could someone explain me ...
0
votes
0
answers
55
views
Write Secret Shared Data onto Ethereum
What would be an approach to do the following:
1) Secret Share data provided from a file
2) Publish the secret shared data onto an Ethereum instance (aleth/geth)
3) Be able to retrieve and ...
0
votes
1
answer
163
views
How to sign transactions while Geth does not provide private key?
I've lunched Geth for the first time and created some accounts on it. While creating accounts, I entered a password for each, and a key file is generated which contains encrypted private key belonging ...
0
votes
1
answer
236
views
My cutom RPC meta mask created account is not showing in terminal
I have installed geth and created genesis.json and run my own private eth network. I started my rpc using
geth --rpc --rpcport 5200 --rpcaddr 192.168.1.99 --datadir ./private
Then I connected to ...
0
votes
1
answer
83
views
Compiling cpp-ethereum (aleth) sources as a part of my cpp project
I want to use cpp-ethereum aleth smart contracts sources in my altcoin project. My sources can compile with cmake or autotools system. I tried two ways to compile cpp-ethereum with my sources:
Using ...
1
vote
0
answers
245
views
keystore path in geth command does not work
I've lunched Geth server and want to store data and keystores in a non-default directory. I've used this command to run Geth:
geth --datadir /etc/dir/ --keystore /etc/dir/keystore/
But when I run ...
1
vote
1
answer
348
views
Difference between web3.eth.personal.getAccounts() with web3.eth.getAccounts()
What are the differences between web3.eth.personal.getAccounts() and web3.eth.getAccounts()?
environment
truffle: v5.1.7
using truffle console.
0
votes
1
answer
213
views
Are there any API to get real money value equivalent of a transaction?
I know that etherscan shows the total cost of a transaction both in eth and in US dollars.
Is there any api of any kind to be able to get instant value of eth when I send a transaction?
0
votes
2
answers
800
views
How can I send tokens to large number of addresses?
I have to send 221,000 tokens (ERC20) to 6477 different addresses. Airdrop guy used some automatic sending app and that tells 1.94 ETH is needed as approx cost of operation to send all this.
Is there ...