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
0
votes
0answers
54 views

When an ERC-20 token is converted into its own mainnet coin/blockchain, why is it still called a “token”?

ETH, Cardano and Stellar Lumens are not referred to as tokens because they have their own blockchains. They are called coins. ERC-20 tokens are called tokens because they reside on the Ethereum ...
1
vote
1answer
266 views

Experiencing an “invalid signature error” when trying to use the “permit” feature of ERC20 tokens that support EIP712

I'm currently writing a few smart contracts in solidity and interacting with them through web3. The premise being that a token can be deposited into a pool and can then subsequently withdraw at a ...
0
votes
1answer
29 views

How to determine percent stake in a token?

I'm working on an experiment that distributes some number of tokenB to people who own tokenA. the distribution of tokenB is dependent on what percent of tokenA is owned. is it even possible to ...
0
votes
0answers
21 views

Build and interact with contract

I'm developing a new token and I'm curious how I can interact with the token after is build and deployed. For example: Token1 has 10M tokens of total supply, I want people to can get those tokens, how ...
2
votes
1answer
209 views

why aave total supply not equal to circulation supply?

I'm new to the blockchain world. I'm trying hard to understand how tokens are generated and I learned that the tokens are not minable, unlike bitcoin or eth coins. also learned that these tokens only ...
0
votes
0answers
82 views

List of Smart Contract Addresses for all recently created Tokens

Is there a way to Get a list of Smart Contract Addresses for all recently created ERC-20 Tokens? Recently means for the last 24 hours (for example) or for/in the last block. Thanks in advance!
0
votes
1answer
106 views

Attempting to transfer erc20 elrond to elrond gold in trust wallet - error insufficient funds

Does anyone have a step by step guide to transfer my 7566 elrond to elrond gold? My elrond is in Trust Wallet and tried to send to my elrond gold wallet but network said I have insufficient funds and ...
0
votes
0answers
77 views

How to return tokens from the BEP-20 network from a Geth-based wallet?

Accidentally sent Eth from the exchange in the BEP-20 network (binance) to a wallet that is made on the basis of Geth. How can I send the tokens back?
0
votes
0answers
5k views

Unable to swap scam token on uniswap

I think I have been scammed with a fake token on uniswap. Yesterday I bought a safepal token in exchange for ethereum. After I started to suspect I tried to swap back the safepal token to ethereum. ...
0
votes
0answers
32 views

Transferring aToken(aDAI) in my truffle tests reverts with unspecific error

I'm having issues with setting up a truffle test to transfer aTokens (aDAI) to my contract. I'm using Aave v2 and running ganache with a fork from mainnnet. This is what I did so far: 1- Started a ...
0
votes
0answers
20 views

Tokens stuck in company cold wallet?

I'm new to crypto, and when attempting to "swap" tokens in my Meta-mask wallet, I accidentally "sent " them to my Free-wallet. However, as Free-wallet does not support that ...
1
vote
2answers
55 views

Use bytes32 instead of string for token metadata

I'm writing a contract for an ERC-20 token, and I've been trying to optimize for gas (since the fees are ridiculous at the moment). I was wondering if instead of using a string, I could use a bytes32 ...
0
votes
0answers
6 views

Getting signed out of MyEtherWallet after trying to sign contract

I am trying to create a token in testnet. I sign-in using MEW Wallet and when trying to deploy a contract, I need to verify it using my phone. But I don't get to that part, because I get signed out ...
2
votes
0answers
49 views

Are ERC-1155 tokens always atomic?

I am creating an ERC-1155 smart contract whereby I create a number of different tokens and also want to be able to create new tokens on the fly. The code is something like: import "@openzeppelin/...
1
vote
1answer
3k views

INSUFFICIENT_OUTPUT_AMOUNT error when attempting Uniswap swap from a contract

While I'm able to successfully swap ETH for DAI, I'm running into an INSUFFICIENT_OUTPUT_AMOUNT error when trying to swap DAI for ETH using swapExactTokensForETH, even with amountOutMin set to 0. I ...
0
votes
0answers
70 views

