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
2answers
69 views

How to make token for exchange such as bittrex? I'm interested only in technical side of this question

Should I set a starting price for the token? Is there a source code for the token for trading on the exchange?
4
votes
2answers
73 views

Is there an ethereum android wallet where I don't have to manually add in tokens I have and just auto detects it?

Using coinomi or even metamask on chrome is quite annoying as I need to manually add in tokens I have in my account and it doesn't auto show up. Is there an android or desktop ethereum wallet that ...
0
votes
2answers
751 views

How to transfer ERC20 tokes from Blockchain wallet to MyEtherWallet?

I got some token and by mistake sent them to my Blockchain ETH address. Now, what is the process of transferring them to MEW? They talk about exporting your private key, what does that mean and to ...
0
votes
1answer
10 views

Who is the gas payer while using transferFrom?

In my project, I craeted separate Ethereum accounts for each customer on my Geth server (I have not access to private key in this way normally). Now, customer needs to send out ERC-20 token, whereas ...
2
votes
2answers
836 views

Constantly getting “Gas estimation failed” error when attempting to deploy ERC20 Token contract on Rinkeby testnet

I have included the code for the contract below. The error I get when attempting to deploy in remix via metamask is: Gas estimation errored with the following message (see below). The transaction ...
0
votes
0answers
47 views

How to generate unique id for each tokens without using loop?

I'm creating tokens without use of any pre-defined standard. As we have requirement to track each token, I did code to assigned ids to each token. pragma solidity ^0.5.0; contract MyContract { ...
1
vote
1answer
36 views

Ethereum Node I want to export transactions from a token

I have an Ethereum node running and I am wanting to export transaction history for a specific ERC20 token to a local database every 10 minutes. Does anyone have any suggestions on how they would do ...
0
votes
1answer
54 views

TOKENS transfer

How do I transfer Dropil tokens from my Ether wallet to another ether wallet. I tried to search the way to transfer the tokens but did not find the way. Only ether transfer facility is there.
0
votes
2answers
26 views

How can I talk to other contracts and store their function call returns as variables?

For example, I want to grab the current borrow rate for a token on compound.finance. In this contract InterestRateModel.sol, is there a way to call getBorrowRate from my own contract and get the ...
3
votes
2answers
42 views

ERC standard that allows sending tokens from many origins to one destination in one transaction?

I know that any kind of operation over a token is possible so long as you implement the smart contract that achieves what you desire. For example, a function multisend can be developed that allows ...
0
votes
0answers
9 views

Why does not show my token balances and the other information it on Ropsten?

I published an custom ERC20 token contract in Ropsten network and functions are working of the contract correctly. I minted the 100 token to an address an checked total supply result is 100 too. And ...
2
votes
1answer
72 views

Ethereum Smart Contract deployed token not showing

