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
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
164 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
66 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
72 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
vote
3answers
397 views

What is the right approach to implement payable fallback function in crowdsale contract?

I am implementing crowdsale smart contract to accept ether and invoke ERC20 smart contract to assign tokens count calculated depending on the amount of ether invested. I heard that just implementing ...
1
vote
1answer
112 views

Writing contract for airdrop distribution

I have a problem. we have an ico. I would like to use the selfdrop method for airdrop distribution. While the superskynet's ico continued, they also wrote a selfdrop contract. can you tell me how I ...
1
vote
0answers
22 views

ERC20 Token balance isn't showing up in metamask [closed]

I'm making an ERC20 Token using OpenZeppelin, and I keep running into the same issue. My balance shows up in remix when I call "balanceOf," however, when I add the coin to my metamask wallet, it shows ...
3
votes
1answer
95 views

ERC20 with custom sale mechanisms?

Let's say I want to create a token, but I don't want this token to be exchanged too freely, in order to avoid too much of speculation (real estate for example). People willing to sell the asset will ...
1
vote
2answers
661 views

gas required exceeds allowance (8000029) or always failing transaction

When executing this function, I get an error gas required exceeds allowance (8000029) or always failing transaction i know that this error have when use transferFrom function. Where i wrong? help me ...
1
vote
1answer
62 views

personal_sendTranaction for token tranfer return hash but transaction isn't found in the blockchain

I am using Geth as a provider to the blockchain. I perform JSON-RPC method send_Transaction to transfer tokens, it returns me hash of the transaction but I can't see this transaction in the Etherscan. ...
0
votes
1answer
68 views

How to customize/modify the default startup url in Mist brwoser for ERC20 tokens on Ethereum?

