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

web3 python exactInputSingle keeps failling

I Am trying to make a swap on uniswap using its routerV3's exactInputSingle function like this: from web3 import Web3, HTTPProvider from web3.gas_strategies.time_based import fast_gas_price_strategy #♦...
Nicolas Rey's user avatar
0 votes
0 answers
14 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 ...
Ali Safieddine's user avatar
1 vote
3 answers
88 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 ...
Mila A's user avatar
  • 693
3 votes
1 answer
79 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));...
Mila A's user avatar
  • 693
0 votes
1 answer
18 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)
Mila A's user avatar
  • 693
1 vote
1 answer
78 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 ...
Mila A's user avatar
  • 693
0 votes
1 answer
49 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 ...
Biruk Damte's user avatar
0 votes
1 answer
27 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 ...
Joe Marsh's user avatar
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 ...
Dodge's user avatar
  • 1
0 votes
0 answers
141 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 ...
JoachimScript's user avatar
2 votes
1 answer
571 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 ...
Beata's user avatar
  • 25
0 votes
1 answer
44 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 ...
Gourav's user avatar
  • 35
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, ...
RAHMA TRABELSI's user avatar
0 votes
1 answer
43 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 ...
karthikeya Gundumogula's user avatar
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 ...
Motiv's user avatar
  • 21
1 vote
0 answers
20 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 ...
Saurabh Bhai's user avatar
0 votes
0 answers
16 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 ...
AnirbanMukherjee's user avatar
1 vote
2 answers
835 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 ...
Gaurav Pant's user avatar
1 vote
0 answers
27 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?
Patoshi パトシ's user avatar
2 votes
1 answer
44 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?
Patoshi パトシ's user avatar
1 vote
1 answer
28 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?
vgonearth's user avatar
  • 139
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 ...
Rey's user avatar
  • 1
0 votes
0 answers
15 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 ...
user114704's user avatar
1 vote
1 answer
2k 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 ...
Engin YILMAZ's user avatar
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 ...
Engin YILMAZ's user avatar
0 votes
1 answer
18 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?
Uland Nimblehoof's user avatar
0 votes
2 answers
97 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 { ...
Gaurav Pant's user avatar
2 votes
2 answers
697 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 &...
Gaurav Pant's user avatar
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 "@...
Joey Yi Zhao's user avatar
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. ...
Gleichmut's user avatar
  • 472
0 votes
2 answers
50 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 ...
Gleichmut's user avatar
  • 472
0 votes
2 answers
69 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.
Gleichmut's user avatar
  • 472
0 votes
1 answer
135 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 ...
Gleichmut's user avatar
  • 472
0 votes
1 answer
148 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 ...
Gleichmut's user avatar
  • 472
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 ...
Gleichmut's user avatar
  • 472
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
Gleichmut's user avatar
  • 472
0 votes
1 answer
10 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 ...
Gleichmut's user avatar
  • 472
1 vote
1 answer
54 views

Q&A: Is it possible to mint many tokens by single call?

This part of own Q&A serial of posts which shares knowledge gained during work on one project I was curios about options we have to mint a token. Is it possible to mint many tokens by single call?
Gleichmut's user avatar
  • 472
0 votes
1 answer
9 views

Q&A: Which options do we have to overcome the cost of NFT emission (minting)?

This part of own Q&A serial of posts which shares knowledge gained during work on one project I have to explore alternatives to mint NFT at public ethereum chain because of the cost of minting a ...
Gleichmut's user avatar
  • 472
0 votes
1 answer
7 views

Q&A: Is a token emission free?

This part of own Q&A serial of posts which shares knowledge gained during work on one project I have to answer question would be ethereum cost of project deployment and usage fit the product ...
Gleichmut's user avatar
  • 472
0 votes
1 answer
17 views

Can we get an estimate of how many ETH ASIC's were there before they all migrated to Ethereum classic?

Many of the ETH asic's have migrated to ETC, but how many estimated machines were produced? If we took the hash rate of ETH before the merge and compared it to ETC before the merge and get the ...
Patoshi パトシ's user avatar
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 ...
Aman mawar's user avatar
1 vote
1 answer
81 views

How would ethereum migrate a whole transaction history after The Merge?

I have read press release of upcoming The Merge and face with promise to save a whole transaction history without tech details: No history is lost. As Mainnet gets merged with the Beacon Chain, it ...
Gleichmut's user avatar
  • 472
0 votes
1 answer
285 views

Gnosis safe transfer function `Approve Hash` but does not transfer erc20 token

I am using the gnosis-safe core SDK here to create transactions to transfer Eth out of a deployed safe proxy. Doc: https://github.com/safe-global/safe-core-sdk/tree/main/packages/safe-core-sdk#...
chibro2's user avatar
  • 103
1 vote
0 answers
33 views

Number of Ethereum transactions per day since 2015

I have plotted the number of Ethereum transactions since 30th August 2015 (around inception). This is how the graph looks like. I expected a trend in which the number of transactions in a day will be ...
Anwesa Roy's user avatar
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. * ...
OmerS's user avatar
  • 13
1 vote
1 answer
211 views

How many NFTs are hosted on IPFS?

Let me start by saying that I am a NFT noob so I apologize ahead of time if any of this is obvious. I'm looking to determine how many NFTs are "hosted" on IPFS as opposed to on centralized ...
redgeoff's user avatar
  • 113
0 votes
0 answers
17 views

Need your guidance in using mythrill

I am using mythrill for analysing vulnerabilities in smart contract. Source: https://github.com/ConsenSys/mythril How many user request for analysing can mythrill python code can handle at a time ? Is ...
Abinaya Sethuraman's user avatar
0 votes
1 answer
34 views

How can I update my smart contract state when someone sell NFT to aother

I implement ERC1155, in which if someone mints a token I save the TokenId and Address of the address that mint the token. mapping(uint256=>address) minter what I want to do when someone on Opensea ...
M Hamza Mughal's user avatar
0 votes
2 answers
238 views

Supported solidity compiler by truffle

Hello I'm working on ethereum project using truffle framework, I want to know what is the latest solidity compiler version supported by truffle.
Yaa_seen's user avatar

1
2 3 4 5 6