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

How to download the whole transfer records of a token

I want download the whole transfer records of a token. https://etherscan.io/token/0xB8c77482e45F1F44dE1745F52C74426C631bDD52?a=0xd551234ae421e3bcba99a0da6d736074f22192ff. But the default setting is ...
1
vote
2answers
91 views

How to check Ethereum smart contract info?

I want to know 3 things: Is an address a smart contract? Is this smart contract an ERC20 or ERC721 token? Is the Solidity code public?
1
vote
2answers
491 views

How to peg value to token outside ethereum

I have an online game system. I issue some tokens through ethereum. How can I peg value of the tokens issued on ethereum to my game system, which is outside the ethereum eco system. (ie) The users ...
1
vote
2answers
1k views

How to make full smart contract token?

I want to make my smart contract, but I have some questions. for example my new coin name is : Ghost and it's based on Eth. how much ETH should I have in my wallet to create this smart contract? ...
1
vote
2answers
48 views

What is the difference between these 2 smart contracts?

I noticed some smart contracts have there name,symbol, and supply set up like this example #1 and setup a defined constructor. Notice, they did not fill in the "string public symbol", "string public ...
1
vote
2answers
449 views

Ethereum Solidity Contracts w/ Fiat Money

Is there anyway to fix a price for a ERC20 token? It seems like a major problem with blockchain and crypto is all of the volatility, which is why I am hesitant to use it for applications even though ...
4
votes
1answer
963 views

how to call smart contract function in C#.net core

