All Questions
2,867 questions
0
votes
1
answer
1k
views
Error in creating instance of deployed contract using truffle console
I deployed Token and Crowdsale contract in separate migration files. During Migration, there was no error. Migration logs are share:
Running migration: 2_deploy_token.js Deploying DappToken... ......
0
votes
1
answer
578
views
Unable to verify if a contract's tokens is greater than the requested amount by ther buyer
I want to explain you the problem so that you don't need to read the whole files. BirTokenSale contract is trying use the tokens given to it by another contract ,BirToken contract, and send the money ...
0
votes
0
answers
21
views
ETH to RXS token exchange showing incorrect balance in Coinbase wallet
I exchanged ETH for RXS finance at 0.06 and 0.08. About $5200 total worth. I have just above 62000 RXS tokens showing in my Ethereum Coinbase wallet after all fees, but value balance only shows $430 ...
0
votes
0
answers
2
views
flashbot bundle to claim ico tokens
Does anyone have a flashbot bundle to claim ico tokens from a hacked wallet? Would love an example that has worked for them. Would need eth from third party wallet to fund the bundle. I do have ...
0
votes
2
answers
795
views
Testing smart contact with hardhat
I try to test my smart contract with hardhat. At first I am forking the polygon mainnet like this:
npx hardhat node --fork https://polygon-mainnet.g.alchemy.com/v2/...
after this I can run the test ...
0
votes
1
answer
577
views
JsonRpcEngine: Response has no error or result for request:
I tried to deploy my smart contract on bsc testnet but it failed. Please explain where it went wrong.
1
vote
3
answers
1k
views
How can I collect the tokens inside smart contract that people will send accidentally?
I have an ERC20 token XYZ smart contract created. People will send certain amount of tokens back to the contract address to initiate certain functions. I just want to know that what will happen if ...
1
vote
2
answers
732
views
Send custom ERC20 tokens and deduct gas from master/another wallet
What I have currently -
Master wallet : Contains ETH balance
Deploys ERC20 contracts to mint custom tokens.
User wallets : NO ETH balance
owns tokens of the deployed contract.
Contract : Custom ...
1
vote
1
answer
392
views
ERC20 token that prevent all wallets from holding more than 1% of the total supply, but with exceptions to some wallets?
I want to create an ERC20 token that prevent all wallets from holding more than 1%,
the reason for this is to prevent holders from holding big quantities in one single wallet(they can hold in more ...
0
votes
2
answers
664
views
Recover tokens from base Network to Ethereum mainnet
I just sent a few days ago some Ethereum through base Network because the fees were low to an account that's does not support Base. My private keys are held by the exchange because it's a custodial ...
0
votes
0
answers
5
views
Recover non-listed token from the Binance exchange (Base Network)
Can anyone help? I transferred some tokens from the Metamask base network wallet to the Binance Exchange (not web 3 platform)base network but later, I found that the token was not listed on Binance, ...
0
votes
0
answers
10
views
How to recover a tokens in base network that was sent to a non listed exchange in base network
Can anyone help? I transferred some tokens from the Metamask base network wallet to the Binance base network but later, I found that the token was not listed on Binance, and Binance customer care said ...
1
vote
2
answers
358
views
(error_10) Please enter a valid data value (Must be hex.)MyEther Wallet
I'm trying to deploy a smart contract on Myteherwallet but getting an error while deploying the byte code of the smart contract which is written in solidity remix IDE.
I have even tried to change the ...
0
votes
0
answers
8
views
Two of my transactions were not completed
Two of my transactions were not completed but I was charged for them. How do I get the fees back? It's around $25.
1
vote
1
answer
56
views
How to make my protocol token erc20 compatible?
I'm currently working on a DeFi blockchain project and we need to be listed on DEX. How can I make sure my token is ERC20 compatible and compliant to DEX norms?
0
votes
0
answers
17
views
Unsellable token that is transferable
Made the mistake of getting a small amount of an unsellable token on Uniswap. Here is the contract: 0xDa2E903b0B67F30BF26bD3464f9EE1a383BbbE5F
There is still plenty of liquidity in this token.
Uniswap ...
1
vote
1
answer
329
views
web3.admin.addpeers return BigNumber Error
When I using ethconsole to deal with a private chain. I hope it can connects to another node which I get the node information.
But the command "web3.admin.addPeer("enode://[email protected]:30304",...
0
votes
3
answers
596
views
What is the contract address of a deployed token?
A bit new to ETH development. I am trying to create a contract that helps me receive tokens of a particular address on the ETH network. For testing purposes, I am creating my own Token on the testnet ...
1
vote
2
answers
327
views
How get the mint price from contract and max supply not total supply
I wanted to get the Mint price from nft i tried getting it from abi but it's not effective since different contracts has different names for it so how can i find the set mint price from contract in ...
2
votes
3
answers
2k
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 ...
2
votes
2
answers
2k
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
1
answer
512
views
from brownie import Token, accounts
Error is cannot find Token
Exception has occurred: ImportError cannot import name 'Token' from 'brownie
However Token JSON file exists
brownie bake token worked
1
vote
1
answer
2k
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 ...
0
votes
0
answers
5
views
Problems in experience of blockchain splitwise
When I was running code of this splitwise code by using "npx hardhat run --network localhost web_app\script.js",but it answered back with the fault:"cannot find module abiDecoder",...
0
votes
1
answer
567
views
Number of NFT tokens to mint
I see that many smart contracts for minting NFT tokens use a function that accepts the number of tokens to be minted, here are examples:
function adopt(uint256 num) public payable
function mintAlien(...
3
votes
1
answer
2k
views
Hundreds of Millions of Dollars Locked at 0x0 Address and Smart Contracts’ Addresses — How, Why and What to do?
Some numbers about locked money and they are still increasing:
Tokens with a value of $164,817,747 is locked at 0x0 address.
Ether with a value of $9,587,230.24 ($1,327.04/ETH) is locked at 0x0
...
0
votes
0
answers
14
views
How do I access usdc erc20 tokens I received
I received usdc tokens on eth erc20. i can see the transaction in my coinbase wallet and I can find it on etherscan but I don't know how to withdraw the usdc or what to do with it. This is all new to ...
1
vote
1
answer
18
views
200k worth of neiro tokens stuck in the wlf contract
I accidentally sent the wrong coins (NEIRO) to my contract (WLF). Is there any way to retrieve them? (worth $200k right now)
From what I saw in the contract, there is only the manual swap option, but ...
0
votes
1
answer
326
views
How do you validate a Token is USDC or any specific Token?
For my usecase I want to check if msg.value, sent to my smart contract, is actually 10 USDC and not any Shitcoin.
Is this done with the approve function of ERC20 interface? Because right now I have ...
1
vote
2
answers
1k
views
Snapshot of balances of all token holders at a particular block
Is there any way to get a snapshot of balances of all the token holders or the holders list at particular block. Looking for some API or tool other than web3 way to iterate over all the Transfer ...
0
votes
3
answers
1k
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
2
answers
777
views
Transferring ERC721 tokens with web3j using an operator
I've been struggling using web3j (the web 3 Java library, not JS) transferring ERC721 tokens from one user to another, using an operator. I get that we need to approve the operator from the user that ...
0
votes
2
answers
331
views
Gas Less ERC-20 Token Minting
How can I create ERC-20 token on Ethereum blockchain without paying gas fee using Remix.ethereum.org
Please provide code to help
I saw Zeroswap DEX allow us to trade without paying gas fee.
0
votes
1
answer
2k
views
Missing token - Filtered by token holder?
I tried to swap Gfarm2 to Eth, but didnt received my funds, despite it telling me that transaction has been a success. Looking at etherscan it says "FILTERED BY TOKEN HOLDER". what does it ...
2
votes
2
answers
2k
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
2
answers
1k
views
Assertion error running truffle test
I can't seem to understand where this error comes from. Maybe someone can help
My token solidity file :
pragma solidity >=0.4.2 <0.6.0;
contract LairToken {
//Name
string public ...
0
votes
1
answer
152
views
INTN Token Scam - Cannot sell it back
I recently bought some INTN tokens on Sushiswap on this address:
https://www.sushi.com/bsc/swap?token0=NATIVE&token1=0xc2F2aa856b78fdE3Da3CA3999d23011525727736
As you can see the token address as ...
0
votes
1
answer
7
views
In my tokens asset I have one token which values is shown in us$ but how I can sell that token
In bscscan it is showing total tokens and value of that tokens, one token is such that the value showing in 100$ but how can I sell that token. I am not getting any rate of that tokens in metamask. ...
0
votes
1
answer
418
views
How do I write smart contracts that are LP tokens?
I'm very new to blockchain and DeFi, and I'd like to ask a questions regarding LP tokens.
If I wanted to list 4 LP tokens, with farm reward proportions of: 80/60/40/20, how do I go about writing them? ...
0
votes
3
answers
539
views
how can i send a transaction in spesific block numbers with web3Js?
I wanna know how to send the transaction in spesific block numbers with web3js ( Yes its for sniping bot )
The purpose is to avoid the tax in 1-3 blocks since liquidity is added
For example :
New ...
3
votes
2
answers
4k
views
Fetch ERC20 Token Balance for given address using Web3 Python
I’m desperately looking for a method that allows me to retrieve all token owned by a wallet using python. I should insert the wallet address as I put and the code should return the list of the token ...
0
votes
0
answers
23
views
ERC-20 Token Lookup
I am looking for an ERC-20 token with only the Name (Ticker), but when I search that up on Etherscan I come up with many many options.
Is there any way yo look these up by other criteria such as ...
4
votes
2
answers
15k
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?
0
votes
1
answer
601
views
Cannot swap eth for exact tokens: TransferHelper: ETH_TRANSFER_FAILED
I can't swap eth for exact tokens because of the error...
Error: Returned error: VM Exception while processing transaction: revert -- Reason given: TransferHelper: ETH_TRANSFER_FAILED.
The code, I ...
0
votes
1
answer
639
views
Contract Interaction and Batch Transaction with Web3
I've reviewed most all of the posts on this topic, but none of the answers are doing exactly what I need.
I have an application that allows users to submit their tokens from their contract into my &...
1
vote
3
answers
888
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
2
answers
59
views
Why is my transaction showing as 'success' but the value is 0 ETH ($0.00)?
I am new to the bitcoin world and any help would be appreciated.
Transaction hash: 0xfba22d3b6d047bbd81d25dd5d6ef3f070f57f79abeaeb4de49e7dc605ab4cb7c
If I was scammed, is there any way to recuperate ...
0
votes
0
answers
11
views
How to make remove a token that uses my name?
is my case: let's assume that someone deployed a token with the exact name of my website with also the exact .extension, is there a way to make it remove?
1
vote
2
answers
794
views
Prevent Transfer of ERC20 token to contract address?
I want my ERC20 contract to be transferred to EOA addresses only and some specific contract address only.
I don't want to lose my tokens by mistakenly transferring to a contract address that cannot ...
0
votes
1
answer
1k
views
Warning! Error encountered during contract execution [execution reverted]
I have an ERC20 Mintable+Burnable Token created on solidity 6.11 and a sale contract on solidity 5.0
I am getting error when i send ETH to the sale contract.
https://rinkeby.etherscan.io/tx/...