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
93 views

What is the point of this empty token contract?

I'm a little bit confused by the following code. Specifically, what the empty token contract does, and why it helps to create it. Is there no way to create an instance of a contract just by giving an ...
2
votes
0answers
48 views

Can tokens be mined? [duplicate]

At first I read the tokens which based on ethereum are cannot be mined. Then I read at reddit that mining option can exist with new ERC20 standard. Are there any tokens that can be mined?
0
votes
1answer
450 views

How to get back stolen tokens from the exchange?

so recently i got stolen in about 50k in Humaniq tokens .. it was a phishing website directed from a slack DM E-mail .. so the guy who stole them,has also stole a lot from other people but everything ...
5
votes
2answers
692 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/...
15
votes
4answers
94k views

How To Transfer Tokens Out Of Metamask Wallet

I have some tokens in my Metamask wallet and want to transfer them to an exchange to trade but I don't know how to do. Metamask now allows you to see the tokens as per the recent upgrade but I don't ...
0
votes
2answers
899 views

Why do the example token contracts give the initial supply to the owner?

It almost seems necessary to give the tokens to the creater of a token contract all of the tokens. For instance, in https://www.ethereum.org/token#central-mint /* Initializes contract with initial ...
1
vote
1answer
358 views

Token amount in smart contract

I'm looking at this smart contract and the token amount is enormous. Will somebody please explain the actual amount of tokens? It is supposed to be 800M tokens.
0
votes
1answer
151 views

can't create token

