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
39
votes
2answers
24k views

How do I convert my The DAO tokens into ethers using the withdrawal contract after the hard fork?

The DAO contract was attacked on 17th June 2016 where the attacker drained about USD 50 million worth of ethers using a recursive call vulnerability in The DAO contract code. The attacker drained ...
15
votes
2answers
11k views

How do I get a refund for the amount I paid in excess of 1 ether to 100 The DAO tokens

Anyone who bought DAOs in the last two weeks of The DAO crowdfunding phase paid more than 1 ether (ETH) per 100 The DAO tokens (DAO). The ETH amount in excess of 1 ETH per 100 DAOs was stored in The ...
16
votes
2answers
9k views

How do I convert my The DAO tokens into ethers on the Ethereum Classic chain?

According to Whitehat Withdrawal contract - Update and Next Steps and Whitehat Withdrawal contract - Last update before deployment, the Goodies will be deploying the withdrawal contracts whetcwithdraw....
42
votes
3answers
22k views

What is a sidechain?

The Ethereum subreddit has this post related to an Ethereum-Dogecoin sidechain. What is a sidechain? Could one sidechain be a private Ethereum network?
23
votes
5answers
16k views

Paying a transaction fee with an ERC20 token

As far as I understand, one of the ERC20 token's features is that you can pay a transaction fee with it. In other words, you can send them without having Ether. I transferred REP tokens to the ...
11
votes
3answers
2k views

How do you verify a contract on etherscan that is deployed by another contract?

How do you properly verify a contract on etherscan that is deployed by another contact? I deployed a contract that deploys other contracts onto the blockchain. The original contract is verified , ...
8
votes
3answers
10k views

Best way to burn ethers and other ethereum tokens?

Is it correct that any ethers or tokens sent to the address 0x0000000000000000000000000000000000000000 will be destroyed? Or what is the best way of burning ethers / tokens?
6
votes
2answers
2k views

Are mineable tokens possible?

I'm a bit puzzled about the ethereum.org/token example which states further down in the advanced examples that it can be coupled to proof-of-work. I really like the idea of mining a token. The example ...
5
votes
1answer
4k views

How do I get a refund for my The DAO tokens that was split into a child DAO?

The DAO token holders that split away from the main The DAO into a child DAO will have moved the tokens (DAO) and the corresponding ethers (ETH) into the child DAO. As these DAO token holders have a ...
4
votes
2answers
3k views

How do I print my account balances and TheDAO tokens from geth

Is there a convenient script to print out my account balances and TheDAO tokens from the go-ethereum client geth?
30
votes
3answers
20k views

ERC20 vs ERC223. List of differences

Is there a list of improvements that we will have in ERC223? Are there examples of contracts? Is there a migration path for existing ERC20 tokens?
16
votes
2answers
4k views

What are the key criteria for meeting the ERC20 token standard?

I'm looking for a clear way to describe "the ERC20 token standard" to regular folks like me who are not developers, and can't seem to find a plain language articulation of the core components of that ...
7
votes
4answers
6k views

How to withdraw Ether from The DAO?

As I understand, everyone who invested in The Dao recieves tokens which enable to propose and vote in the DAO. And anyone holding tokens could anytime withdraw the Ether invested if he is not ...
5
votes
2answers
6k views

Ethereum tokens and decimals

What is the best way to deal with decimals as I create a currency? Let's use an example. I have KARLCOIN (KARL), and I have 1,000,000 of them, and the token has 6 decimals places. This token will ...
6
votes
2answers
2k views

How do ERC-20 Tokens work?

I thought I understood ERC-20 tokens. However, I wanted to purchase a small amount of basic attention token (like $5) to learn and experiment with. That's when I realized that I didn't understand them ...
6
votes
1answer
1k views

How to get all ethereum address list which have my token?

I want a list of all ethereum address which have my ERC20 token in their account. Anyone have an idea how to get list address. beause i want give divided to each account which have my ERC20 token.
3
votes
3answers
2k views

How does etherscan fetch the number of token holders from a smart contract?

I was wondering How does etherscan fetch the number of token holders from a smart contract?
3
votes
1answer
2k views

