Questions tagged [ethereum-classic]

Ethereum Classic is the chain where the DAO rescue hardfork did not occur. This tag is for questions dealing with the differences between the chains, usage of multiple chains, as well as cross-chain interaction.

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

I send my Etc from coinbase to my eth address by accident

I accidentally sent my Ethereum classic to Ethereum address a while ago. I tried everything to recover. Nobody was able to help me or try explaining to me if it’s possible I recently seen something ...
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 ...
1 vote
1 answer
50 views

What does the tilde symbol mean in Solidity integer type casting in the example below?

function _approveTokenIfNeeded(address token, address spender) private { if (IERC20(token).allowance(address(this), spender) == 0) { IERC20(token).safeApprove(spender, uint256(~0));...
0 votes
1 answer
1k views

Port number for connecting web3 to mainnet using Geth

I am trying to connect web3j object to the mainnet using geth. I can't use infura because i am working with replay transaction observable function which doesn't work with infura. To connect with the ...
2 votes
1 answer
951 views

How to start ethereum classic (ETC) testnet/morden node?

I want to be able to start a node that will sync to the ETC testnet (is that morden?) network and allow me to query over web3 (or other) interface. I tried all tutorials and documentations, I tried ...
1 vote
2 answers
667 views

How to convert string to bytes256 or arbitrary bytes?

I already know how to convert bytes32ToString and stringToBytes32: function bytes32ToString(bytes32 x) public pure returns (string memory) { bytes memory ...
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)
1 vote
1 answer
66 views

What is msg.sender the Solidity smart contract sees if the caller has an ENS domain bought?

My goal is to be able to get an account at a particular arbitrary Ethereum address (unused as of now). I was wondering whether I can do that by buying an ENS resolve domain. If I buy an ENS domain ...
0 votes
0 answers
16 views

ETH red from choise wallet owned by myself gone out of my wallet and not arrived

I transferred roughly 8 ETH from my Choise wallet to another address owned by myself three days ago but the ETH has not turned up but has gone out of my choise wallet - the transaction Id does not ...
0 votes
1 answer
42 views

can eth_call() make this?

I have a contract and inside the contract there is a non-payable function that can call externally. this function do some analysis,and calls other payable function than can make real transaction using ...
0 votes
1 answer
1k views

Get error `Error: cannot estimate gas; transaction may fail or may require manual gas limit` when send method to contract

I deployed a smart contract to Ganache as below code: // SPDX-License-Identifier: MIT // Tells the Solidity compiler to compile only from v0.8.13 to v0.9.0 pragma solidity ^0.8.13; import "@...
0 votes
2 answers
601 views

Reading parameters from Smart Contract

I have a Crowdsale smart contract taken from the example provided by Ethereum on their website. The Crowdsale contract contains the addresses of the people who participated in the Crowdsale. Is there ...
8 votes
4 answers
5k views

I get error couldn't find module 'ethereumjs-wallet/hdkey'

I was running this code deploy.js const HDWalletProvider = require('truffle-hdwallet-provider'); const Web3 = require('web3'); const { interface, bytecode } = require('./compile'); const provider = ...
1 vote
1 answer
803 views

How to add account in rinkeby test network?

I have a problem on creating a wallet account. I have downloaded mist. I have downloaded ethereum wallet. I have no idea on anything of this. I am new to this. I have choosen Develop->Network->...
2 votes
1 answer
1k views

ETH vs ETC on Dwarfpool and Poloniex?

Noob miner here, Does anyone mining on Dwarfpool know if they have updated to the forked code (ETH), or are we still mining Ethereum classic (ETC)? I currently use Poloniex as my intermediary wallet ...
0 votes
2 answers
2k views

error deploying with hardhat- config issue

I'm having error in my config file: Error HH8: There's one or more errors in your config file: * Invalid value undefined for HardhatConfig.networks.rinkeby.url - Expected a value of type string. * ...
0 votes
2 answers
11k views

Does ASIC miner works in ETH and ETC

I want to buy an ASIC Miner (A10 Pro 6GB) but i have some doubts. Is it good to buy an ASIC Miner in Nov. 2020 for ETH and ETC mining ? Recently I heard that the mining algorithm for ETC is changing ...
1 vote
4 answers
2k views

how much does using ethereum services cost

Lets say im creating my own cryptocurrency and my own blockchain on ethereum, what would be the basic costs for setting all this up if i am developing on Ethereum
0 votes
1 answer
26 views

How can I search for a transaction?

I was given some crypto recently. When I try and search up the info for the transaction I'm given: to: Ox5603F Price per coin xxxx network fee xxx confirmations xxxx date xx/xx/xx status ...
0 votes
0 answers
107 views

How to calculate the Max Buy and max sell of an erc20 token even without liquidity

How to calculate the Max Buy and max sell of an erc20 token even without liquidity. There are many Ethereum tokens with a limit to the maximum amount of tokens that can be bought at once and sold. I ...
2 votes
1 answer
321 views

InvalidStatusCode: server rejected WebSocket connection: HTTP 401

I am trying to subscribe to pending transactions on the Ethereum blockchain using this tutorial from Infura: https://docs.infura.io/tutorials/ethereum/subscribe-to-pending-transactions When I try to ...
0 votes
1 answer
40 views

Uniq Random Numbers - Without Chainlink

I am trying to assign unique tickets for users. The user can choose the number of tickets and get an allotment. The allocated tickets will be mapped to users. pragma solidity ^0.8.11; contract ...
3 votes
1 answer
871 views

call graphs for solidity smart contracts

Do we have some open source tools where we can get call graphs for solidity smart contracts execution ? For ex: Suppose Function A in contract C calls some other function B so the graph should contain ...
0 votes
0 answers
21 views

add faucet to metamask failed [duplicate]

I am using meta mask for the second time and I wanted to add some test ethers in my meta mask from test ether faucet in order to deploy my own smart contract implemented using remix. Unfortunately, ...
0 votes
1 answer
34 views

Solidity Interfaces : VM revert Error

Im implementing a NFT Marketplace. Where I created Two contracts and an Interface. One contract is Tokens.sol and anotherone is MarketPlace.sol In Tokens Contract I Implemented functions like Minting ...
0 votes
0 answers
17 views

How much Gas Token used in total Gas?

Users can Mint Gas tokens at a lower price and Free them when the Gas price is high in Ethereum. In Etherscan, the available information is Gas Used. There is no more information about how much Gas is ...
1 vote
1 answer
3k views

Sent Ethereum from Coinbase to Ledger Nano S ETC address by accident

Date- 20170420 Accidently sent about 46 ETH from Coinbase to Ledger Nano S Address. The transactions shown below looks like a good transaction but not showing up on either ETH or ETC wallet on ...
1 vote
0 answers
17 views

Is Reentrancy Check compulsory while inilaizing the initializeGenesisBlock function?

I have one doubt while initializing a Genesis Block function in solidity smart contract Question = Is Reentracy Check compulsory while inilaizing the initializeGenesisBlock function ? function ...
1 vote
2 answers
712 views

EIP-4337 example implementation and source code

Heard about new boi in the town https://eips.ethereum.org/EIPS/eip-4337 . Read its documentation but it is way too technical for a beginner like me . Can anyone explain it in simple terms ? I read the ...
0 votes
0 answers
14 views

Failing to deploy a Yearn.Finance DApp

I am working on building a DApp that interacts with the Yearn.Finance vaults, using the standard ERC4626 standards. This is my first DApp connecting to Yearn.Finance. During development, I am looking ...
1 vote
0 answers
21 views

Ethereum classic $ETC emissions schedule as of 2023 March

ETC Ethereum Classic has been running for a number of years now. What is the current emissions schedule for Ethereum classic? Did they ever change the schedule?
2 votes
1 answer
42 views

How much ETC was stolen in the multiple 51% attacks on Ethereum-Classic?

Ethereum Classic was attacked multiple times back in 2020. How much was stolen and which addresses control these stolen funds now? And have they been sold?
1 vote
1 answer
27 views

Whata are the differences between Ethereum and Ethereum Classic?

What are the key differences between Ethereum and Ethereum Classic and what implications do they have for the future of the Ethereum network?
0 votes
1 answer
2k views

Information about Apply mining pool rewards ERC-20 Smart Contract [closed]

I was contacted from a girl of Singapore,she told me to join a website,with 1k of buying USDT erc-20,every day I withdraw 30 dollar,but today I accept this partecipation for the claim the reward but ...
0 votes
1 answer
1k views

OPCODES How is work "CALLDATACOPY"?

I try to understand how CALLDATACOPY works. destOffset: byte offset in the memory where the result will be copied. offset: byte offset in the calldata to copy. size: byte size to copy. I try to ...
0 votes
0 answers
13 views

Not Able to initalize bundlr for etherum

const privateKey = user_wallet.private_key; const bundlr = new Bundlr(arweaveUrl, "Ethereum", privateKey ); await bundlr.ready(); Im not able to initalize Bundlr for etherum. Giving me the ...
0 votes
1 answer
46 views

OPCODES Multiplication problem type(uint).max * 2

I try to execute the following opcodes and computer gives me the following result the code: type(uint).max * 2 the result: type(uint).max -1 PUSH1 2 PUSH32 ...
0 votes
1 answer
17 views

Smart Contract internal method return value to caller e.g. angular

Smart Contract internal method (last in chain of public view method) is able to return value at the end for parent method (public view) caller e.g. Angular?
0 votes
2 answers
90 views

What is mint rate in ERC721A?

What is mintRate here ? contract Contract721A is ERC721A, Ownable { uint256 public mintRate = 0.001 ether; function setMintRate(uint256 _mintRate) public onlyOwner { ...
1 vote
2 answers
473 views

Which is the best proxy contract?

I am learning how to write proxy contract for a smart contract . I am across this article . Here are many standards specified for writing a proxy contract . Which one of them is "best" ? By &...
5 votes
2 answers
2k views

How does Ethash work?

I've looked at the wiki in search of how the information about Ethash algorithm but I did not find the answer. Where can I find detailed information about it or can someone explain it?
0 votes
2 answers
1k views

Rinkeby authenticated Faucet is saying "insufficient funds for gas*price + value"

I am learning more about the blockchain so I just started a tutorial on Freecodecamp, in the following video I need to test Ethereum from Rinkeby authenticated Faucet, I did the following step but ...
0 votes
2 answers
51 views

Q&A: How to test contracts under different accounts?

This part of own Q&A serial of posts which shares knowledge gained during work on one project I was need to test my contract under different accounts and was looking for ways to do this.
0 votes
1 answer
22 views

Q&A: How does msg.sender actual address vary during the call?

This part of own Q&A serial of posts which shares knowledge gained during work on one project msg.sender brought some ambiguity to me as at the first look this is an address of user caller. ...
0 votes
2 answers
39 views

Q&A: How to get current time in ms? [duplicate]

This part of own Q&A serial of posts which shares knowledge gained during work on one project I was looking for a way to do actions link to global time, but obtaining current timestamp was not a ...
0 votes
1 answer
126 views

Q&A: How to get a minting token id?

This part of own Q&A serial of posts which shares knowledge gained during work on one project It is not obvious about how to get a just minted token id. You may assume there would be a transaction ...
0 votes
1 answer
138 views

Q&A: Is it possible to delegate another contract right to mint a token on behalf of others?

This part of own Q&A serial of posts which shares knowledge gained during work on one project My project implies another contract should transfer a token by some condition. Is it possible to ...
0 votes
1 answer
14 views

Q&A: Does solidity have any structures besides mapping and arrays? [duplicate]

This part of own Q&A serial of posts which shares knowledge gained during work on one project I faced with very limited options to express my thoughts and intents on solidity which is partly ...
0 votes
1 answer
7 views

Q&A: How can I get an instance of the contract by its address?

This part of own Q&A serial of posts which shares knowledge gained during work on one project
0 votes
1 answer
8 views

Q&A: How to get all tokens assigned to a user? [duplicate]

This part of own Q&A serial of posts which shares knowledge gained during work on one project I was looking for a way to get all tokens which belongs to a user. One more constrains is project is ...

1
2 3 4 5 6