Questions tagged [erc20]

ERC-20 is a smart contract standard defining an interface and a set of rules for development of fungible tokens on the Ethereum platform.

462 questions
0
votes
1 answer

While connecting to Rinkby test network its giving me error genesis mismatch

I tried to connect to the Rinkby test network on Ethereum by using the command: geth --rinkeby --rpc --rpcapi="personal,eth,network,web3,net" --ipcpath "C:\Program Files\Geth" but it's giving me this error message: Fatal: Error starting protocol…
0
votes
1 answer

How do I modify the behavior of specific payable function calls with my token in Solidity?

Say I want to make it so certain wallets can never, ever receive my token, or maybe so that interactions with a specific, known malicious contract, or broken functions on an otherwise working contract on chain always revert. How do I go about doing…
0
votes
1 answer

How do we get (on Remix) the bytecode of a smart contract that has to make use of libraries?

I am using Remix for compiling a simple ERC20 smart contract, and I would love to make use of libraries such as SafeMath. Do you know how to get the bytecode for a contract like this…
0
votes
1 answer

cURL error [0]: Failed to connect to 127.0.0.1 port 8545: Connection refused

I am using laravel package(furqansiddiqui/erc20-php) for erc20 token transfer, But i am getting error when execute the code $geth = new EthereumRPC('127.0.0.1', 8545); $erc20 = new ERC20($geth); $token =…
0
votes
1 answer

Is it feasible (In terms of gas cost) to call a function of deployed contract from other smart contract on mainnet (ethereum)?

I need to call the transfer function of my deployed ERC20 token in a new contract which needs to be deployed on mainnet. I want to know would it be feasible or it will be requiring a lot of gas and in turns high transaction charges.
ska
  • 26
  • 2
0
votes
1 answer

Why are these Ethereum Contracts not sweeping USDT?

I have an Eth contract, called the controller, which is used to: Generate new eth deposit addresses, one for each user, which is an eth contract as well. Sweep these deposit contracts when a user deposits eth or erc20 token to them. The funds end…
0
votes
2 answers

creation of CREDITS errored: Error: [ethjs-rpc] rpc error with payload {"id":291279815469,"jsonrpc":"2.0","params"

Error in code I built yesterday I'm using remix -> METAMASK Ropsten testnet pragma solidity >=0.4.19 Error content: creation of CREDITS pending... creation of CREDITS errored: Error: [ethjs-rpc] rpc error with…
0
votes
1 answer

CRIT 002 Failed to initialize local MSP: could not load a valid signer certificate from directory /var/hyperledger/orderer/msp/signcerts

I try this toutorial https://github.com/grepruby/ERC20-Token-On-Hyperledger node: v8.11.4 go: go1.12.6 darwin/amd64 hyperledgerfabric: ? (maybe 1.2.1) Python3.4 When './buildERC20TokenNetwork.sh up' command executed, the error occur. Error: failed…
OnePoke
  • 1
  • 1
0
votes
1 answer

Possible to Integrate IOS app with ERC20 token

Is is possible at this point to integrate an IOS app with an ERC20 token on the ethereum network. There seems to be a library called web3.swift that allows for integration with Ethereum. Maybe this is the way to go but don't know if it is ready for…
Arjun321
  • 89
  • 1
  • 8
0
votes
1 answer

How to integrate a erc20 token function, to make transfer token and check balance?

Im using java, web3j library, i am able to create wallet and integrate sendTx and balance checking function with ethereum, but i want to send erc20 token out of it, how can i accomplish it?
Lance Leroy
  • 399
  • 4
  • 7
  • 17
0
votes
0 answers

RawTransaction stuck at the pending status endlessly

I've successfully pushed a rawTransaction to Ropsten network via infura. But, when I checked on EtherScan the corresponding transaction it kept showing the "pending" status endlessly, I noticed that the token transfer it looked strange. Please see…
David
  • 607
  • 1
  • 6
  • 19
0
votes
1 answer

How to send ERC20 token using web3 library

I want to implement a send ERC20 token function in my crypto wallet, and this is the function that I found on the internet shown as below. sendToken() { let toAddress = "0x5077174D79d9491AF15Dcf7D1496638D6062A011"; …
David
  • 607
  • 1
  • 6
  • 19
0
votes
1 answer

The actual amount of the token owner not shown as expected

I created an ERC20 SC, this is the initial supply amount 100000000000. But, when I run unit test (truffle test) to show the total balance amount of the accounts[0] and the actual amount is 99999998877, expected amount should be 100000000000. Can…
David
  • 607
  • 1
  • 6
  • 19
0
votes
1 answer

ERC20 Token not shown on Ether Scan - Rospten

I've successfully deployed once my own ERC20 token on Ropsten network with positive result. I can see the ERC20 token contract address associated to those correspondence accounts. But, when I try to change the token name and re-deploy to the ropsten…
David
  • 607
  • 1
  • 6
  • 19
0
votes
2 answers

Custom token showing balance of 0 in MyEtherWallet

I made a new token on the Ropsten test network. Here's the contract address: 0x801fd9c17087ec868dc8540055b7ea3cb6dbbe34. When I followed the instructions to add this custom token to MyEtherWallet (by specifying the contract address, symbol and…
user3362334
  • 1,980
  • 3
  • 26
  • 58