Can my Ethereum Based Tokens / Coins be traded on a crypto currency exchange?

I am building my own Crypto based on Ethereum Blockchain. Is it possible for this newly created currency to be traded on any crypto currency exchange? And secondly, will my new currency be compatible ...
0
votes
1answer
4k views

How to get Logo instead of ERC20 TOKEN on transfer page?

How to change this: to this: on etherscan token detail page?
13
votes
4answers
13k views

How can I find out the token balance of some address?

How can I find out the token balance of some address using Solidity? For example, I have the address of another person, and I need to know the number of tokens on his account.
7
votes
2answers
5k views

Decimals on ERC20 Tokens

I'm having an odd problem working with some ERC20 token contracts I've written: When I specify a decimal value, let's say 4 here for simplicity, the values show up differently in Mist vs etherscan. ...
9
votes
2answers
2k views

Float not allowed in solidity vs decimal places asked for token contract

We know that solidity doesn't support the float values. But here (https://www.ethereum.org/token#understanding-the-code) they accept one input parameter 'decimal places' for calculation purpose. How ...
4
votes
1answer
953 views

How can I verify that my The DAO token balance is correct when the Goodies provide an ETC refund on the Ethereum Classic chain?

From the blog post The White Hats and DAO Wars: Behind the Scenes, the Goodies intend to: develop the smart contracts that will be used to distribute ETC to the addresses holding DAO Tokens at ...
11
votes
3answers
3k views

How to remove custom tokens from mist?

In the MIST wallet (0.5.2) I somehow managed to create a Watch Token contract which was not correct and then it showed up like this: the one in the middle. It is greyed out and I want to delete it, ...
5
votes
1answer
3k views

Is there length limits on Token Symbols?

Is there a limit on the length of a ERC20 Token symbol? I would like to use 4 letters, one of which is lower case, but that isn't an issue. My concern is if Exchanges have setup their tools to only ...
2
votes
1answer
4k views

Can I “cancel” a token transfer transaction by sending ether?

The OMG transaction is listed here on etherscan. I initiated it around 7:30 AM this morning, even though the timestamp on that page always seems to restart everytime I refresh the page. I found a ...
1
vote
3answers
705 views

Why Transfer(0x0, _to, _amount) after Minting Tokens

In https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/token/ERC20/MintableToken.sol#L38, why is it necessary to emit the event Transfer(0x0, _to, _amount); after minting some ...
1
vote
2answers
1k views

Which accounts contributed to The DAO's extraBalance account?

Anyone who bought DAOs in the last two weeks of The DAO crowdfunding phase paid more than 1 ether (ETH) per 100 The DAO tokens (DAO). The ETH amount in excess of 1 ETH per 100 DAOs was stored in The ...
9
votes
1answer
2k views

ICO crypto-currencies accepted during the sale: ETH, BTC, or even fiat?

ICO contracts are meant to accept Ether as payin for the tokens sold, for example https://cartaxi.io/pre-ico or https://www.herocoin.io/ But there are a lot of ICOs running on Ethereum that accept ...
5
votes
1answer
6k views

Obtain token transfer data from an address

I would like to obtain token transfer data from an address via Rest API For example, take this address: https://etherscan.io/address/0xfbb1b73c4f0bda4f67dca266ce6ef42f520fbb98#tokentxns (Etherscan ...
14
votes
1answer
6k views

Are ERC20 token names unique?

I am curious if ERC20 token names are unique on the Ethereum block chain? For example, what is to stop someone from creating a new token called Golem (GNT) and publishing it to a smart contract? I ...
9
votes
1answer
4k views

What is the purpose of interface contracts?

