All Questions
228 questions
1
vote
2
answers
1k
views
Get All Contracts from Blockchain
I am developing a large database of exploitable contract addresses and creating a website to host such a database for users to use to see if contracts are safe.
Is there a way to get all contract ...
1
vote
1
answer
2k
views
Create a faucet for Ethereum Private network to get Ethers
I have came up with a private ethereum network. I was able to do the transactions and contract deployments.
The funds for all the nodes were specified in genesis.
But I need to get a way to send any ...
1
vote
2
answers
1k
views
What is the full block reward? [duplicate]
The Ethereum launch process states that with the release of Homestead, the Ether mining will be at 100% rather than 10% of the usual reward rate.
Does that mean the full block reward would be 50 ...
1
vote
3
answers
3k
views
How to dynamically load contracts data with their ABI from etherscan API?
Im wanting to pull data from a smart contract I've loaded via user address and etherscan API for the ABI.
But how would I go about programmatically adding all the functions from the ABI into my ...
1
vote
1
answer
1k
views
Where else can I get Rinkeby Ether apart from faucet.rinkeby.io/
I have been trying to get rinkeby ether from faucet.rinkeby.io/ but couldn't. Any alternative?
1
vote
1
answer
134
views
Pros & Cons of Using the "wei" Method to Track User Deposits in Ethereum
With Ethereum it's notoriously difficult to accept deposits from many users due high operational costs for making new ETH addresses. On the other hand, if all users of a service send ETH to one ...
1
vote
2
answers
102
views
Is it possible to fork ethereum so that only specified account(s) can deploy new contract?
Blockchains supporting smart contract are sometimes compared with smartphones in the sense that it is an infrastructure opened to host an indefinite number of Apps, any participant can create and ...
1
vote
1
answer
352
views
How to invoke multiple oracaliszed queries from a single contract
I want to invoke 2 different orcalized queries from the same contract. I saw a few posts but none of the answer works. Is there any way we can do that? Here is my contract. I was expecting this ...
1
vote
1
answer
177
views
How to calculate exchange fee in ETH in transaction?
Let's say I have the following decoded transaction input data:
[
"0x0000000000000000000000000000000000000000",
"690000000000000000",
"0xac709fcb44a43c35f0da4e3163b117a17f3770f5",
"...
1
vote
1
answer
2k
views
swap token for usdt, create function send 1 usdt and receive 1 token
I need to create a smart contract where each token of mine will be exchanged for 1 usdt, that is, a person sends 1 usdt to the function and he adds 1 token to his balance sheet.
How can I do it? with ...
0
votes
1
answer
83
views
Is it possible send from multiaddress using single transaction without contract?
Is it possible send from multiaddress using single transaction without Smart contract?
I have read somewhere, using https://wiki.parity.io/JSONRPC-eth-module#eth_signtransaction (signTransaction) you ...
0
votes
1
answer
91
views
I am trying to add ether to one of my ethereum account using smart contract
function Execution (address _from, address _to) {
_from.transfer(price);
_to.getBalance(_to) += price;
}
1) I think it is duplicate but i gone through but nothing helped
2) I ...
0
votes
1
answer
2k
views
Web3 sendSignedTransaction Transaction cost
I'm new to Ethereum world. I've just manage to create an example that calculates transaction fee and sends a signed transaction without a contract using Web3js library.
My issue is that my test ...
0
votes
2
answers
800
views
How can I send tokens to large number of addresses?
I have to send 221,000 tokens (ERC20) to 6477 different addresses. Airdrop guy used some automatic sending app and that tells 1.94 ETH is needed as approx cost of operation to send all this.
Is there ...
0
votes
1
answer
1k
views
eth.getBalance(eth.accounts[0]) Shows me 0 balance though my syncing is still Running [duplicate]
I am using geth on windows with 1.9.10 version.
I used geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" command for launch my geth.
I am on the Rinkeby testnet, i already transfer 3 ...
0
votes
1
answer
238
views
1Inch with flashloan provider
Is there a way to trade on 1Inch using the API and flash-loaned balance. If it is possible please give me some info. I was seeing the DOC to find how to integrate the flash-loan provider with 1Inch ...
0
votes
3
answers
734
views
REWARD!! PLEASE CAN SOMEBODY HELP ME ETH STUCK - I am a newbie trying to create a trading bot. and came across a tutorial, my 1.1eth stuck Metamask! [duplicate]
SORRY ABOUT THE GRAMMAR AND SPELLING I HAVENT SLEPT FOR ALLMOST 2 days BECAUSE OF THIS..
Here is a bit of a back story on why I have become a little desperate lately to find ways to make crypto faster ...
0
votes
1
answer
64
views
Is the following scenario doable by a smart contract?
I have 2 persons ( say A or B). They want to have the following agreement. Person ‘A’ specify a deposit (x coins ) for user ‘B’ under a certain condition with a future time lock ‘t’. If user ‘B’ ...
0
votes
2
answers
1k
views
How to send ETH to address(0) from msg.sender address using multiple token's contracts, with Solidity 5.x?
I need the safest way for an user to send any amount of Ethereum to address(0). The amount is calculated by the contract, and there is no limit (assuming there is enough funds).
All the code I could ...
0
votes
3
answers
1k
views
How can I get the current ETH gas fees in python
I am trying to make a python program that gets the ETH gas prices. I am trying to avoid selenium scraping because I am using this for a discord bot. Does anyone know any good python APIs I can use?
0
votes
1
answer
171
views
Get error when I want to withdraw ethers from my contract
I have a contract in which, I want to withdraw my ethers using a function.
It works fine in remix, but in web3 It does not work and throws VM Exception while processing transaction: invalid opcode&...
0
votes
1
answer
229
views
What exactly is Ether currency in Ethereum? [duplicate]
What is exactly Ether currency in Ethereum?
Is it a token or a set of some functions that generate some tokens? If so, how many of those functions exist and what do they do? Are they hardcoded in the ...
0
votes
0
answers
373
views
Using jsonrpc to get eth data but the result is null
I use this command to get data from eth network, but get null return
The command is
curl -X POST --data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":83}' localhost:8545 -H '...
0
votes
1
answer
410
views
Conversion from Wei to Ether gives different results
I'm trying to analyze the transaction of this contract, but sometimes when I try to convert from wei to ether value of tokens I got comma in different position than expected. This is how I proceed:
1)...
0
votes
1
answer
1k
views
How to create a Payable function that only accepts a customer token?
I've got a question that I cannot seem to find an answer for, hoping the community can help (and this is my first post here so my apologies if this is the wrong question to ask in the first place).
I ...
0
votes
1
answer
323
views
Why do exchanges maintain their own wallet?
On a crypto exchange, I transferred 1 ether from my account with let's say wallet A to my friend's wallet B. When I searched for my friend's wallet B on etherscan.io to see the transaction, the sender ...
0
votes
1
answer
107
views
Single transaction to transfer everything?
Is it possible (with MyEtherWallet or otherwise) to create a single transaction that moves all ether and tokens from one account to another in the interest of saving as much gas as possible?
0
votes
1
answer
32
views
Does ownership of a large quantity of ETH set you up for the impending smart contract economy better than the have-nots? [closed]
We can agree that ETH is not held by people to purchase goods in the same way that Bitcoin does in practice by today's standards,
so instead, can the utility of hording ETH be explained away with the ...