Questions tagged [cpp-ethereum]

The Ethereum C++ client.

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
0answers
5 views

make your stablecoin decrease in value and pay dividents

is it possible to create a stablecoin and make it decrease in value and pay out dividents on a monthly basis on the ethereum network?
0
votes
0answers
14 views

Export aleth(ethereum c++) to geth (go-ethereum) blockchain data

I have the private aleth network, but want to test some new features, so I want to move to geth. But didn't find any instructions how to get it to work. Here is a couple of questions: Is it anywhere ...
0
votes
1answer
42 views

Unauthorized transaction from Ronin Wallet

I'm facing a big problem related to my Ronin Wallet, i bought ETH as usual and trying to send it to Axie Infinity, but after i got the ETH i bought, another random transaction appeared as if i ...
0
votes
1answer
13 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
0answers
32 views

How to find out the block reward?

I have node ETH. How to find out the block reward? I looked at all the possible JSON RPC API requests. But nowhere is there any information on the reward for the mined block. Do I need to download all ...
0
votes
0answers
22 views

error: 'Error: Invalid JSON RPC response: "user project is inactive

I am trying to get the balance of an ethereum wallet in my own website. I am using the following code to do so. PS: network parameter contains whether the network is mainnet or testnet. The code is: ...
0
votes
1answer
23 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
0answers
9 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, ...
0
votes
0answers
9 views

is cpp-ethereum/aleth full node or archive node by default?

I know that cpp-ethereum/aleth is no longer maintained but we are interested in forking it and keeping it alive in some ways. I cant find and option on the console arguments for it to switch as a full ...
2
votes
0answers
16 views

Why does Ethereum use RLPx over TLS?

Ethereum encrypts data sent between peers. What are the reasons for implementing RLPx over TLS?
1
vote
0answers
18 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
1answer
90 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
1answer
24 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 ...
0
votes
0answers
16 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 ...
0
votes
0answers
12 views

Geth --dev node block explorer

I want a block explorer for my geth dev node for ERC20 token tracking. Is there any code that allows me to do this?
0
votes
1answer
26 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
0answers
66 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 ...
3
votes
1answer
551 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
0answers
27 views

How to solve this ”invest“ problem in an ico contract?

like so pragma solidity >=0.5.0 <0.9.9; interface ERC20Interface{ //Mandatory functions function totalSupply() external view returns(uint); function balanceOf(address tokenOwner) ...
1
vote
0answers
69 views

Query ethereum from C++

I was wondering if its possible (essentially if there exists a library) to query a node (either IPC or RPC) on ethereum. For example there is web3(py,js), there is ethereum in golang and probably ...
0
votes
0answers
9 views

running cpp-ethereum nodes for local development

I cant seem to find how to start my local only private node just for development purposes. like I want to run my node and i want to have a list of addresses with balance test eth on my local machine ...
0
votes
0answers
10 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
1answer
64 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
0answers
45 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
1answer
42 views

Whats the point of modifiers? [duplicate]

So let's assume the following code: modifier Owner() { if (msg.sender == owner) _; } function uploadContent() external Owner { uploadContent() .. } Why not use this? function checkOwner() ...
1
vote
1answer
84 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
1answer
95 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?
0
votes
0answers
139 views

Uniswap Router v2 get price

Im working on something and I need to get a price from uniswap for some tokens eg eth or chainlink but from uniswap router contract, anyone knows how to calculate the price.
1
vote
1answer
82 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
0answers
10 views

Is it possible to install 2 geth ethereum nodes with one external ip?

I want to install 2 nodes in one local network, will I succeed? and what is needed for this?
0
votes
1answer
27 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
0answers
27 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 ...
0
votes
0answers
27 views

sent etc classic to my eth address on hotbit

i sent my etc classic on coinbase to my eth address on hotbit. hotbit is now trying to get money from me to try and help. is there any other way to recover these tokens? i've been researching for ...
0
votes
0answers
15 views

Can I recover ETH sent to a know address? [duplicate]

On my Metamask Wallet I sent inadvertely my ETH to another address. Can I get it back?
0
votes
1answer
99 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
1answer
41 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
1answer
135 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
1answer
23 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
0answers
46 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 ...
0
votes
0answers
16 views

Aleth. Create unsigned transacion from json

I am trying to create unsigned transaction with aleth. I am trying to use ./rlp create command for this which accepts transaction in json format. Does anybody know this json format looks like? What ...
1
vote
0answers
30 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
0answers
29 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: "...
4
votes
2answers
418 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
0answers
25 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
1answer
55 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.
0
votes
0answers
27 views

What is impacting generated contract address? [duplicate]

What is used to generate contract address. I found this project https://github.com/johguse/profanity And I want to generate vanity contract address. If I understand correctly it not depends from ...
1
vote
0answers
27 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
1answer
2k 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
1answer
205 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",...

1
2 3 4 5
7