I copy and pasted the coin code into the ethereum wallet contracts section - gave it a name and: initial supply: 10000 decimal places: 2 symbol: Kk When the contract gets picked up it has no name (a ...
1
vote
1answer
270 views

Review my token? Everything 'seems' to work on the testnet. Any issues?

pragma solidity ^0.4.11; contract owned { address public owner; function owned() { owner = msg.sender; } modifier onlyOwner { if (msg.sender != owner) throw; ...
1
vote
1answer
269 views

Test custom ERC20 token with MEW

Before the question, I want to list my development environment configuration: I am using Remix online solidity IDE for coding My contract is running on local PC with RPC (web3 provider option in ...
1
vote
2answers
726 views

Created first ETH token on test-net how does a monetary value get decided?

So I created my first token on the Ethereum network and I'm curious how does it get a fiat value. For example they are being used as a test service on a website but how does coincap or coinmarketcap ...
7
votes
4answers
5k views

How to decode input data from tx using python3?

I am trying to decode input data from token sale transactions. This is one of the transactions I am trying to parse 0xf7b7196ca9eab6e4fb6e7bce81aeb25a4edf04330e57b3c15bece9d260577e2b Which has the ...
3
votes
1answer
265 views

Best practices for interacting with other contracts

I would like to know what is the best approach and the best practices to intercat with other contracts. Here are the MyFriendToken.sol and the MyService.sol: MyFriendToken.sol I would like to know ...
0
votes
1answer
137 views

Sending Token Without Watching

If I were to perform an airdrop (Transfer) with my custom token to addresses holding a different token, would the wallets that my token are being sent to need to be watching it before the transfer to ...
6
votes
1answer
186 views

How can a “for-friends-only” token be traded with other currencies?

I'll start by saying that I'm a newbie. I'm learning Solidity and how Smart Contracts work. What I would like to do is simple: I would like to sell MyFriendToken (MFT) to friends only, in exchange ...
2
votes
1answer
206 views

How to issue two different tokens from one crowd sale?

I have a project in mind and I want to have a crowd sale where two separate tokens are issued. The simple flow is this. Send X ETH > X token_A. Use token_A as a way to vote. There will be X amount of ...
6
votes
1answer
1k views

How to interface function of deployed contract in new contract?

I have deployed Standard token contract using mist. Now I want to create interface functions for the deployed contract. contract MyToken { function mint(address _to, uint256 _amount) onlyOwner ...
3
votes
1answer
201 views

Why Use App/Protocol Tokens instead of regular payment systems? [closed]

What advantages does an app coin/protocol token have over using a regular payment system in dollars, euro or even between currencies? In other words, why go to the trouble of creating a token that ...
10
votes
2answers
17k 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. ...
0
votes
2answers
693 views

Ethereum token…*Burn rate*?

I'm writing here cos' I would like to post a question. Is there a way to burn gradually tokens? I can explain this better....... I would to launch a cryptocurrency (e.g. 1000000 ether).The feature I ...
5
votes
2answers
7k 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 ...
0
votes
1answer
876 views

How can I withdraw my ICE token balance from Metamask?

I have transferred my ICE tokens from myetherwallet to Metamask , It does show my balance in metamask but I am unable to send them ?? I do not get any option to send them.. Please help me find out a ...
0
votes
2answers
569 views

Why is it important to set a tokens issue number cap during the crowdsale?

Reading different white-papers I'm now a bit confused. Some good projects use the soft cap and hard cap to limit the number of tokens issued during the crowdsale. Sometimes it's not. More tokens ...
3
votes
1answer
153 views

Modify Crowdsale when token is bought send same quantity to founders

We're creating a crowdsale smart contract on ethreum and would like to know the code to modify the crowdsale such that when a token is bought, it also sends the same quantity of tokens to the founder'...
2
votes
2answers
1k views

How can I make other people's account to do ether transactions with smart contract? [closed]

I was making a smart contract which involves people to buy tokens in exchange of ether they send. It works fine in testrpc as all accounts are unlocked, but how do I do it for actual accounts in main ...
3
votes
3answers
2k views

how to deploy smart contract in ethereum network using ropsten network?

I have created a smart contract(a standard token smart contract) in solidity and truffle. Now I want to deploy it to ethereum network. I want to use ropsten network because I want to use metamask ...
1
vote
1answer
590 views

tokens generation in smart-contracts specific to one asset [closed]

I have been building a smart-contract for tokens for songs such that they are specific to different songs such that one token is only valid for one specific song not other. Ive made a smart-contract ...
1
vote
1answer
2k views

How to transfer from one ether wallet to another using smartcontract?

I try to transfer ethers from one account to another using my smart contract but the contract doesn't allow me with following functions : function transferFrom(address _from, address _to, uint256 ...
1
vote
1answer
872 views

Help, I created an unencrypted myetherwallet private key

newbie here. Have opened a myetherwallet wallet to view tokens only. Unfortunately, the steps I chose landed my with an unencrypted private key! Am I in trouble? How can I get myself hidden and ...
4
votes
1answer
153 views

Token behaviour checked as invariant?

Ethereum Tokens are specified by the ERC20, however this is just the interface. What happens, if a Token implements the functionality in "unusual" ways? Eg. a Token could implement the transfer ...
3
votes
1answer
915 views

What kind of companies can launch an ICO? Only blockchain based or others as well? [closed]

I'm confused as to what kind of companies can launch an ICO - only blockchain based companies that have some inherent use/tie-in of tokens/coins or others as well? For example, I just saw the ethereum ...
2
votes
3answers
349 views

Receive a token from a smart contract by sending it a 'code word'

What would be a way to assign a code word inside a contract (such as a promotional / coupon style code word) so that you could let people know "send this message/code word to this contract address and ...
2
votes
0answers
265 views

How excatly Bancor works (for non-economists) [closed]

I've read the following SE threads: 1, 2,3, the Bancor's white paper, Eyal Herzog Smart Token 101 post, and Scott Morris's post but I'm still having a hard time trying to understand how exactly Bancor ...
3
votes
1answer
639 views

Why does my custom token show 0?

I created a vanilla custom token via a contract on testnet and minted 10,000 coins to it, and I was able to successfully send the tokens to a wallet contract at a different address. However, when I ...
2
votes
0answers
348 views

How exactly does a unique asset get tokenized?

Say I have a set of assets, each with their own serial# or unique Id. How exactly would I create tokens linked to each asset that could be traded on a 1 to many basis? (ie: trade this one special ...
3
votes
3answers
2k views

Does a token-transfer always have a value of zero?

Usually a token-transfer has a (ETH) value of zero and the amount is encoded in the input-data payload. Some projects even distinguish between normal and other transfers by checking for zero: https://...
1
vote
2answers
1k views

Where to keep ICO tokens?

I want to buy some ico tokens from other users. However I don't have a wallet for that specific type of token(e.g. BasicAttentionToken). Can I do that?
0
votes
2answers
154 views

Help understanding contracts

My first question and probably a bit naive. As I understand, ICO allows you to buy tokens. I am ok with this part. But how do you profit from that? I see two possibilities: Contract distributes ...
0
votes
1answer
199 views

Why does the transfer function need to have an amount parameter?

The following function must be implemented for a token to be ERC-20 compliant: // Transfer the balance from owner's account to another account 15 function transfer(address _to, uint256 ...
0
votes
1answer
3k views

Gas cost / ETH fee in order to send Golem?

I want to send Golem from myetherwallet to a friends wallet. How much does the Ethereum network charge in gas / ETH fee for sending a token?
1
vote
3answers
174 views

Who controls the value of Ether or any digital currency defined in Ethereum in private network?

Let's say three banks A,B and C build up a private network using ethereum. They will make transaction among them by defining some currency.How the value of their defined currency will be determined.As ...
1
vote
1answer
390 views

How to create the contracts on ethereum?

I need to create the ethereum tokens for this i learn about contracts. I try with simple contract using this link https://www.ethereum.org/greeter when i try this contract eth.getCompilers() var ...
2
votes
2answers
441 views

Does the Minereum Automatic Token Creation Service Work?

I recently stumbled upon Minereum which they say is the first self mining smart contract token. They released a service that supposedly allows anyone to create a Ethereum Token with just a Minereum ...
0
votes
2answers
782 views

MyEther Wallet storing ICO tokens

Should I move ERC Tokens off of MyEther Wallet or can I store them there?
5
votes
3answers
7k views

How to issue tradable tokens?

After deploying ERC20 tokens on testnet I realize I need a buyToken function in the Smart Contract in order to give tokenholders a way to buy the tokens. Another alternative would be to transfer all ...
4
votes
1answer
4k views

What are “smart tokens” and how do they differ from regular tokens?

On June 12, 2017, The Bancor Network's ICO allocated 39.6 million Bancors in exchange for 396,720 Ethers. These new tokens are being described as the first "smart tokens" in the blockchain world. ...
6
votes
3answers
26k views

Accessing ERC-20 tokens in MetaMask

I sent tokens (veri) from my ether wallet to meta mask address ether scan shows the transaction but i cannot see them or send them. If you have a solution please explain as if i were 4 yr old. cheers ...
5
votes
4answers
4k views

Embedding image data in the contract of ERC20 compliant tokens?

I've seen plenty of ERC20 token sales and ICOs lately, and a few sites have sprung up to track the value of various ERC20 compliant tokens. Most of these sites show images or logos associated with the ...
1
vote
1answer
299 views

How reliable are Ethereum logs?

Do they have a lifespan? Can they be deleted? Have there been any cases of errors with logging or logs not being written? I'd like to know if I can rely on logs and build application logic on top of ...
1
vote
1answer
80 views

How to control a token's exchange value

Suppose you wanted to create a token representing an index fund for various cryptocurrencies and you made sure that you held enough cryptocurrency reserves for each currency represented in the fund. ...