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
1 answer
136 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 '...
Hrishabh's user avatar
10 votes
2 answers
10k 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 ...
Sourav Kumar's user avatar
1 vote
1 answer
657 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/...
Siddharth Malhotra's user avatar
1 vote
1 answer
2k 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 ...
CR41G14's user avatar
  • 139
0 votes
2 answers
95 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 ...
i_am_not_ethereum's user avatar
1 vote
2 answers
157 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 ...
A. STEFANI's user avatar
1 vote
1 answer
476 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.
user10206110's user avatar
0 votes
1 answer
577 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 ...
mzaidi's user avatar
  • 982
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 ...
mzaidi's user avatar
  • 982
0 votes
1 answer
694 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 $ ...
Akshay Dev's user avatar
1 vote
1 answer
99 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 (...
santony's user avatar
  • 135
1 vote
1 answer
101 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 ...
Elías De La Rosa's user avatar
1 vote
0 answers
33 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?
Blender's user avatar
  • 73
0 votes
2 answers
112 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 ...
Oax2389's user avatar
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 = ...
kaushik_pm's user avatar
1 vote
1 answer
335 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 ...
D M's user avatar
  • 11
0 votes
1 answer
743 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 ...
fbertoia's user avatar
1 vote
1 answer
106 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,...
Hardik Dhankecha's user avatar
2 votes
1 answer
3k 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 ...
ash's user avatar
  • 55
1 vote
1 answer
471 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 ...
Zach Jonesmay's user avatar
0 votes
1 answer
31 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 ...
Unha Back's user avatar
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->...
user avatar
2 votes
1 answer
952 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 ...
Uri Maimon - Nominal's user avatar
0 votes
2 answers
724 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 ...
Zeshan Virk's user avatar
1 vote
2 answers
4k 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 ...
lakshay bakshi's user avatar
0 votes
2 answers
1k 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 ...
Akshay Pilankar's user avatar
1 vote
0 answers
152 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 ...
Akshay Pilankar's user avatar
0 votes
1 answer
423 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, ...
Tom B's user avatar
  • 35
0 votes
1 answer
582 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....
RadioYo's user avatar
3 votes
1 answer
3k 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 ...
Tom B's user avatar
  • 35
3 votes
1 answer
705 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 ...
yoyo's user avatar
  • 33
0 votes
2 answers
607 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 ...
Akshay Pilankar's user avatar
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 ...
Utkarash Singh's user avatar
0 votes
2 answers
1k 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 ...
sabastian andrew's user avatar
0 votes
1 answer
270 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 ...
Fariha Abbasi's user avatar
1 vote
1 answer
312 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.
Jai Balani's user avatar
0 votes
1 answer
80 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 ...
okit247's user avatar
4 votes
1 answer
455 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 ...
merklexy's user avatar
  • 185
0 votes
1 answer
496 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 ...
Shruti Tyagi's user avatar
-1 votes
1 answer
75 views

I am requested to provide ethereneum adress. How do i go about to create this? [closed]

Please help me to create an ethereneum address and kindly give examples of addresses for ethereneum.
Mologadi's user avatar
1 vote
0 answers
73 views

Lower level implementation of solidity call

How is call() implemented at lower level in Ethereum Solidity compiler? Most of the places it is written that it is used to send message to contracts. But I need to know syntax and semantics of call() ...
Utkarash Singh's user avatar
2 votes
3 answers
985 views

eth syncing of ethereum classic node in background

I run ethereum classic node on an amazon ec2 instance. It seems to be running ./geth --fast ./geth --exec "eth.syncing" attach { currentBlock: 735772, highestBlock: 5565504, knownStates: ...
SMJ's user avatar
  • 167
1 vote
1 answer
1k views

Fatal: Error starting protocol stack: missing block number for head header hash

I didn't check on the running Geth instance and when I executed a function that logs everything in the Blockchain, I had an error that the port I was listening to wasn't responding. I figured out that ...
Jessie James Suarez's user avatar
0 votes
1 answer
107 views

Feedback the cheat and fraud of etc eth on twitter. How can i recover my loss?

Eth and etc arg two great projects. As i can't find the etc email, hope you can kindly cc to etc too, thanks. A few days ago on Twitter to search for the etheric classic, found an account, and read ...
sinoory sin's user avatar
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
Shaun Ferns's user avatar
1 vote
1 answer
361 views

Is it ok to install ethereum and ethereum classic geth together on a server

I already have geth of ethereum running on my amazon linux server. Can I install ethereum classic geth on the same server.? Will it cause problem like transfering from ETH to ETC address accidentally ?...
SMJ's user avatar
  • 167
0 votes
1 answer
43 views

Does ETC have wallet which can use multi-signature wallet contract like Ethereum Wallet For ETH

Does ETC have wallet which can use multi signature wallet contract like Ethereum Wallet For ETH?
XLeo's user avatar
  • 71
0 votes
1 answer
159 views

how a transaction is confirmed after all block are mined (newbie)

I'm completely a newbie in crypto currency. There is a question stuck in my head: Fact: - when an amount is sent from me to someone then a transaction is created and broadcasted on network. - this ...
frank phan's user avatar
1 vote
2 answers
252 views

Why is there a discrepancy between etherhub.io and gastracker.io?

I traded for Ether Classic (ETC) using ShapeShift and my Coinomi Wallet. The amount I received shows in both my Coinomi Wallet and on gastracker.io, but etherhub.io, etherscan.io, and ethplorer.io ...
Bill Adams's user avatar
3 votes
2 answers
766 views

Solidity: UnimplementedFeatureError: Only in-memory reference type can be stored

I am getting the follow error with the contract below when I compile in remix and javascript. Also how do I fix it. UnimplementedFeatureError: Only in-memory reference type can be stored. pragma ...
Stuart's user avatar
  • 31