Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tokens]

A token is a transferable, divisible object on the blockchain, such as a subcurrency or a prediction market share.

0
votes
0answers
10 views

Want to understand token migration

Can anyone please explain the process of Token migration from one network to another network, Like omesi go and tron has done. they first lauch there own ERC20 token over ethereum and later migrated ...
0
votes
1answer
11 views

How to view or transfer initial ethereum smart contract balance?

I created a new smart contract token with initial supply and deployed it via MetaMask. Then I added this token into MetaMask but token balance is Zero. Now, My question is when we create a new ...
0
votes
1answer
17 views

How to differentiate a smart contract from a common wallet?

Having an Ethereum address, I need to check whether it is a wallet or a token (ERC-20 contract). How to check? (I need to implement it with Web3js.) Ideally, it should also reject contracts which ...
0
votes
1answer
33 views

Is a contract verified and safe if it's created by a verified contract?

The contract source code is not verified as you can see in the picture, but the contract was created by another contract code which is verified. Does that mean that the contract code from the picture ...
0
votes
1answer
11 views

Can I have a listener to cryptocurrencies / tokens reaching a specific address?

Let's say that there is an address called 0x1 There is another address called 0x2 which just released a new token called ABA. Is there a way to constantly listen for 0x1 to see if it receives ABA ...
0
votes
0answers
20 views

Create an ERC20 Stablecoin

How to create a stable coin with an ERC20 token contract ? Does it require contract to be modified ? Are there some good practices or standards ?
0
votes
0answers
22 views

Accidentally sent REN (ETH token) to my ETH contract address using my Ledger Nano S. Can someone help please? [duplicate]

I sent REN (ETH token) to my ETH contract address by accident while using my ledger nano s. Can someone help me understand what's happened to the tokens and if I can retrieve my REN token from my ETH ...
1
vote
1answer
25 views

ERC20 token balance is always zero

I'm writing a pre-minted ERC20 token contract derived from openzeppelin-solidity like: pragma solidity >=0.4.24; import "../node_modules/openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; ...
0
votes
0answers
13 views

how can I transfer ERC20 tokens from user address to other user address using web3.js and ethereumjs,

This is code I have used to send tokens to other account from token holder account. below code is working, transferring token from contract address. Tokens: 500000 A Account having : 1000 Tokens B ...
0
votes
0answers
25 views

Could we know if an address contains a specific token via Etherscan API?

I tried this, http://api.etherscan.io/api?module=account&action=txlistinternal&address=0x2c1ba59d6f58433fb1eaee7d20b26ed83bda51a3&startblock=0&endblock=2702578&sort=asc&apikey=...
0
votes
1answer
9 views

linking the CoreContract and the ERC20 token contract