Hi I am making an ICO wallet. I know Mist browser(https://github.com/ethereum/mist) has a lightweight version coming up soon and ConsenSys(https://github.com/ConsenSys/eth-lightwallet) has one, but I ...
1
vote
2answers
38 views

Empty to field in web3.py transactionReceipt

I fetched the transaction receipts of a block and had some questions regarding some of the fields. If a transaction receipt shows the "to" field empty and a address in the "contractAddress" field, ...
1
vote
1answer
243 views

Etherscan shows my contract has RPC errors

I deployed my token contract using Remix. I tested it in Ropsten several times and all was well. When I finally went to deploy it on the mainnet it deployed fine so it seemed. But in etherscan it ...
0
votes
1answer
171 views

make a contract send a percentage to a specific wallet (always)

how can I make a contract send a percentage to a specific wallet (always)? Example that whenever a transaction is made from this token the 1% go to X wallet. Thank you. Ok felix dolderer thanks for ...
1
vote
1answer
71 views

Constructor Arguments ABI-encoded - verification not working!

I think I must be going blind or something because I can not find the Constructor Arguments for this smart contract 0x3a2F46b0B0c187B152Db0c658b27E693f0A273a1 I have tried a number of options but ...
0
votes
1answer
17 views

Can you embed information into individual tokens?

Say it is a gaming token. Could you for example embed and update the high score each time the token holder plays the game? The idea being the token would be worth more the higher the score. Forget ...
2
votes
3answers
261 views

understanding value on token transfer transaction

When a token transfer transaction has an ether price associated with it, is it fair to assume that that transaction used ether to buy the tokens? For example, this transacion triggered by account A ...
1
vote
2answers
132 views

Could I use Infura to get the token details?

I went through https://infura.io/docs but not sure if Infura could allow me to read token details like owner, token Id, etc. I also googled on how to read token using Infura but to no avail. Has ...
1
vote
1answer
18 views

Account Private Keys not Logging with Web3.js with Pure Javascript and HTML on browser

Here is the code below, I want to create accounts using web3 js and logged the private keys. But am having an error Reference Error and keys not logging. I followed the docs at https://web3js....
1
vote
0answers
12 views

Block Chain Polling/Voting using Honest/Costly Signalling [Why is this wrong, can this system work?]

This Poll measures (Support for X) not (People who support X) You signal support for a candidate by forfeiting any amount of value to a candidate specific address in return you get... A public and ...
2
votes
2answers
243 views

Issue with autonomous contract calling erc20 token's transferFrom for approved amount

Trying to transfer fund using ERC20 token handle and calling 'transferFrom'. Assume that the specific amount is preapproved by owner account for 'MyContract' contract address. contract StandardToken {...
0
votes
1answer
38 views

Contract with a method to send received erc20 token to two different owner addresses

Was wondering if there is already an open source solidity code with method to sweep erc20 tokens received in contract address to destination address by calling an in-contract method such as "sweep()". ...
2
votes
2answers
604 views

ERC-20 contract from another contract

I am trying to create contract which can access functions of any ERC-20 standard token contract. At first, I'd like to get balance of given address. I run private testnet using geth, I have deployed ...
0
votes
1answer
100 views

approve() and sendFrom()

Im trying to run the code below in a smart contract to use as an escrow. calling approve first and calling send from later does nothing to get the tokens into the smart contract, what am I missing ...
1
vote
1answer
38 views

Is it possible to delete an ERC-20 token contract?

Is it possible, that someone creates a new token on Ethereum let it be XYZ, an ERC-20 token. Can he later call a destructor func that will wipe off all funds from all people that are using that system?...
1
vote
1answer
53 views

is ether itself an ERC20 token?

Can I treat ether as an ERC20 token? If so, what is the ehter contract address? For example I would like to stream ether to another account. But I need to provide contract address of ether for that.
3
votes
3answers
80 views

How to prevent ERC20 token to be traded publically?

I am creating ERC20 tokens for real state products where investors can buy/sell tokens but we want to oversee buy/sell process. For example, when investor want to sell tokens to other persons, it ...
0
votes
2answers
67 views

ERC20 and/or ERC721

Consider the following scenario. A person owns a asset called "A". Now the asset is very high valued and unique but you can allow other persons to own a certain part of that asset. EDIT: Ownership ...
0
votes
0answers
14 views

ERC Standard and EIPs for Pausable, Mint and Burn?

Which ERC standard or EIP Pausable contract belongs to, as it available in OpenZeppelin. Which ERC or EIP Mint and Burn token Belongs to?
0
votes
1answer
82 views

Crowdsale delayed few hours from the start date

I am new to Solidity and I have generated a Crowdsale contract using the following parameters on Ropsten test net. Start Date : 1514215525 which is equal to 12/25/2017 3:25pm End Date : ...
1
vote
1answer
23 views

How can I Retrieve Wrong Transfer of Erc20 tokens [duplicate]

I mistakenly Transfer an ERC20 token to a scammer Like(I created the Token) then I saw the Write function on etherscan.io. Is it possible to transfer it back to my wallet or not and if it is possible ...
1
vote
1answer
98 views

Send Tokens To Address, or Public Key?

I had a look at this video https://www.youtube.com/watch?v=vhdDQXLCRpE I can send tokens to MyEtherWallet from my exchange. Do I have to withdraw to my public key? Or, can I send it to one of my ...
1
vote
0answers
29 views

Given just an Etheruem address, is there any way to tell if it's an ERC20 and/or an ERC721

If I have only an Ethereum address and only a locally running node (using a third party such as EtherScan or Alethio is cheating), is there any way to tell if that address is an ERC20 or an ERC721 ...
0
votes
1answer
86 views

How to implement smart contract

I am studying Smart Contract with solidity. I can't understand something, so I want to get expert advice. I logged in to the Upbit exchange to trade the golem's token. The Upbit exchange gave me a ...
1
vote
1answer
39 views

Is it possible to transfer token from other address if I have private key from it?

I know that if someone owns tokens he can simply call transfer method of contract to send money. I also know that for ERC20 contract owner of tokens can call approve for my account, and then I can ...
1
vote
1answer
86 views

How will tokens like ERC20s work with sharding?

If the token contract is made now on what will be the main chain, but long term it is desired for the application to run within a shard, will the tokens ever be able to be sent there? The map of ...
0
votes
3answers
725 views

Deploy the ethereum contract token and transfer to other address using node js web3

Deploy the ethereum contract token and transfer token from one address to other address using node js web3.Anyone please help me.
0
votes
3answers
37 views

Can an NFT (e.g. ERC721) simultaneously belong to two different entities, say an user Owner, as well as a user Custodian?

For example, on the blockchain say you own a ERC721 Car token at your wallet address, but you want to park it in the ERC998ERC721 top down composable Garage owned by your friend, while still retaining ...
2
votes
1answer
125 views

Getting and storing address of erc20 contract after dynamically creating it

I have a function which dynamically creates an ERC20 contract on calling a function in another contract as follows: function createDao(string _tokenName) public payable { tokenNumberIndex = ...

1 2 3
4
5
29