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.

0
votes
0answers
20 views

Why are most Dapps created as a WebApp rather than native apps?

I am newbie in the Ethereum Dapp Development. I am researching on different options to dev a Dapp and noticed most Dapps are developed in WebApp. Why? Thanks!
0
votes
0answers
23 views

Header broke chain ancestry , Synchronisation failed, dropping peer [on hold]

Why i get these errors and what does these mean? Header broke chain ancestry , Synchronisation failed, dropping peer
1
vote
0answers
29 views

Solidity: TypeError: Member “unbond” not unique after argument-dependent lookup in contract super EthGatedMarket

I'm getting this error: TypeError: Member "unbond" not unique after argument-dependent lookup in contract super EthGatedMarket. super.unbond(msg.sender, gatewaySpecifier, quantity); ^----------...
0
votes
0answers
28 views

Web3py AttributeError: 'HTTPProvider' object has no attribute 'manager'

I am trying to use web3 in a Django based web application in a task which is run using celery and kafka. However while trying to use web3.eth module, I am getting the following error : /...
2
votes
1answer
30 views

How is the Ethereum Classic gas limit enforced?

According the the Ethereum Classic Technical Reference: For security reasons, the amount of gas that can be purchased and used by blocks is limited. How is it limited? Do miners choose to limit it,...
0
votes
1answer
212 views

Web3: web3.utils is undefined

I am kinda new to Ethereum and Web3 so I am trying to implement the Ethereum: Building Blockchain Decentralized Apps (DApps) tutorial. I have already installed web3 and web3-utils. npm view web3 ...
1
vote
0answers
19 views

Alternative to decentralize exchange on Ethereum?

Because of the block time lag, The decentralize exchanges built on Ethereum suffers from a Front running problem. Gnosis works on Dutch exchange concept where orders are executed in Bulk eliminating ...
0
votes
0answers
30 views

How to calculate the value of mixhash in block header?

As of my knowledge how POW works is When mining the miner will have the hash1 which is block hash and he need to fine the hash2 which is hash of nonce (a random number). So that the root hash of ...
0
votes
1answer
22 views

Deleting a value from address to address mapping in solidity?

mapping(address => address) public userpatient; I want to delete a the key value pair from above map,when the patient is discharged.How can i do it.I saw similar question here but it mentioned '...
0
votes
0answers
43 views

How to read data from external files in Quorum Blockchain?

I have a use case where we have implemented Quorum Blockchain using AWS. The smart contract was written in Solidity. Initially we randomized the valued by coding in Smart Contract however we now want ...
0
votes
0answers
24 views

How to search all blocks in ethereum blockchain of a particular public key?

How to search all blocks in ethereum blockchain of a particular public key? And explore all data inside them.
0
votes
1answer
468 views

About Abi Encoder V2

I came across the following code and found the term "pragma experimental ABIEncoderV2". Can anybody be specific in telling what this actually means? //pragma solidity ^0.5.2; pragma experimental ...
1
vote
1answer
192 views

How do I verify and query my transaction? (Web3.py + Infura + Remix)

I've used buildTransaction() (which works at Contract.transact()) and I can see my transaction has taken place. (https://ropsten.etherscan.io/tx/...
1
vote
1answer
235 views

Create account on Ethereum using Nethereum C#

I have studied the documents for creating a new account using Nethereum.. var ecKey = Nethereum.Signer.EthECKey.GenerateKey(); var privateKey = ecKey.GetPrivateKeyAsBytes().ToHex(); var account = new ...
0
votes
2answers
55 views

How can I (efficiently) programatically see if I am on an ETH or ETC chain?

if i have 2 nodes, one ETH and one ETC, and I am writing a program to use these nodes, how can i determine which node I am using at any given time? the best i can come up with is to check a known ...
1
vote
1answer
27 views

What is the best (cheapest) method to store RGB/RGBA pixel data in a smart contract (on ethereum-classic blockchain) with python?

I would to implement a method to store pixel (RGB/RGBA) in a Smart contract (on ethereum-classic blockchain) from python and with the cheapest method ( when storing and updating pixel data) I try to ...
0
votes
1answer
180 views

Is there a host node for ETC similar to infura?

I want to connect to a node test using web3's HTTPProvider, and I don't want to spend time deploying a node.
0
votes
1answer
144 views

Converting int to default block parameter

I am using Infura and web3j to query the Ethereum blockchain. My aim is to get information about certain blocks so i'm using the function web3.eth.getBlockByNumber, however it gives me incompatible ...
0
votes
1answer
257 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 ...
0
votes
1answer
227 views

How to install a Ethereum Classic Geth Client?

I was trying to install Go-Ethereum Classic in Ubuntu(VM) using the following guide https://github.com/ethereumproject/go-ethereum I followed the steps as per the guide and all went fine till $ ...
1
vote
1answer
61 views

Are OPCODEs for ETH and ETC different?

I deployed an exactly same contract to both ETH and ETC. And I could see the contract doesn't work correctly only on ETC. contract ContractA { ContractB public BB; // Common constructor (...
1
vote
1answer
67 views

Get the amount of Smart Contracts hosted on the ETC blockchain

I have a couple of questions: How can I determine the amount of Smart Contracts that are hosted on the ETC blockchain? Of these smart contracts, how many of them have been verified? I guess geth is ...
1
vote
0answers
24 views

Is it possible to deploy Dapp on Ethereum classic network and be listed in mist?

So as a small bisness entety can not pay 100k USD for app deployment, one wonders on is it possible to deploy Dapp not in the test net but in a more real ETC one?
0
votes
2answers
51 views

ETC Stuck in ETH standard wallet contract

I used to use the standard wallet contract in Mist to store ETH and as a result have some ETC still stored in the wallet contract address according to the ETC block explorer. I am trying to figure out ...
6
votes
3answers
1k 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
1answer
140 views