What is the difference between SafeERC20.sol VS ERC20.sol

Need to understand the safeERC20.sol and ERC20.sol from openzeppelin I was reading the medium articles and unable to understand why safeERC20.sol has been used Please help me understand this Thanks
0
votes
1answer
67 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
47 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 ...
2
votes
1answer
52 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 ...
1
vote
2answers
269 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
333 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: ...
0
votes
1answer
57 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
0answers
23 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
0answers
93 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 ...
2
votes
0answers
149 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
1answer
29 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 ...
0
votes
0answers
57 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 ...
0
votes
0answers
26 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
1answer
35 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
207 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
57 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
0answers
327 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 ...
0
votes
0answers
26 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 ...
1
vote
1answer
13 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
29 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 ...
0
votes
1answer
113 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
18 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
21 views

how does exchange buy new tokens?

Question 1: So, let's look at exchanges. Let's say I want to buy the token - OmiseGO (it's an ERC20) token. I know that on the exchange, I can directly buy ERC20 token from someone like a trading ...
0
votes
2answers
1k 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 ...
0
votes
1answer
25 views

How to identify whether a coin or token runs on Ethereum?

Hundreds of coins and tokens are listed on coinmarketcap.com, but how can you tell which ones are Ethereum-based or Ethereum-dependent? Hundreds of them obviously are. Is it only through one's own ...
0
votes
1answer
9 views

Looking for specific kind of smart contract for my token [closed]

I am playing around with ERC20 token creation. Created one using this tutorial - https://www.youtube.com/watch?v=-Nje9ucd5rY Now I want to be able to : -Give away tokens. For example, when buyer ...
0
votes
2answers
95 views

Token Contract Verified and Signed on Mainnet Does Not Show MINT Function

The Token Contract Address https://etherscan.io/address/0xa2e7a0d1cfeda4d3977277265e205f6092d02e3b was successfully tested on Ropsten (See Ropsten Contract Address ...
0
votes
2answers
2k views

Metamask (and other wallets) don't show tokens on balance despite of transactions are in blockchain

I've generated thousands of addresses with my seed phrase and deposited some USDT tokens to one of them (m/44'/60'/0'/267) and ensured that I'm able to spend that tokens. But after I've imported this ...
0
votes
1answer
207 views

10 Gwei contract creation is stuck

I need help, I want to add more gas to my token/contract creation, but there is no Nonce since it's pending, how can I get this contract live/mined via Remix Ethereum IDE? With average gas, does $90 ...
0
votes
1answer
691 views

Can someone help me get my funds back in my possession from a contract?

So first off, buyer beware: do not mess around with gameswap.org it appears I made a mistake in doing so. Luckily I never invest more than I can stand to lose unless I really trust the project. So not ...
0
votes
0answers
71 views

How can I create an ethereum wallet which can show many addresses balance?

I'm looking for a wallet which can scan many ethereum addresses balance,(like electrum for bitcoin). I need to import 200 (or more) eth addresses and scan their balances include their tokens(if funded)...
0
votes
0answers
20 views

Transfer token from smart contract to 2 EOA addresses

There is an escrow smart contact which at the end needs to send the escrow balance back to both seller and buyer. Here is the contract (without all the details) pragme ^0.7.0; interface ERC20Token {.....
0
votes
1answer
51 views

Truffle Test AssertionError: error message must contain revert

I can't figure out why this error occurs Here my test js code: var YarockToken = artifacts.require("./YarockToken.sol"); contract('YarockToken', function(accounts) { var tokenInstance; ...
1
vote
1answer
70 views

How can I transfer ERC20 Tokens to Bitcoin donor in ICO?

I developed ICO on solidity. As everyone knows smart contracts only accept ETH, but I've seen many ICOs which accept BTC and any other cryptocurrency as well. I want to know how can I handle it if ...
1
vote
0answers
29 views

smart contract Thether balanceOf method returns 0x

i used web3j-java call Tether contract method balanceOf(the server node is mine , and on ether mainnet),my address has 3USDT,but i call balanceOf , the node returns me 0x as the balance value,it is ...

1 2 3
4
5
35