protected async void Page_Load(object sender, EventArgs e) { var senderAddress = "0x605a1f8d368cbdd4d0a5cbad74f75c428660f17b"; var password = "zxcasdqwe123"; ...
1
vote
1answer
121 views

What is DeFi decentralized finance?

What is DeFi? What are its core components? How to think about or picture "it"? Some of the parts are tokens, stablecoins (tokens with specific properties to reduce its volatility), and exchanges, ...
0
votes
1answer
791 views

ERC20 Token Mist 0.9.0 . Balance not showing up

I am running Ethereum Wallet and Mist 0.9.0 (released this on 24 Jul ). ERC 20 token balance is not showing up even if Watch contact is in place. On the other hand, I can properly see ERC 20 token ...
2
votes
2answers
474 views

Consolidate Batch of ETH Wallets w/ERC20 Tokens?

I have a large number of Ethereum wallets with small amounts of ERC-20 tokens in each. How can I send all of these tokens to a single ethereum wallet without doing this process manually? (it would ...
0
votes
2answers
42 views

How can I make my contract send out my tokens?

I've been experimenting with some generic copy-paste codes on the Ropsten Test Net and I am able to create a token and have the creator receive all the tokens. However, when I try to buy these test ...
0
votes
1answer
43 views

Get the result of token transfer transaction in geth

There is a way to get the result of a token transfer operation in Parity https://ethereum.stackexchange.com/a/9009 Is there a way to do it in geth by RPC?
0
votes
1answer
16 views

How to get initial balances for all those who bought tokens?

Is it possible to get the initial balances for all those accounts who bought ERC20 tokens? If that’s possible, how that can be achieved? I’m wondering if there is any way of getting that information ...
1
vote
0answers
58 views

can erc20 token transaction work on Fast Sync-ed node ? OR it need Full node to transact any token?

I need help regarding couple doubts. Which sync method is good for me. My client is asking me to make an Exchange website. Also ERC20 tokens will get transacted in this exchange. Do I need a full ...
0
votes
1answer
16 views

What can you change and adapt when you create an Erc 20 token?

I saw this list of things that can be modified for your token. I can't find it but it listed all the different uses and things that can be changed about your token such as the max supply etc.
2
votes
1answer
243 views

Token Factory total supply is missing

So I created a token using Token Factory. I hadn't used it before and wanted to test things out, so I did this on the Ropsten Test Net. I was able to successfully publish the contract, which shows ...
1
vote
3answers
410 views

Sending Tokens from MyEtherWallet

I purchased some FunFair tokens today and sent them to MyEtherWallet. I now want to send those tokens back to an exchange and don't have any Ether in my account. I had no idea I needed 0.001 Ethereum ...
1
vote
2answers
35 views

I Call SmartContract Token ERC20, Why Show Hashing Output ? (Web3 + Metamask + Javascript)

I do not know why with this, even though in the previous version (web3 + Metamask) can issue real data. But now used as hashing (output). I took the example in the code and output below (to get the ...
1
vote
2answers
36 views

What is the best way to report scam/fraud token

Recently I've bought small amount of some token with good overall idea as it seems for the first look. Then I go deeper to the source code and found that product is fraudulent, with differences ...
0
votes
1answer
1k views

I sent PRL token to contract address instead of wallet address

I am wondering if i can recover the tokens. I sent PRL tokens to contract address 0x1844b21593262668B7248d0f57a220CaaBA46ab9 instead of myetherwallet address from kucoin exchange wallet. :-( Are ...
1
vote
2answers
37 views

ERC20 not recognized by TokenTracker

I have deployed ERC20 with reference to // File: openzeppelin- zos/contracts/token/ERC20/DetailedMintableToken.sol I called the initialized function with owner, name, symbol and decimal value. ...
1
vote
2answers
825 views

MyAdvancedToken Automating Selling and Buying function not working

I attempt to create a token with the "automatic and selling" function as describe here. After having copy/paste the code (footpage)and deployed the contract no error message appears. But when I ...
1
vote
2answers
752 views

transferFrom function doesn't work

I have made a simple ERC20 token smart contract, but my transferFrom function does not work. I keep getting "Note: The constructor should be payable if you send value." even if I declared it as ...
0
votes
3answers
623 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.
2
votes
1answer
423 views

How do I find my DBET tokens in MyEtherWallet?

I mistakenly bought DBET tokens directly from my Exodus wallet. I used the public key of Decent.bet (DBET). I assume I should be able to find/see my DBET tokens in MyEtherWallet, but I do not know ...
0
votes
2answers
382 views

How to get the Total Number of Tokenholders of ERC20 tokens?

Is there any simple API or datafeeds where I can just get the total number of tokenholders of ERC20 tokens?
0
votes
1answer
683 views

Custom tokens disappear after closing Ethereum Wallet

I'm on Ethereum Wallet 0.9.0 and I need to add the ICO token addresses every time I restart the wallet. The custom token(s) don't get saved after I exit the wallet. How do I solve this?
0
votes
2answers
40 views

Require specific token to execute a smart contract

Is it possible to only allow parties that agreed to a smart contract on the Ethereum blockchain to use a specific token for it's executing (e.g. not using Ether but token xxx)?
1
vote
1answer
48 views

Token migration and IDEX smart contract problem

During a recent token migration from token A to token B, a large number of token A were held by a number of people in an IDEX address (where it was ready to trade). The IDEX address is part of a smart ...
0
votes
1answer
26 views

I accidentally sent a token to a token contract. Can I get it back? $MWAT [closed]

community! Instead of transferring my ERC20 token $MWAT (RED PLATFORM) to my wallet, I accidentally sent it to the contract itself https://etherscan.io/tx/...
1
vote
1answer
409 views

Create tokens with dynamic price

Imagine that I have a contract where a user can buy and sell tokens based on a dynamic price in ETH. The price is calculated every 2 hours by a server. When buying or selling, the value used is the ...
1
vote
2answers
21 views

What is the difference?

I noticed some smart contracts have the wallet address of the creator in the smart contract to send the tokens to the wallet like example #1: Example #1: constructor() public { symbol = "...
0
votes
3answers
44 views

Custom smart contracts transfering tokens

I have two simple questions. Does all the smart contracts that creates ERC20 tokens have the same function names like balanceOf and transfer? Or developer select those names as they want? Lets say i ...
0
votes
1answer
142 views

How to use DAI in my contract

I'm familiar with smart contracts development. Although, every time I developed something, I used traditional ether. For the sake of simplicity, let's assume this contract. pragma solidity ^0.5.0; ...
0
votes
1answer
256 views

user api to exchange eth token and wallet address creating using code

Is there any API to help exchange ether or tokens online which will help in coding an exchange. For bitcoin one can generate a wallet address, is it possible to generate a wallet address for Ethereum ...
0
votes
2answers
41 views

How can you tell if a mined transaction made permanent changes?

I have set up a private ethereum blockchain and I have defined a new coin. When I send coins from one account to another through the smart contract the transaction is always mined even when the coins ...
0
votes
1answer
474 views

Loading smart contract x with tokens; sending eth to smart contract x; receiving tokens for that eth

Hello dear Eth community, I am a complete noob, please go easy on me ;) I am an IT teacher and I want to create a reward system for my class for a game that we play weekly. The game is not ...
3
votes
2answers
2k views

Web3j - sending erc20 token

I would like to ask how to correctly send ERC20 Token from a wallet to another wallet , followings are my codes : public static void main(String[] args) throws Exception { Web3j web3 = Web3j....
0
votes
2answers
419 views

How to set rate in decimals in solidity?

I want to set my price of token sale in ICO as 1 ether=0.0111111111. Since, solidity doesn't support decimals, what is suggested way to do that?
0
votes
1answer
37 views

How can I freeze an erc20 token in another holder's wallet

Token was compromised and some portions went to a wrong hand, now owners of token wants to freeze that wallet holding it, is there any way to do this.
0
votes
0answers
28 views

ERC20 is not working after deploy

I've deployed an ERC20 like this: const fs = require("fs"); const Web3 = require('web3'); const testnet = 'http://localhost:8545'; const PrivateKeyProvider = require("truffle-privatekey-provider"); ...
0
votes
0answers
25 views

How to detect ERC20 token amount sent in the incoming transaction?

Using python's web3 is there some method to detect how many tokens were sent? I.e. detect how many ERC20 USDT tokens were sent to my account address?
0
votes
2answers
256 views

Web3 - Getting variable value from deployed contract without ABI

I'm trying to build a wallet capable of managing ERC20 tokens added by the users, using Web3 1.0.0-beta.34. After adding a certain token to the wallet using its address, I was able to fetch the amount ...
0
votes
2answers
70 views

web3, nodejs - How to put decimals values ​into the toBn function

I want the amount of tokens to be a decimal number. but i heard that toBn is not supported decimals number. When I put in a decimal number, I faced the following error: while converting number 0.15 ...
1
vote
1answer
1k views

Dynamic total supply for ERC20 tokens

I am trying to create an ERC20 token using the following workflow. Create a new token, let's say 'XYZ' with an initial total supply of 1000 coins. List them on exchanges and also create coin's own ...
0
votes
1answer
32 views

“truffle init” problem

What to do to resolve below issue coming in initiating a truffle project? YuweideMacBook-Air:vantoken yuwei$ truffle version Truffle v4.1.4 (core: 4.1.4) Solidity v0.4.21 (solc-js) YuweideMacBook-...
0
votes
2answers
68 views

(Truffle) how to call finalize() function after finishing crowdsale

I would like to call token.transferOwnership(msg.sender) after finishing timed crowdsale. So, I inherited FinalizableCrowdsale contract, then override finalization() function to call transferOwnership ...
1
vote
1answer
329 views

How are tokens related to dapps?

I have seen almost all the DApps have some kind of tokens, ICO associated with it. Anyone kind enough to explain what is the relationship between a DApp and Tokens?
1
vote
3answers
548 views

Using Openzeppelin's crowdsale contract as a base, how can I set the rate to be a decimal number?

For example if rate = 10 then for every wei the buyer gets 10 "token units" which are each 1*10^18 of a full token (as the default decimal for the erc20 token is 18). If I want the users in a ...
6
votes
2answers
988 views

Smart contract erc20 code snippet to prevent buyer token transfers

I´m going to start a token pre-sale and I want to be able to send the tokens to the buyer but prevent the buyer to send tokens to another wallet. I tried the following in my ERC20 smart contract but ...