Questions tagged [tokens]

A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.

Filter by
Sorted by
Tagged with
2
votes
1answer
23 views

Which Wallets Support Login With MetaMask Concept?

I'm building an exchange service where I have all users deposit ETH and ECR20 tokens to a single Ethereum address (In order to avoid complications of having to consolidate funds & paying extra gas ...
0
votes
0answers
13 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 ...
0
votes
0answers
16 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 ...
0
votes
1answer
16 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 ...
0
votes
2answers
13 views

Implementing ERC-1155 contract on the fly

I want to implement an ERC-1155 token to represent ownership of videos. Creating such a contract is relatively easy: import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; contract ...
0
votes
0answers
10 views

How to use path (address[]) correctly when interacting with the Uniswap V2 Router

I'm trying to use Uniswap V2: Router 2 https://etherscan.io/address/0x7a250d5630b4cf539739df2c5dacb4c659f2488d#writeContract As a test example I am looking to swap 10 RFI (contract address: ...
1
vote
2answers
374 views

How are tokens related to dapps?

I have seen almost all the DApps have some kind of tokens, ICO associated with it. Anyone kind enough to explain what is the relationship between a DApp and Tokens?
0
votes
0answers
15 views

Sending Ethereum to the contract owner on purchase

I have a smart contract that allows one to purchase a set number of NFTs for 0.2 ether each. I have set the owner of the smart contract to the one who deploys it and whenever someone purchases an item ...
0
votes
1answer
357 views

How to download the whole transfer records of a token

I want download the whole transfer records of a token. https://etherscan.io/token/0xB8c77482e45F1F44dE1745F52C74426C631bDD52?a=0xd551234ae421e3bcba99a0da6d736074f22192ff. But the default setting is ...
0
votes
1answer
212 views

COB token transfer failed with error: “Bad Instruction”; will I get my tokens back?

I transferred 10 COB tokens from my one address 0x782e265f911167e4FDbfbFb63a32cC27341724E7 on my Metamask wallet to another Metamask wallet address 0x0a42AD94FC81db989575365Be28DCd64417Ce564 but the ...
0
votes
1answer
190 views

Warning! Error encountered during contract execution [execution reverted]

I have an ERC20 Mintable+Burnable Token created on solidity 6.11 and a sale contract on solidity 5.0 I am getting error when i send ETH to the sale contract. https://rinkeby.etherscan.io/tx/...
0
votes
2answers
295 views

Questions Regarding Creating New ERC20 Token & ICO

Hi I want to create an ERC20 token and launch an ICO. I am new to ethereum solidity. I have checked smart contracts on http://ethereum.org and https://theethereum.wiki/w/index.php/...
0
votes
1answer
203 views

How to estimate gasLimit of ERC20 contracts in web3.php project?

I am using web3.php project in my Ethereum based project. A part of this project is sending ERC20 tokens, and in this regard, I need to estimate gas limit of transaction. For this purpose, I found the ...
1
vote
1answer
129 views

transferFrom error. Exception thrown in smart contract transaction

I compiled smart contract in solidity on remix.ethereum.org. I made account via MetaMask and want to let other addresses send tokens to themselves using ropsten network. I mean - I am contract owner = ...
0
votes
0answers
7 views

What is the emission rate in the context of STAKE and what is the source of emission

From this document: https://www.xdaichain.com/for-stakers/stake-token I read: STAKE is a new ERC20-type (implemented as an ERC677) token designed to secure the on-chain payment layer and provide a ...
1
vote
1answer
241 views

Ethereum crowdsale example - Stuck tokens (how to save)

I deployed a crowdsale contract using the source from ethereum.org and loaded it with some tokens. It works as expected, except that it has no code to return the unsold tokens to the beneficiary. Is ...
1
vote
2answers
617 views

function () public payable modifier can trigger actions when sending tokens or only works when sending ether?

Modifier payable triggers an action when an address sends ether to a contract. For example: function () public payable { require(msg.data.length == 0); DoSomething(); } Is this ...
2
votes
0answers
25 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 ...
0
votes
0answers
76 views

