Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
1answer
21 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
12 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
30 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
16 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
186 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
103 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
113 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
50 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
23 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 ...
-1
votes
1answer
117 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
106 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
191 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
176 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
57 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
64 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
22 views

Is it possible to deploy Dapp on Etherium 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
48 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
107 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
0answers
28 views

How vote progressed on the DAO attack

Historical question,, How was voted when the DAO attacked and faced whether hard-folk should have done which Ethereum-classic finally born? wondered if it was made decision on on-chain or off-chain. ...
0
votes
1answer
87 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
30 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
49 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
366 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 ...
0
votes
0answers
69 views

List of JSONRPC Endpoints

I need a list of working Ethereum and Ethereum Classic JSON RPC endpoints. Is there one floating around? The only one I know of is https://web3.gastracker.io/
0
votes
0answers
48 views

how can i migrate my private blockchain

heyyy how can i migrate my private blockchain without disturbing my old blockchain logs from ethereum to quorum? i have a private blockchain and i want to migrate to quorum blockchain so how can i use ...
1
vote
1answer
176 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
0answers
14 views

What to choose to generate new crypto currency tokens? Either Mist or Ethereum wallet

I am planned to create a new crypto currency token via Mist Ethereum Wallet. In https://github.com/ethereum/mist/releases I found two links that are compatible to my system. One is Mist-win64-0-10-0....
-1
votes
0answers
27 views

contract function call fail in mainnet but, in testnet, contract function call success

First, I use remix-ide. I want to 'ETC contract function' call that send coins to multiple addresses. And, this code is below. I wanted to call 'send_to_N' function. And, I tested my ETC contract ...
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
240 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
579 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
438 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
819 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
0answers
30 views

installation of ethereum wallet and its block sunc

hello iam a computer since student : i want to ask about installation in ethereum installer , and wallet .the blocks will be sync in my pc after this it can work yes ! so once i get problem i dont ...
0
votes
2answers
189 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
68 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
94 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
158 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
303 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
355 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
0answers
31 views

Create Ethereum contract with data

Qq. I am trying to create a land contract that should load some 10K records of land information while the contract gets created. Any design pattern on how this can be effectively achieved?
0
votes
2answers
254 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
0answers
102 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
583 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
201 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
99 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
37 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 ...