Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
203 views

Why creating ERC20 tokens instead of using ETH?

I have made an online web app which executes a process only if a transaction on the Ethereum blockchain is made. As I was developing my initial thought was to create an ERC20 token so that whoever has ...
Federico Gentile's user avatar
0 votes
1 answer
70 views

Is it possible to write a smart contract that distributes the ETH from a NFT sale to several users whose share depends on the token amount they hold?

I'm new to solidity but I'm determined to learn. My question is, would it be possible to issue a custom token with a maximum supply of 100, which would act as shares? And then for the smart contract ...
SolidityDev285's user avatar
0 votes
1 answer
278 views

Reduce gas costs with longer block confirmation times (like in Bitcoin)

In Bitcoin, fees tend to decrease as you target longer block confirmation times. For example, a standard transaction with 1 input and 2 outputs has a fee of approx. $3.06 for confirmation within 6 ...
S.O.S's user avatar
  • 191
0 votes
0 answers
126 views

Is minting gas through gastoken.io still efficient to reduce Ethereum gas costs?

A SE user suggested using https://gastoken.io to mint gas when fees are low in order to save on gas when fees are high. However, I'm wondering if there's any benefit of doing this today. According to ...
S.O.S's user avatar
  • 191
0 votes
1 answer
836 views

Can a transaction hash be used to identify the sender of a payment?

A user suggested using a transaction hash as a way to track user deposits (especially for ECR20 tokens): The major issue arises when you start accepting erc-20 tokens as payment, in that case when ...
S.O.S's user avatar
  • 191
2 votes
0 answers
1k views

Exchange deposits using smart contracts and externally owned accounts

While researching how different exchanges handle user deposits, I noticed a stark contrast between several prominent exchanges. Kraken: Exchanges like Kraken use newly generated deposit addresses (no ...
S.O.S's user avatar
  • 191
1 vote
2 answers
1k views

Send Multiple ECR20 Tokens from a Single ETH Address in One Transaction?

Is it possible to send multiple ECR20 tokens (i.e, USDT and USDC) from a single Ethereum address (EOA) to another address (EOA) in a single transaction (either with or without a smart contract)? If ...
S.O.S's user avatar
  • 191
2 votes
2 answers
521 views

Someone sent me ethers in multiple transactions and took away my matic tokens nd those ethers

Someone (address: 0xc18842D634A683e6Ea5392e3f9f23a6966C88371) sent me Ether in multiple transactions and took away my Matic tokens and those Ether were sent to another account(address: ...
aki abi's user avatar
  • 21
1 vote
0 answers
18 views

What happens to the missing coins in this transaction? Copy paste this code into remix to reproduce my original bug. Thank you

pragma solidity ^0.4.24; contract TheCaseOfTHeMissingCoins{ string public name; string public symbol; uint8 public decimals = 18; address public owner; mapping (address => ...
mdso's user avatar
  • 11
0 votes
1 answer
2k views

multiple transfer?

First of all, hello. we will write a token for a project we have developed. We are creating new tokens, we want to write a simple contract on remix ethereum. We will distribute a large portion of the ...
D.Ada's user avatar
  • 3
0 votes
2 answers
81 views

How can I send ether or erc20 tokens right after incoming ether transaction? [duplicate]

maybe also how to develop a small application with the wanted functionality..... I hope someone give me useful answer. Thanks
makkafada's user avatar
0 votes
1 answer
124 views

Transfer event for zero amount

Should I emit Transfer event, when zero amount of Ether or of a token is transferred? Variants of the answer: yes no both are OK
porton's user avatar
  • 1,854
0 votes
1 answer
60 views

How to send a token with Ether? (several variants)

I want to sell my token to users paying by Ether. Is it a good idea to require the user to pass his wallet (to receive) Ether as the EVM payload? Or is it needed to have my private key uploaded to ...
porton's user avatar
  • 1,854
2 votes
3 answers
764 views

understanding value on token transfer transaction

When a token transfer transaction has an ether price associated with it, is it fair to assume that that transaction used ether to buy the tokens? For example, this transacion triggered by account A ...
Diego's user avatar
  • 317
1 vote
2 answers
109 views

Can one smart contract purchase > ethereums total market cap?

Let's say I have a special diamond that's worth more than the total market cap of Ethereum. If I want to connect that diamond to the Ethereum blockchain (through a unique serial number) to verify its ...
armara's user avatar
  • 149
0 votes
1 answer
108 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?
The Quantum Physicist's user avatar
6 votes
4 answers
12k views

Getting notified after receiving tokens

Is there any way to get a notification(PN, Email etc.) when one receives ETH or tokens issued on ethereum?
anon's user avatar
  • 203