What is the standard way of making the link between our CoreContract and the ERC20Token contract used by the Core Contract? Are people used to use inheritance like: MyCoreContract is MyERC20Contract { ...
0
votes
1answer
18 views

Staking of coins

I have a question on staking of coins. Suppose there are 10000 tokens in a user wallet, and he wants to put 5000 tokens on staking for a certain time period (i.e That 5000 tokens should go to an ...
0
votes
1answer
22 views

Publish a ERC-20 based token in a private chain [closed]

What are the steps to follow if I want to publish a Togen generated token. Into a exchange platform. The goal is something realted to be able to buy my own token with real money, using a platform like ...
0
votes
0answers
20 views

Is ERC20 the only widely used standard for creating an Ethereum based token? [on hold]

I was wondering if there were other popular standards that are in use for creating tokens. I read about a standard for non fungible tokens(ERC721). Are there more? If so what are their purposes.
0
votes
1answer
34 views

Can't send ETH to ERC20 contract [closed]

I have ERC20 contract pragma solidity ^0.5.7; library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal ...
0
votes
1answer
10 views

Why contract owner balance 1Token instead of 1000000 in Metamask

I made contract ERC20 token MTCZx https://ropsten.etherscan.io/address/0xf9471198b6f9c364f41Ea66e9a3F8daA637Ee77C#code which can sell MTCZx tokens for ETH. When I deployed it I make query to ...
0
votes
1answer
32 views

About issuing token on private ethereum chain (POA Consensus )

I'm trying to create a private POA ETH chain and then issue my own token on it. I have some questions about how to make the whole system work. The one question is that after I have a private chain ...
1
vote
1answer
22 views

BigNumber Error: new BigNumber() not a number: [object HTMLInputElement]

Getting this Big Number error when trying to update my token price.Seems like a Javascript issue with the number size being passed.Anyone know a fix for this? //Javascript priceChange:function(){ App....
1
vote
1answer
37 views

transfer ERC20 Tokens by web3

I'm a beginner of ethereum. I have seen some solutions. I can use sendRawTransaction to transfer costumed tokens from one account to another account. But my boss asked me to use ERC-20 "transfer" ...
0
votes
0answers
14 views

How do I send 0.1 tokens from the Parity client to another address using a custom gas price and CLI only?

How do I send 0.1 tokens from the Parity client to another address using a custom gas price and CLI only? Hi, I want to send 0.1 tokens from my Parity client running on Ubuntu to another address. I ...
2
votes
3answers
35 views

ERC721 Tokens - Hold ETH in the token?

Would it be possible to create a ERC721 Token for say a game item, but I want the Token to basically have ETH inside the token, so that a user could destroy the token to reclai
0
votes
1answer
27 views

Erc20 token smart contract fallback function is disabled, how can I enable it? [closed]

There is a payable fallback function available now on my smart contract, but I want to function it like if someone send 0.01 / 0.05 / 0.10 / 0.50 / 1 ETH and the contract will automatically send the ...
1
vote
1answer
28 views

How to access a smart contract function protected by access rights using Web3?

I have a smart contract address for security tokens, and certain functions of it are protected by access rights, for which I have an address to access those functions, however I am not able to figure ...
2
votes
2answers
40 views

Best way to create identity contracts for organisations

What is the best way to create identity contracts for organisations based on their information like name, address, organisation type(buyer/seller) etc. I have tried using factory pattern to create ...
1
vote
1answer
17 views

Is it possible to find a specific statistic for each token?

I'm trying to create some sort of statistic generator related to ERC20s. Let's assume you have 10,000 Token A. I would like to tell users something like: "better than 0.5% of the accounts". Basically ...
0
votes
2answers
20 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
2answers
20 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 ...
1
vote
1answer
24 views

add fields to ERC721 tokens, still belongs to the standard?

if starting from the code of an erc721 token, I add fields beside the name, symbol and URI, is it still a token that respects the standard? Add in the contract, not in the JSON file. The most ...
0
votes
1answer
31 views

Is it possible to transfer tokens from one Multisig Wallet address to another Multisig Wallet?

First, the multisign wallet has a number of tokens which I want to transfer to another Multisig wallet. Is it possible? If yes then how?
0
votes
2answers
18 views

Create token with address and fields

I would like to know if it is possible to create tokens that have a different address or id for each one. I need to create a series of "objects" with the same structure but with the values of ...
1
vote
0answers
27 views

Invalid JSON RPC response on IOS build with Infura

I am developing a mobile DAPP using ionic frame work, everything was fine when I testing on the browser. However I try to build my app on IOS, and run it on my Iphone7, the web3 doesn't work(did't ...
0
votes
0answers
7 views

Is it possible to do vote and participate in crowd-sale using Forwarder address?

Currently, I am using Metamask (Ropsten TestNet). And I want to implement one voting cum crowd-sale process, the scenario is given below: Want to make the voting process in this if Voter is voted to ...
2
votes
2answers
27 views

Create multiple tokens and manage multiple wallets from the platform

I'm new to blockchain and Ethereum, I currently started researching about to work on a new project. I wanted to ask for advice on what should I use or what it will fits better for my use case: In my ...
1
vote
0answers
29 views

Pre-Sale receives error: Canceled - Warning! Error encountered during contract execution [execution reverted]

I have 2 contracts The first one cretes a token contract The second creates pre-sale contract Pre-sale contract created with 0.5 eth for paying for gas When trying to send 0.5 ethereum to pre-sale ...
0
votes
0answers
46 views

ERC20 token transfer transaction reverted

I'm trying to transfer token using ERC20 token transfer method using web3.js (version: 1.0.0-beta.37). I could successfully transfer tokens with Remix as the method is working fine. However, I got the ...
0
votes
1answer
12 views

Which exchanges are currently the best and easiest to list ERC-20 tokens on?

Which exchanges are currently the best and easiest to list ERC-20 tokens on? Hello, I am issuing ERC-20 tokens at the moment. Which exchanges are the best and easiest to list tokens on at the ...
0
votes
0answers
15 views

vm error: revert. revert the transaction has been reverted to the initial state

function withdraw(uint256 amountToWithdraw) public payable returns (bool) {         // Balance given in WRC         require(__balanceOf[msg.sender] >= amountToWithdraw);         require(...
0
votes
1answer
21 views

How to send tokens to a address with a specific contract? [closed]

I want to send tokens from my wallet to a crypto-currency exchange website wallet with a specific contract used by the crypto currency exchange website. For example- I want to send token to this ...
0
votes
0answers
19 views

EIP618 examples?

So the ethereum URI spec is drafted in EIP681: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-681.md However I can also see this other document: https://eips.ethereum.org/EIPS/eip-681 First, ...
0
votes
1answer
84 views

Set Price for ERC20 Token [closed]

I have an ERC20 Token that i have deployed and now have transferred it to about 100 addresses. Now the price shown on my Etherscan for my token is $0.00. When i search through the top ERC20token like ...
0
votes
1answer
28 views

buytoken function with erc20 interface

I was following a tutorial that can buy erc20 tokens and I'm now stuck with transferring tokens to a buyer account which I need more clarification. So basically, a buyer account is trying to purchase ...
1
vote
1answer
76 views

Wrapping Cryptocurrencies for interoperability sake

How is it possible to standardize bitcoin and wrap it to the ERC20 format, creating smart contracts for Bitcoin. This should make it easier to write smart contracts that integrate bitcoin transfers ...
1
vote
1answer
19 views

Pros & cons of enterprise volatile/stable ERC20 usage and likelihood

What are the pros and cons for a business to accept a stable/volatile erc20 token as means of payment? and what is the likelihood of such? I assume a business would always prefer a stablecoin over a ...
1
vote
1answer
69 views

List of Stablecoins built on Ethereum

What are some stablecoin projects built on Ethereum and how do they distinct between each other?
0
votes
1answer
31 views

Possible for a ERC-20 contract owner to freeze tokens?

Is it possible for the contract owner of a ERC-20 token contract to freeze tokens in a third party’s ethereum address? Sounds stupid, but our project member decided to send a small amount of tokens ...
2
votes
1answer
51 views

Update Solidity - 0.5.4 (ERC20 + ERC677)

I'm trying to create an ERC20 Token that can send Tokens to a Receiver Contract similar to how ERC223 does and i decided to try ERC677 but i can't understand how to update this code to match Solidity ...
0
votes
1answer
40 views

Out of gas error while receiving tokens

I have an issue: I want to receive some BOKKY tokens to test it. When I use simple wallets I just send ethers and receive tokens, everything works fine. I also have my own smart contract (multisig ...
0
votes
0answers
13 views

Which blockchain is more suitable for Security Tokens release

There are a lot of blockchains. Ethereum was the most used for issuing tokens for ICO. Now there are STOs which have their own requirements and functionality. Will Ethereum will still be good for ...
0
votes
0answers
23 views

How to flush token to another contract from token holder's token balance from ERC-20 contract?

I have to implement the following scenario: - One ERC-20 token contract. - Another contract which will flush tokens of ERC-20 tokens. - Add these tokens to one, defined Admin address. Note: All ...
-1
votes
1answer
21 views

How can a company be benefited using utility tokens? [closed]

Are there any profits for a company having ERC 20 tokens, if the token price gets hiked?