All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

I transferred my ethereum from MetaMask to another. Private wallet

I transferred from MetaMask 0x77773e9e08cc13be0bdcc98391e650ba6c224a76 To my private wallet in coinbase 0x7817fa8a6095062691d777d255277e6e4e02abfd Status shows up success on MetaMask but nothing on ...
1
vote
1answer
5 views

What do the numbers in ERC standards actually mean?

Ethereum has ERC standards to define strict compatibility requirements on smart contracts. ERC20 is the most popular one, but there are many others. ERC standards and EIPs (Ethereum Improvement ...
0
votes
0answers
11 views

Issue with `TRANSFER_FROM_FAILED` when calling Uniswap contract - but I am approving the token!

My code is pretty simple function swapForEth(address tokenAddress, uint amountIn, uint amountOutMin, address to, uint deadline) external onlyOwner payable { require(IERC20(...
0
votes
0answers
5 views

Can I use a subnet mask with ws.origins?

I am trying to run my own geth node, as I am interested in monitoring the txpool's pending and queued transactions. I plan to mostly use a websocket connection from the same server, but it's possible ...
1
vote
1answer
9 views

Can I avoid impermanent loss if I only as a LP of BETH/ETH pair in binance?

Can I avoid impermanent loss if I only stake ETH as a LP of BETH/ETH in Binance? Is BETH's price stable? If I don't want to hold any crypto assets except ETH,what are the best DEFI options to improve ...
2
votes
0answers
7 views

Burning Uniswap LP tokens

There has been something bothering me about LP tokens and I can’t seem to find the answer. Say I make my own token and raise $1000 in ETH in presales (less gas fees). Then say I want to add my ...
2
votes
0answers
9 views

Why is my rebasing token balance changing over time?

I bought some tokens for my wallet and noticed the quantity changes very slightly over time. I’ve seen this happen with several tokens, Im not sure why. Is this related to the way the getbalance ...
1
vote
1answer
10 views

Can Solidity generate an image from a string?

I've been researching on this but didn't get answers. Is there some way to put together a solidity contract that takes a string and generates an image file for the string based on some logic defined ...
0
votes
0answers
4 views

How can I pass instance of provider and contract to all of my React components?

I have done the hardhat greeting tutorial found here and it was very helpful. To continue learning, I am building a slightly more advanced project that uses multiple react components. One thing that ...
1
vote
0answers
3 views

How do you monitor Geth with Prometheus or InfluxDB?

I've read the v1.9.0 and v1.10.0 blog posts: https://blog.ethereum.org/2019/07/10/geth-v1-9-0/ https://blog.ethereum.org/2021/03/03/geth-v1-10-0/ I didn't read that any of the monitoring features ...
0
votes
1answer
11 views

Why do all inherited functions (ERC20) fail?

// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; contract MyToken is ERC20("MyToken", "MY") { /** ...
1
vote
0answers
11 views

How is uniswap/sushiswap distributing their fees?

As i know, Sushiswap is collecting a 0.3% fee that is then divided into two parts 0.25% goes to LP providers 0.05% goes to treasury for burn note, 0.5% isn't indicated but I suppose that's the case ...
1
vote
0answers
9 views

Is it conventional to host your dapp on a subdomain (e.g. app.uniswap.org), and why?

I've noticed the design pattern of having an enter app button from the home/landing page which opens the dapp in a new tab is quite common. This is something that I don't see in Web2 design. Is there ...
0
votes
0answers
4 views

Best way for two contracts that know each other's address?

Example situation: contract A calls a function from contract B contract B only permits only contract A to call the function (no other address allowed) I know I could do this: deploy contract B ...
0
votes
0answers
6 views

EIP20 Token creation error in REMIX :Error encoding arguments: Error: invalid address

Im new to creating tokens and I'm having a problem with this code of EIP20 :
0
votes
0answers
5 views

Problem to connect my DAPP to Rinkeby smart contract

I make small samart contract using Remix and Ganache. I deploy it to Rinkeby test net and got problem to connect my dapp (small web site) to it. My web3 require. const Web3 = require("web3") ...
0
votes
0answers
10 views

easier way to debug a NPM truffle project?

I'm using open zepplin to try to code these forks and contracts and i cant seem to get NPM to configure correctly. I have tried all of these types of things. 1. Uninstall and global reinstall NPM ...
0
votes
0answers
5 views

Load Contract From Address Remix

I deployed a smart contract and was working on it when my laptop decided to shut down, my saved smart contract was gone. I have my contract address and my contract source code. However I can't seem to ...
0
votes
1answer
10 views

GAS FEES DIVISION WITH swapAndLiquify Function [Solidity]

I community, i'm trying to set the gas fees optimization for the delfationnary token im about to launch asap but quick question to be sure. I set the fees at 10% like so 5% for the pool 5% for rewards ...
0
votes
0answers
11 views

Is it possible to view the liquidity pool balance of a certain address?

For example in PancakeSwap I added a liquidity to ETH/USD having deposited 0.1 ETH and 100 USD. Using Web3, is there a way I can see those deposited tokens if I know the smart contract address of the ...
0
votes
0answers
8 views

how much is the gas fee when forking uniswap with @openzeppelin/contracts?

I have tested it on remix , but in truffle is there anyway you can spend less? people have said it was 500 $ seems steep, if it's the truth is what i am curious of. has anyone successfully done it?
0
votes
0answers
12 views

Issue executing function transferOwnership(address newOwner) for ERC-20 token contract

I'm trying to execute the function transferOwnership(address newOwner), to change the owner of an ERC-20 token contract to a new owner address (I have access to the current owner address & the ...
0
votes
0answers
11 views

FTM network transaction takes way too long to confirm only when sent from Web3.py

I'm having a pretty odd issue with Web3.py and the FTM network at the moment. Transactions I send from the UIs of swap protocols confirm in no time (~1-2 seconds). However, if I send the exact same ...
0
votes
0answers
15 views

Determine number of holders in solidity

I saw a lot of questions over the internet on how to determine the number of token holders in solidity and everybody says that its impossible to be determined without interacting with a solution that ...
0
votes
0answers
13 views

Tried to Swap USDT for BUSD in OpenOcean DApp

So I screwed up and need help for my next steps. I tried to swap USDT (ERC20) for BUSD (BEP20) and the OpenOcean gave me an error like it didn't have enough gas, so I tried it a few more times with ...
0
votes
0answers
4 views

Modify block number when testing with Hardhat

I see that is it is possible to define the timestamp of the next block (see here) in this way: await network.provider.send("evm_setNextBlockTimestamp", [1625097600]); await network.provider....
0
votes
0answers
7 views

Sign smart contract offline

I want to sign my contract offline (I have ABI and Bytecode) and then broadcast it to the network. I found this code that is quite good : https://gist.github.com/cicorias/...
0
votes
1answer
11 views

Where can ı find full funticon BEB20 Solodity [closed]

I will like to write smart contract but some of full funticon Solidty file
0
votes
0answers
4 views

Search function being called in a contract

Is it possible to find if a function was ever called in a contract? Etherscan provides the Method being called on a transaction for a smart contract so is there any way to filter for a specific Method?...
0
votes
0answers
9 views

Web3.js: Subscribe logs to get new contracts

I want to create a script that always notifies me if a new contract is created. My idea was to look for the "PairCreated" function. To validate if that is correct I have tested it with a ...
0
votes
1answer
10 views

Adding a binance smart chain on metamask results in same address for Eth and BNB, how does it work?

Creating a trust wallet account gives different addresses for different currencies
0
votes
0answers
12 views

How to convert TRX to USD in solidity?

I need to convert TRX to USD in solidity for a project. Earlier I used Chainlink's AggregatorV3Interface for BNB to USD. But there is no resource for TRX there. Any help would be appreciated.
0
votes
0answers
6 views

How to add my custom BNB Token on my shopify or woo-commerce store

I have created my own custom BEP20 token on Binance smart chain and want to add it as a payment method on my Woo-commerce or shopify store. Actually my store is running on shopify and it would be good ...
0
votes
0answers
10 views

Binanca Smart Chain Token i didnt get

The contract token account that I created BSC did not come, I also created 1000000000 and 1001 came to me. contract BEP20Token is Context, IBEP20, Ownable { using SafeMath for uint256; mapping (...
0
votes
0answers
7 views

Using pyuniswap.py and web3.py transaction error

I am using pyuniswap.py to trade on BSC. This worked perfectly till I tried the sell() function. Every sell transaction failed. This does not happen with the buy() function. I think the error must be ...
1
vote
0answers
9 views

Solc compiler shows only one compilation error at a time

The solc compiler reports only one error at a time. Is there any way to get the list of all errors in the sol file?
0
votes
0answers
8 views

Everytime I update a file with Sublime Text 3 it changes permissions in Ubuntu 18.04

I'm new to this stuff, trying to go through a Solidity tutorial on YouTube where you create an ERC20 token. I am on Windows 10, I downloaded Ubuntu 18.04, Truffle, and Sublime Text 3. The issue I'm ...
0
votes
0answers
16 views

Not able to understand migration file for Crowdsale in ERC20

I am trying to understand nuts and bolts of the simple CrowdSales in ERC20. In the simplest way, we have a smart contract that mint the fixed number of tokens (SimpleToken) and then we have the ...
0
votes
0answers
5 views

How to inspect a web3 application?

I am trying to understand how does https://charts.bogged.finance pull data. It seems that it fetches historic data from bitquery.io and then somehow pulls transaction data using web3. Can anyone ...
0
votes
0answers
14 views

smart contract payout scheme

recently I found myself working on a project that might just be perfectly suited to attach a token model to. For this to work, however, I need some knowledge on the feasibility of one of the aspects. ...
0
votes
0answers
7 views

Pancakeswap trading bot problems

So I tried to run this bot - https://github.com/jklepatch/eattheblocks/blob/master/screencast/348-pancakeswap-trading-bot/bot.js When I try to run this I got error in console - (node:8896) ...
2
votes
1answer
12 views

How does a Proxy contract communicate with the underlying Implementation?

When a user interacts with a proxy contract, they send a transaction signed by themselves to that proxy. My question is, how is that transaction communicated to the underlying implementation contract? ...
0
votes
0answers
10 views

Not able to connect metamask to custom network

App = { web3Provider: null, contracts: {}, account: 0x0, init: async function() { return await App.initWeb3(); }, initWeb3: async function() { if(typeof web3 !=='undefined'){ ...
1
vote
0answers
4 views

I set up metamask and added tokens. Now my Metamask shows Not Connected

How do I get it connected? I can see my tokens and all of my information, but it still shows "not connected".
0
votes
0answers
17 views

Gas estimation failed when trying to get flashloan from Multiplier (on bsc)

I get a pop-up window every time when calling flashloan function says Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force ...
0
votes
0answers
11 views

Blockchain Node

I am looking for some answers on what information is considered on-node? If I setup a full node, will I get all the details (internal transactions, smart contracts, mempool) from that node. I might ...
0
votes
0answers
6 views

parsererror source file requires different compiler version (current compiler is how to fix this error

I am new to this and was able to successfully compile and deploy a token onto the BSC mainnet using the following code but now I am trying to make some adjustments and re deploy but now I am not even ...
1
vote
0answers
6 views

Is necesary pass a Dapp to mainnet or in testnet is ok for a production smart contract process?

Because the client Dapp propietary don´t have real Ether, only Ropsten test Ether via faucet.ropsten.be/ is necesary buy Real Ether to preserve smart contracts in ethereum or in Ropsten testnetwok is ...
0
votes
0answers
4 views

Need to create WS Infura connection with JWT

Im developing a web app in which I connect the client with infura using ws and the project id, but I also need to use JWT in order to add an extra layer of security. There are explanations in infura ...
0
votes
0answers
13 views

Is It possible to create a token ERC20 it settles on date in another token ERC20?

Is It possible to create a token ERC20 it settles on date in another token ERC20? A token that when it arrives on a certain date automatically expires from the wallet and then a new token is delivered ...

15 30 50 per page
1
2 3 4 5
684