Reading The DAO and DigixDAO source code I notice that in contract systems there are often interface contracts where functions are declared without any body. For example, contract TokenInterface { ...
5
votes
2answers
611 views

Where to find ICO contract with linear / logarithmic decrease?

I had a look at some existing crowdsale contracts: https://github.com/aragon/aragon-network-token/blob/master/contracts/AragonTokenSale.sol https://github.com/sonm-io/presale-token/blob/master/...
2
votes
2answers
853 views

How to accept bitcoin and transfer tokens from smart contract to sender ethereum address

I have created sample tokens Smart Contract with the payable feature/constructor, if someone pay from their Ethereum address to Smart Contract will get instant token into their Ethereum address. But ...
8
votes
2answers
12k views

Getting ABI data for ERC20 tokens programatically with Web3 [duplicate]

I am just starting to dive into Web3. I am trying to display the various ERC20 token values for a given Ethereum Address. The pieces I need to do this are: Token Contract Address Token Contract ABI ...
8
votes
3answers
7k views

What are digital tokens? How are various tokens generated on Ethereum?

I've heard in various talks, Ethereum can generate any token (besides ether), representing anything from bitcoin (through btc-relay), litecoin, dogecoin, digital assets, shares, ownership ...
2
votes
3answers
787 views

How to get token holders via json RPC

So I want to get the token holders of a token like this: https://ropsten.etherscan.io/token/0xfa68d281e7ff1a8e9393428ba0abe8961cf342cb#balances Via my Ethereum node. I tried: https://github.com/...
1
vote
2answers
730 views

Create a contract that safely swaps one token for another?

If I mint a token and the contract doesn't have all the features I needed from the offset, is there a way I could develop a new contract for a new token and create a way in which people can send the ...
0
votes
2answers
3k views

How to output all data from contract's mapping variable

Solidity enables the use of associative arrays with mapping: mapping(address => uint256) balances; Code can be written to iterate through this associative array. But, how can all of the keys and ...
13
votes
2answers
42k views

How to get tokens out of a metamask account

I transferred tokens (GNT) from an exchange to a metamask account but I can't figure out how to get them out. They do not show up in metamask, but etherscan shows them. I tried to import the account ...
11
votes
1answer
2k views

Can an Ethereum address hold more than Ether?

Let me explain it with examples. On Bitcoin protocol, for example, you have Counterparty. As it uses embedded consensus, every XCP address is linked to a Bitcoin address. So if you hold bitcoins on ...
6
votes
1answer
560 views

How does one see all tokens owned by an account?

Sorry, I do not understand this very well. But with tokens (let's say those which follow ERC20), can one ethereum address own multiple tokens? How would one determine the names and balances of those ...
4
votes
1answer
443 views

Building a floating rate on the tokens

For example. I can make a static price. function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner { sellPrice = newSellPrice; buyPrice = newBuyPrice; } But how can make a ...
0
votes
1answer
260 views

Should i move my erc20 token to main network?

i recently created a token in ropsten test network and was successful. Now i am going to create a real time token in one of my private network. My question is, can i go ahead creating the same in ...
0
votes
1answer
3k views

How to track token transactions

I'm currently trying to get a deeper understanding of how transactions in the Ethereum Blockchain work. A not so trivial example seems to track token balance of an address. I thought about the ...
7
votes
1answer
534 views

How can I list The DAO proposals and vote from the command line?

Are there any command line tools to vote on The DAO proposals? I would like to: List the open proposals Check whether I have already voted on these proposals Check my voting history Vote on the ...
5
votes
1answer
966 views

Can you add input data with a token transfer?

I was successfully able to send eth with some message here: 0x4ea3d0ae060aeb08f41fb8ff3e468b7e44092a251ccef118b386136fe6427a64 (little tackier though). I did this from MEW, but saw that it is not ...
4
votes
1answer
554 views

Understanding TokenCreator/OwnedToken example from Solidity documentation

Here's the page containing the example https://solidity.readthedocs.io Here are two contracts that are supposed to work together(my questions are below): Here's how I think it works. Please correct ...
3
votes
1answer
1k views

Error During Token Contract Execution

Getting an error in executing a token contract: An error occurred during contract execution: invalid jump destination (PUSH1) 2 http://testnet.etherscan.io/vmtrace?txhash=...
1
vote
2answers
190 views

Token receipt handler in smart contracts with Solidity

Is it possible to define a handler which is executed every time when tokens are transferred to a contract? I.e. something like an unnamed function for Ether but for user tokens: function() public ...