trying to transfer HEX token from my mobile(android) metamask wallet to my laptop(chrome) metamask wallet

Didn't comprehend what a headache MetaMask (android) was going to be. Long story short, gave up trying to stake HEX tokens from my mobile device. I went to my laptop and discovered the android/chrome ...
1
vote
1answer
252 views

Invalid type for argument in function call

I have this token code pragma solidity ^0.4.19; contract MyToken { mapping (address => uint256) public balanceOf; function MyToken(uint256 _supply) public { balanceOf[msg.sender] = ...
0
votes
1answer
26 views

I have WETH in my ETH wallet but I can't send it

As you see, I have 1.7 WETH. When I try to withdraw, it shows me this
0
votes
0answers
23 views

Always same INSUFFICIENT_OUTPUT_AMOUNT error

I've been trying to swap some DAI which I sent to the contract to WETH. However even after trying to change the contract a bit I always get the same error output: transact to GibIhmHart.runUniswap ...
2
votes
1answer
606 views

How to add website link to erc20 token on etherscan.io

How can we add this official site link to our deployed contract? Like in the image below: Here is my deployed contract address: https://etherscan.io/address/0xab73a739729a21b2299761408507556d2719af89#...
0
votes
1answer
284 views

How can users call the functions of an ERC20 token that was created by another contract (within a crowdsale contract)?

Using Ethereum wallet if I create a token and deploy it I can then interact with it and use the functions of that token (e.g. transfering tokens). However, if I deploy a crowdsale contract and that ...
1
vote
1answer
223 views

ERC token multiple address sending

Hi is it possible to send token XYZQ to two addresses in one transaction. here is example. 100 XYZQ ===> 99.9999 to XYZQ 1 address and 0.0001 XYZQ to second XYZQ address? For same amount of gas
0
votes
1answer
58 views

error deploying token to ropsten using remix

I am trying to deploy my token on Ropsten Network using REMIX IDE, but keep getting this error "contract may be abstract, not implement an abstract parent's methods completely or not invoke an ...
2
votes
2answers
419 views

ValueError: {'code': -32000, 'message': 'invalid sender'} when calling transferFrom using web3.py

I want to make a function that allows you to send tokens from one owner to another. nonce = w3.eth.getTransactionCount(from_['address']) unsigned_transaction = contract.functions....
1
vote
2answers
579 views

How to peg value to token outside ethereum

I have an online game system. I issue some tokens through ethereum. How can I peg value of the tokens issued on ethereum to my game system, which is outside the ethereum eco system. (ie) The users ...
0
votes
1answer
17 views

Transaction reverted by EVM when using transfer from method

I'm using a method in which transferfrom method of an ERC20 token is called. In test enn I use my own ERC20 token and ganache and everything works fine. but in Rinkeby testnet when I use interface of ...
1
vote
1answer
965 views

How does Uniswap calculate price impact without fee on the swap page?

Context: We are creating a smart contract which integrates Uniswap DEX for swapping Tokens to ETH. We need to make sure one swap does not impact the token price more than 3%. We are in need to write a ...
0
votes
0answers
12 views

i need some help transfering funds back into my account from a smart contract i accidentally sent funds to

i was using uniswap and i thought i was easily transfering one token into another and somehow i put myself into a smart contract and cant get my funds back.... yesterday i had figured out with the ...
6
votes
3answers
1k views

How to infer token price from ethereum blockchain UniSwap data?

I would like (if possible) to infer a token price from the blockchain using UniSwap data. After reading the following article, I understood that it is feasible: https://blocklytics.org/blog/uniswap-...
0
votes
0answers
17 views

Transfer token failed due to Gas estimation failed

Have issue transfer token, hope to get support from this. my contract https://rinkeby.etherscan.io/address/0x6D96673922d54108e8eFaFDe191Dc473dCeE709B pragma solidity ^0.5.0; import "github.com/...
0
votes
3answers
606 views

Transfer ERC20 Token feeless

Is there an existing Smart Contract implementation, which can public signed transactions of ERC20 Token transfers? I like to give the users of a ERC20 token the ability to pay the transaction fees in ...
0
votes
1answer
26 views

Dumping erc20 token transactions via rpc?

I'd like to do dump all transactions of an erc20-token via the json-rpc interface. I've got a full node running but I'm lost, since the ethereum blockchain is harder to navigate than bitcoin for some ...
0
votes
2answers
25 views

Can i sell my testnet tokens

I have some testnet tokens Eth,btc,litecoin,I need to know how can I sell this can we swap this to mainnet any site to do this
0
votes
1answer
9 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 ...
0
votes
1answer
75 views

For loop for transferFrom

transferFrom method from ERC20 contract interface: function transferFrom(address _from, address _to, uint _value) public; transferFrom function from my contract : function transferFrom(address ...
0
votes
1answer
872 views

ERC20 Token Mist 0.9.0 . Balance not showing up

I am running Ethereum Wallet and Mist 0.9.0 (released this on 24 Jul ). ERC 20 token balance is not showing up even if Watch contact is in place. On the other hand, I can properly see ERC 20 token ...
0
votes
2answers
61 views

I sent Chainlink Link tokens to my ethereum address, how can I recover? [closed]

By mistake I sent Link tokens to my ethereum wallet (kraken) that can not receive them, can I recover those tokens? How? I think I had to swap them before sending, but I am new, and I think I made ...
2
votes
2answers
564 views

Consolidate Batch of ETH Wallets w/ERC20 Tokens?

I have a large number of Ethereum wallets with small amounts of ERC-20 tokens in each. How can I send all of these tokens to a single ethereum wallet without doing this process manually? (it would ...
1
vote
1answer
10 views

MakerDAO MKR Withdrawal. Continuous Approval Voting

When I want to vote on some proposals, I need to lock some MKR tokens. Does it mean that I withdraw my MKR tokens, then the result of voting may change even after it has finished? Does Continuous ...
0
votes
0answers
21 views

Solidity contract: How to deal with return parameters in solidity

i am having an issue with an function I would like to call. Following case: The function looks like this: Params Type token0 IERC20 token1 IERC20 amount uint256 parts uint256 flags uint256 and ...
0
votes
1answer
28 views

Should I make separate ERC20 wallets for each token?

When I create an Ethereum wallet on my hardware wallet (Ledger Nano), or a web wallet (Metamask), is it possible to mix UNI token and ETH together in that same single wallet address? Or must a ...
0
votes
0answers
23 views

Running Ethereum Exchange (including ERC 20)

Would it make sense to run the app server and an Ethereum node on the same machine considering how closely they interact? Or should they be on separate machines to not affect each other? What is the ...
1
vote
2answers
923 views

MyAdvancedToken Automating Selling and Buying function not working

I attempt to create a token with the "automatic and selling" function as describe here. After having copy/paste the code (footpage)and deployed the contract no error message appears. But when I ...
0
votes
0answers
11 views

“Revert: VM Exception while processing transaction” while trying to swap with 1Inch

since a while I am trying to program a swap contract for 1Inch. The problem is that I always get a Revert message when trying to call the function. I made sure that the contract has enough funds from ...
0
votes
0answers
158 views

How to Distribute token to multiple address [duplicate]

I'm writing a smart contract to distribute the created tokens to multiple address. Looking around on the web I may found what I was looking for but I don't know how to insert the addresses in the ...
4
votes
6answers
3k views

Doing a bulk transaction with my ERC20 token (How to do it)

I was wondering if someone has more information on how to do a bulk transaction on the Ethereum network for ERC20 tokens. Let's say I need to send 1 ethereum to 10 users or 10 ERC20 Tokens for that ...
2
votes
1answer
248 views

Token Factory total supply is missing

So I created a token using Token Factory. I hadn't used it before and wanted to test things out, so I did this on the Ropsten Test Net. I was able to successfully publish the contract, which shows ...

1
2 3 4 5
32