pragma solidity ^0.4.24; contract owned { address public owner; function owned() public { owner = msg.sender; } modifier onlyOwner { require(msg.sender == owner); ...
0
votes
2answers
91 views

Adding mincap in the crowdsale code and returning the funds on not reaching the goal

I have generated a crowdsale contract and i want to add mincap to the crowdsale so that after reaching the mincap and not achieving the goal, the crowdsale will return all the funds to the investors. ...
1
vote
1answer
324 views

Custom token sent to wallet , does not show in wallet

I am using the rinkeby test network and i created a custom token using the basic code stub given on the ethereum.org site. So I transferred to another account which is also on the rinkeby network. But ...
0
votes
1answer
46 views

Transfer ERC20 Token - Encountered during contract execution [Reverted]

When trying to sent some ERC20 Token from wallet getting following error: Warning! Error encountered during contract execution [Reverted] This error returned when i call transferFrom()( I made ...
0
votes
1answer
156 views

Initial ERC20 Token supply split into 2 or more hardcoded addresses

don't know if someone can help me, but let me explain my problem. For more transparency in my ERC20 token generation smart contract, I want to hardcode the Team Pool (0xA) and Crowdfunding Pool (0xB) ...
2
votes
2answers
112 views

How to generate a new token for ERC1155?

Developing an ERC1155 contract, how to generate an address for a new token? I need to create an API function like function createToken() returns (address). How? Should I just use an incrementing-by-...
0
votes
1answer
25 views

Minitng tokens automatically over a regular periods of time

Is there maybe a way to program a contract to mint a certain amount of tokens over regular periods of time automatically? Say, I would like a contract to create 1 000 new tokens once a year on Dec., ...
1
vote
1answer
26 views

Can a Coin be liquid during its ICO period?

I am planning to run a Coin's ICO for several years, not interested in the gains to be made from selling out ICO in 3 days NO, but interested in using the COin to end Global Poverty as i deem fit. So ...
2
votes
1answer
95 views

Ether in ERC-20 transactions?

I have one contract that I give tokens from a ERC20 contract implemantation. When I call the balanceOf function from the Token conract. Response me that I have x Tokens. Nice !! But when I try to ...
2
votes
1answer
65 views

How to create transaction data for sending ethereum from multiSig contract to account with Web3.js v1.2.1

I am using a standard MultiSigWallet contract. My goal is to create the data parameter with web3, which is used in executeTransaction / external_call (bytes memory data). The transaction should send ...
0
votes
2answers
39 views

connect users to the sidechain SKALE

SKALE is Ethereum Dapps to run high speed, Low cost smart contract layer. I wish to connect users to the sidechain SKALE,from their browser. automatically without the manual change as necessary for ...
0
votes
0answers
13 views

How do financial derivatives offer stable value? From Ethereum Whitepaper

I'm having a hard time understanding what this paragraph in the section labeled "Financial derivatives and Stable-Value Currencies" means: Financial derivatives provide an alternative. Here, ...
0
votes
1answer
22 views

Closed, Creating a method to airdrop ERC20 Token B to the holders of ERC20 Token A [closed]

I've been attempting some form of solidity code to automate the airdropping of Token B to the holders of Token A almost all day, but I still couldn't find much that works. How could I do this?
1
vote
1answer
31 views

Metamask doesn't show token value on erc20 contract interaction [closed]

Why using the Transfer method is showing the value of the erc20 that I want to transfer while with a custom method is always showing 0 ETH on metamask instead of the token that I'm transferring via ...
0
votes
1answer
27 views

Compatibility between ERC-1400 and ERC-1643

How does a contract supporting both ERC-1400 and ERC-1643 should be written as their functions setDocument don't have the same arguments and their getDocument don't return the same types?
1
vote
1answer
49 views

Insufficient fund for sending USDT token on an address with no Ether

I've an Ethereum account in Geth which has received 4 Tether (USDT). I want to send 1 of them for test to another account, but I receive this error: insufficient funds for gas * price + value ...
0
votes
1answer
2k views

Transfer ERC20 Token using Ropsten Infutra with Web3

I created a contract token using the Ethereum.org token solidity code. It has a function called transfer to send tokens between accounts: function transfer(address _to, uint256 _value) I need to now ...
2
votes
1answer
41 views

How to get the return type of a function of an already deployed contract?

I am currently working on a real estate blockchain project. Now I have 2 contracts user.sol and property.sol. The person who is registered on the website through user.sol can only buy or sell property ...
0
votes
1answer
53 views

Smart Contract Transfer Event Log Data & transfer _value [Rust]

I'd like to have a better understanding of events and logs data, more specifically when it comes to interacting with ERC20 tokens smart contracts and their Transfer events. I'm looking for a way to ...
0
votes
1answer
513 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 ...
0
votes
1answer
16 views

Measuring elapsed time between user erc20 token transfers with lazy evalutation

So I'm learning solidity and wanted to make an erc-20 token after reading the solidity by example docs. Let's call the token T. I would like to measure the elapsed time between two transfers of an ...
1
vote
1answer
74 views

Static Analysis raised 9 warning(s) that requires your attention. Click here to show the warning(s)

I receive these warnings in REMIX so the question is: Can I compile my contract and then verify it regardless of these warnings? pragma solidity ^0.4.25; library SafeMath { function mul(uint256 a,...
0
votes
1answer
27 views

Refill Ether to account after token transfer

During token creation and token transfer some ethers are used as gas. What is the most efficient way to refill an account with the same amount of ether? So that it doesn't run out of funds(ether). I'm ...
0
votes
2answers
52 views

How to restrict ICO investors to redeem their ERC20 tokens while not restricting them to trade tokens among themselves?

We want to create an ICO where investors can purchase ERC20 tokens anytime but have to wait for atleast 3 months from the date of purchase in order to redeem/encash them on our platform. But we do ...
0
votes
1answer
48 views

Ethereum Smart Contract with Custom Fee and Percentage of the collected Fee Distrusted token holder

I wanted to know is there a possibility to create a smart contract for a token wherein the transaction fee could be overridden with the network fee and the fee collected on the transaction can be ...
0
votes
1answer
51 views

Can't deploy on https://wallet.ethereum.org: DAO

I'm writing Decentralised Application. I've added function vote() an function changeName(). After that my code can't compile on wallet.ethereum.org. Though remix.ethereum.org shows no mistakes. ...
0
votes
2answers
127 views

How do I make sure that no one else deploy crowdsale on my token except me?

I have ERC20 fixed amount token, And I want to deploy pre-ICO crowdsale and later ICO crowdsale contracts. How do I make sure that no one else deploy crowdsale on my token except me?
0
votes
1answer
21 views

How to safeguard a different token stored in an ERC20 contract from unwanted withdrawal?

If I want to store say a popular ERC20 (e.g. BNB) in my new ERC20 contract, how do I prevent someone from making unauthorized withdrawal of these BNBs from my contract account ? Is it possible that a ...
2
votes
3answers
163 views

Smart contract that receives only one token

Is it possible to forbid to a smart-contract to receive all erc20 tokens and ether except my own token that was created in another contract? I mean I want my contract to receive only tokens from ...
0
votes
2answers
58 views

Self-destributing token contract template

Self-destributing token contract template Hello, Are there any complete templates or resources for making a token which distributes itself when funds are sent to the contract? I. e. user sends 0.01 ...
2
votes
1answer
60 views

How to interact with my ropsten smart contract

I've looked for hours online for how to interact with contracts but I've yet to find an efficient way to do so. My contract is deployed at 0x09B81faA7fB51E5Af79b0241243e58297aC84158 on the ropsten ...
1
vote
1answer
40 views

How can i know my smart contract , compilar version.I cant verify my contract properly

I want to know compilar version of my smart contract.(https://i.stack.imgur.com/6K5sM.png)
1
vote
1answer
25 views

Variables in storage not getting updated according to transaction

As part of my project, I am using a code from github and modified it according to my requirement. This is a Auction contract. I am using remix IDE for interaction. I tried deploying in the rinkeby ...
1
vote
0answers
37 views

How to get total tether supply on Ethereum from BigQuery dataset

I've noticed that the numbers for Totaly supply of Tethers seem to diverge on the official Tether transparency page and the Etherscan block explorer, and I want to find a way to get the correct number....
2
votes
1answer
84 views

Given a failed contract transaction how can I determine on which line of contact source code execution was fail?

I have failed token transfer and I want to know why it was failed by reading contract source code. Is there any steps I can make to know on which line of the source contract code the execution was ...
1
vote
2answers
80 views

MEW says not a valid erc20 token but don't see errors

I created a token prior to this one that is fine. I used the same template, followed the same exact steps to create another token but getting the not valid erc20 error. https://ropsten.etherscan.io/...
1
vote
2answers
81 views

Help with ERC20 Contract

I sent tokens to my contract address instead of to my myetherwallet address from an address that the tokens were previously sent some time ago. Now I have no access to the amount sent to this address. ...
0
votes
1answer
57 views

Cap is not showing actual amount after deploying contract on Main Ethereum network

I have deployed a crowdsale contract with bonus stages on Main Ethereum Network using remix.ethereum.org. I have set a Cap amount of ether in wei as my goal. After deploying contract, I looked into ...
1
vote
2answers
70 views

Advantages of using Tokens?

Why should I use a (ERC 20) Token instead of just using Ether? What advatages does it have, besides making money out of nothing?

1 2
3
4 5
29