Best practice in 2018 to claim Ethereum presale purchase [duplicate]

I have the presale wallet and password, but went through a number of trials and just now trying to get back on my feet. I have yet to claim my presale and could really use it to help with medical ...
0
votes
1answer
112 views

Why stateRoot, transactionsRoot and receiptsRoot not included in the blockheader of any etherscan ?

My question may be stupid. I'm trying to understand how ethereum is made and in all articles I read that a block header include a list of things and the stateRoot, the transactionsRoot and the ...
0
votes
0answers
32 views

Deploying dapp on ETH & ETC problem

I thought it would be cool to have my ETH dapp also on ETC blockchain. It runs on ETH blockchain with no problem so I took a bytecode a let it deploy on ETC through mycrypto.com. However when I ...
1
vote
1answer
51 views

Ethereum node stops automatically

I have deployed an Ethereum node on my VPS server. I am starting node sync using: geth --syncmode light console --rpc --rpcport 8545 --rpccorsdomain "*" --rpcaddr 0.0.0.0 --rpcapi db,eth,net,web3,...
2
votes
1answer
512 views

How to use timer in escrow

I have an escrow contract where party A is sending some token to party B and right now held in escrow. I want to use the timer function in smart contract so that the token will be held for a certain ...
1
vote
1answer
204 views

EIP20.Sol does not compile. On remix.ethereum.org, I am trying to deploy a test token

I followed the instructions and got an error: Parse Error Expected Token ; got 'LParen' emit Transfer(msg.sender, _to_value); How do I fix this? Code: function transfer(address _to, uint256 ...
0
votes
1answer
20 views

exchange Eth to Fund(real cash), then..?

I'm just learning Ethereum, and I have two questions. Is the total number of ethers capped in the main Network? I mean, there are 10,000,000 ethers, for example, in the network, and all currencies ...
0
votes
1answer
279 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->...
1
vote
1answer
650 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 ...
0
votes
2answers
477 views

Ethereum & ERC20 Tokens Integration in exchange

I'm a part on an exchange development and we want to integrate Ethereum, Ethereum Classic and all ERC20 tokens in that exchange. Which wallet will be compatible for these requirements, Is there any ...
0
votes
1answer
1k views

create ether wallet using nodejs

I have implemented the code which is creating new wallet but I am not able to get the private key of that wallet. Can anyone tell me like what is the proper way in which I can create new wallet which ...
0
votes
2answers
247 views

how to call deployed smartcontract with sendRawTransaction [duplicate]

with this code i want to call my token smartcontract's transfer function. as per my knowledge i have to add this ".transfer(address,amount)" to data field. am i correct? also i am using web3 0.20. in ...
1
vote
0answers
85 views

how to decrypt aes 128 keystore offline with password [duplicate]

i want to create dapp like cold wallet on which i can access my sign transaction with private key but in order to get private key for each time i need offline code or script to decrypt my keystore ...
0
votes
1answer
96 views

Ethereum-PHP How to receive outbound parameters from smart contract function

In contract sol file I have function definition: function product(uint32 _prdId) public view returns (uint32 prdId, string prdName, address prd, uint closeTime, uint promoTime,uint8 bonus, ...
0
votes
1answer
168 views

Changing end date to smart contract?

Newbie question. Can someone walk me through the steps I have to take to extend the date to my smart contract from May 2, 2018 to August 2, 2018? Like to try without asking my programmers for help....
1
vote
1answer
371 views

Ethereum-PHP Calling contract function with parameter

I'm not the author of Ethereum part but have to connect to using php. Choosen Ethereum-PHP package (https://github.com/digitaldonkey/ethereum-php). Have connection to ethereum and smart contract but ...
2
votes
1answer
382 views

Calling function in one contract from another contract in private blockchain by Geth

I have problem with smart contract development using Remix solidity in private blockchain by Geth. I have two smart contracts such as Factory contract and Contract contract. I create the Factory ...
0
votes
2answers
283 views

how to send tokens back from escrow smartcontract to wallet

i am trying to send tokens out from escrow smartcontract to seller's address and for tokens i am using different ERC2O standard smart contract. so i can send like buyer can send from ERC20 ...
1
vote
1answer
139 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
2answers
667 views

how to deploy escrow smartcontract and use it with exciting erc20 tokens

i want to build escrow smart contract with one particular ERC20 standard token. i want to hold token in escrow as a guarantee for transaction. and on some condition those tokens should go back to ...
0
votes
1answer
216 views

what is meant by minted crowdsales?

I am new to ethereum smart contracts, I was going through minted crowdsale code for learning but couldn't figured out its use case or what is its purpose, precisely what does it mean? Any answer ...
0
votes
1answer
108 views

Transfer erc20 tokens from a wallet to a new contract's total supply

I have an ERC20 token deployed on mainnet and I would like to transfer tokens from my wallet to a new contract and use it as the total supply of the new contract. Any help would be highly appreciated.
0
votes
1answer
41 views

Is there a performance penalty towards creating the maximum number of tokens with ERC-20 etc?

I saw this link: Max possible ERC20 Tokens allowed with 18 decimals? Is there a performance penalty for creating so many tokens? Obviously the number of storage capacity needed for mining will be ...
4
votes
1answer
241 views

Using Ethereum Classic with web3.py

I successfully integrated Ethereum (ETH) in my product. Now, I want to integrate Ethereum Classic(ETC) in my product. I am using web3.py for ETH. Are there any documentations or libraries for ETC? How ...
0
votes
1answer
230 views

how to import UTC-JSON file through web3-eth methods

hey I am working on ethereum wallet. in this i want to import my account through UTC json file, but i didn't find any solution for this in web3-eth command someone can please help to find out the ...