Questions tagged [ethereumclassic]
5 questions
2
votes
1 answer
Can we get Smart Contract address by Token Name
I want to get smart contract information by token name as Etherscan does but with my private network.
According to web3 doc, If I need to get any information related to Smart Contract, I first need to have a smart contract address and ABI. But when…

Trimantra Software Solution
- 3,223
- 2
- 25
- 44
2
votes
1 answer
Vyper: compatible to write/deploy Ethereum classic smart-contract with python?
Since Python Serpent Compiler is considered outdated and not secure by Vitalik (also confirmed by this audit and here), it is more recommended to write/deploy Ethereum smart-contract from python with Vyper compiler.
It is sure that Vyper works on…

A. STEFANI
- 6,707
- 1
- 23
- 48
1
vote
0 answers
Get Ethereum Classic (ETC) transaction via web3 js
For ETH, I get a transaction like this:
const trx = await this.web3.eth.getTransaction(transactionHash);
and everything ok. But now I want to get transaction by hash for ETC, and it doesn't work. It throws error:
Returned error:…

Mo J
- 93
- 7
0
votes
2 answers
Pay a user's gas: Ethereum
I need some assistance. I am working on a smart contract that will allow a user to save a string (mapping(address=>string)). The only problem, I would like the contract to pay for the gas for the user to save the string. Any idea on how to
0
votes
0 answers
How to get the address of the code being executed from CALLCODE?
I want to write a library which can be callcalled by any contract.
As part of this, I want to write a function which returns the contract address of the library to the contract which callcalled it.
address(this) is normally the solution, but in the…

user2284570
- 2,891
- 3
- 26
- 74