Questions tagged [transfer]

The tag has no usage guidance.

102 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
920 views

What is the difference between ERC-2665 and what is proposed in EIP-2981? Royalties vs Transfer Fee

There is an EIP for Royalty standards. But there is already a ERC for a Transfer Fee Could ERC-2665 be used to implement royalties across all market places for NFT? What is the difference between ...
Bard Ionson's user avatar
3 votes
0 answers
533 views

Bypassing metamask notice about "Insufficient funds for gas"

I wish to make a transfer of the remaining ETH from one wallet to an other. Trying to do it from metamask, it prevents me to do so with the "Insufficient funds for gas" error. Event though ...
challet's user avatar
  • 131
2 votes
1 answer
27 views

How can I send an NFT automatically when someone clicks on the claim NFT button?

I am working on a quiz site but I want the winners and participants to receive NFT at the end of the quiz. But I do not want to manually sign the transactions. I understand I can use ethers.js and use ...
Coding_templar's user avatar
2 votes
1 answer
123 views

Solidity Clones Contracts: How to save deployer as a storage variable which can be called in created clones?

I am using the OpenZeppelin Clones Library so that users of my dapp can create clones of my implementation contract. My dapp will be following the EIP-1167 standard. For functionality, I will need to ...
ethereumboy's user avatar
2 votes
2 answers
627 views

Send ETH using ethersjs without private key

Most tutorials I googled need wallet's private key to send ETH, such as this. How can we send ETH without knowing the private key using ethersjs? So, that user can just call their MetaMask and send.
ratib90486's user avatar
1 vote
1 answer
20 views

Why don't ETH transfers cost more when the recipient's balance is zero?

The SSTORE opcode has differential pricing depending on what the original, current, and new storage values are (see EIP-2200 for the full details). In short, the idea is that setting a zero value to a ...
Paul Razvan Berg's user avatar
1 vote
1 answer
56 views

How can I avoid out of gas on multiple eth transfers when looping addresses?

Hello everyone good day, I'm working on an automated eth distribution function that sends eth to all the nft holders of a determined collection (using ERC721A as standard for the nfts), it works well ...
baeza.eth's user avatar
1 vote
1 answer
48 views

Uniswap V2 Transfer Tax Math

The normal question to get the amount of token received when doing a Uniswap V2 swap is amount_out = 0.997 * amount_in * reserves_out / (reserves_in + 0.997 * amount_in) I want to adjust this equation ...
galpo's user avatar
  • 43
1 vote
0 answers
85 views

Transfer Token BSC Always Return Error

I use web3 php to connnect to BSC and it is work, unless one things that is to send BEP20 token to others wallet. I created some function like Get Balance of BNB, get Balance of BEP20 also transfer ...
Cloud Mining's user avatar
1 vote
0 answers
36 views

How to identify where coin/token value is changed

I'd like to build an algorithm that analyzes value creation, transfer and destruction on a blockchain (such as new ETH minted, ETH gas burned, ERC-20 tokens transferred, etc.). Assuming I have a ...
Michael C's user avatar
1 vote
0 answers
600 views

How to override _beforeTokenTransfer correctly?

I have an ERC721Upgradeable contract that has a predefined _beforeTokenTransfer method. I want to override it by giving it extra features, like this: function _beforeTokenTransfer( address from, ...
Falcon Stakepool's user avatar
1 vote
1 answer
21 views

What happened to these tokens?

I send some Matic token in one of my wallets to the other for cover fee of a transaction (0.05)matic but as soon as transfer succeeded, this amount transferred to another address, without any approval ...
Alireza's user avatar
  • 350
1 vote
0 answers
282 views

Invalid signature when siging EIP-712 data

I am trying call transferWithAuthorization on the USDC contract (which implements EIP-3009). To do this I need to sign the transaction data and then execute the transaction, however I am getting the ...
ljenkins's user avatar
1 vote
1 answer
50 views

How can I know wether a token can be transfered before aping in?

Other than some speficif tools (tokensniffer, honeypot, poocoin...) and project-related websites, how can I spot in a smart contract whether a token has any restriction (lock-up period, volume etc...) ...
Henryctus's user avatar
1 vote
1 answer
83 views

Cannot sell more than 1% of a token on a single transaction (BSC)

I bought this token 0x096901cE2C5501eAE23AF2D3F6e465dE98BFc645 but it seems that I cannot sell more than 1% of it on a single transaction while a lot of adresses performed bigger transactions. I am ...
Henryctus's user avatar
1 vote
1 answer
377 views

Possible to send ether to another smart contract without function call?

I've created a contract, let's call it Contract A that mints an NFT when it receives .001 Ether. This is the receive() function in Contract A: receive() external payable { require( ...
juju's user avatar
  • 11
1 vote
1 answer
190 views

How i can send my Ethereum from kovan test network to Ethereum main network

I have Ethereum in metamask which is in kovan test network so now I want to withdraw them so I want send Ethereum in Ethereum main network so I send to any crypto application
Gaurav Bishnoi's user avatar
1 vote
2 answers
383 views

Is there any way to transfer ETH in a contract function just like transferFrom for ERC20 tokens?

I know that you can request an authorization and the transfer of ERC20 tokens from a contract user to another address with approval() and transferFrom(). But it here any equivalent to do the same for ...
Sebastien VAX's user avatar
1 vote
0 answers
118 views

IERC20 safeTransfer sender issue

0 I need to transfer some amount of an especific token (100) when the "father"(TTDT01) token is used.It is some kind of tax on a "child" token (ttdttoken) when the "father&...
laxtnog's user avatar
  • 11
1 vote
2 answers
242 views

transfer money without specifying the amount

I have a list of products, each product has a price. I would like to create a function that can be called by a user and automatically checks whether the user's balance has enough money to buy the ...
sono's user avatar
  • 113
1 vote
1 answer
676 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 ...
zain101's user avatar
  • 11
1 vote
0 answers
50 views

I have a question about how to tell whether tx is 'transfer', 'call', 'create' or 'destruct'

I want to distinguish between the types of Ethereum TX. In the Ethercan, That is distinguish tx type like, transfer, contract create, contract destruct, contract call and etc... so, I check trace data ...
Minwoo's user avatar
  • 61
1 vote
0 answers
291 views

Cannot swapExactTokensForETH inside transfer of my token

I'm trying to create a token (calling it MyToken in this question) that on each transfer, it takes a fee from the transfer amount and does the following: calling the uniswap router to exchange this ...
xcsob's user avatar
  • 157
1 vote
0 answers
820 views

How to transfer an ERC1155 Matic token using Node.js?

I'm trying to write a Node script that will transfer an ERC1155 token on the Matic network from my address to someone else's address. Here's an example token: https://opensea.io/assets/matic/...
Kane's user avatar
  • 111
1 vote
1 answer
685 views

How to call .increaseAllowance() from another token

I'm deploying a contract that is the owner of a token. In that contract i want to say that the token increaseAllowance to msg.sender and the amount that msg.send have putted in arguments of the ...
The Chimpy Dev's user avatar
1 vote
0 answers
246 views

Transferring ERC20 token to a contract using custom function

I have a couple of questions related to transferring ERC20 token to a contract. I am developing a protocol that has its own token to provide incentive mechanisms. For certain operations I need to lock ...
DN_Euler's user avatar
1 vote
0 answers
332 views

Technical Question Ether to BNB transfer

I attempted to swap funds from Ethereum to BNB via the Binance Bridge feature and pancake swap via my Metamask. I was trying to send the ETH to myself. I did not have any BNB to do the transaction, ...
Femcrypto's user avatar
1 vote
0 answers
361 views

Revert error when sending ERC20 token on Ethereum mainnet fork

I am trying to send an ERC token (USDC) on the Ethereum Mainnet fork made with ganache-cli --fork. The transfer is made from the unlocked account that has both ETH and USDC balances available to the ...
Mttank's user avatar
  • 81
1 vote
4 answers
426 views

Modifying erc-721 transfer

Say I want to take a cut of an NFT each time the token is transferred. If I were to change the openzeppelin erc721 transfer function to transfer 1% of the NFTs holding to myself, can that standard ...
YoungKidWarrior's user avatar
0 votes
1 answer
18 views

How to give allowance to a contract and send erc20 between accounts

I wrote the following contract: // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract enviaToken { address public ...
CaioBonani's user avatar
0 votes
1 answer
21 views

How can I transfer an NFT that is stored on openSea programmatically?

I want to understand, how can automate sending NFTs from any thirdparty hosts for example, opensea or thirdweb directly to the user who clicks on the claim NFT button on my website. I do not want to ...
Coding_templar's user avatar
0 votes
1 answer
12 views

Enforcing holding limits on ERC721 tokens

We would like to enforce a certain limit on total amount of tokens held. Note: Tokens issued from our contract. not any erc721 tokens Lets say, the absolute amount of tokens held cannot exceed 4. What ...
PupSt4r's user avatar
  • 47
0 votes
0 answers
19 views

How to parse multi-transfer transactions

Ok, I know how to parse the 'input' field of a transaction: we look for '0xa9059cbb' or '0x23b872dd' bytes at the beginning, if found: we split the rest of the 'input' field by 64-length strings ...
remort's user avatar
  • 101
0 votes
1 answer
29 views

Coinbase / Web3 - how are they connected? Where is my balance on Web3

I am brand new. I created a Coinbase Account and started investing. I heard someone say something about web3. I don't know what this is, but I think i have money in there. As I'm still waiting to be ...
TheBlackSheep's user avatar
0 votes
0 answers
131 views

Is it possible to track Or recover money from USDT address

I have been scammed ,long story short i have sent money to an indian account and he has created an account with binance and bought USDT from my money.I have given cyber crime complaint for the same....
Hariish's user avatar
0 votes
0 answers
71 views

How it works? 4 transactions in 1 block

This address withdraws tokens from different accounts as shown above. His steps: He sends BNB to the address where there are tokens to pay the token withdrawal fee. Gas price 60 gwei Withdraws ...
Катя Иванова's user avatar
0 votes
0 answers
36 views

Tool or service to sweep extract all coins from a private key on multiple L2 chains?

Over the years I have a bunch of accumulated addresses on Ethereum and different L2's (Arbitrum, Matic, BSC, etc...). Currently I want to just consolidate all these dust amounts into a single address. ...
Patoshi パトシ's user avatar
0 votes
0 answers
19 views

Does vyper's `send` function have the same issue as solidity's `transfer`?

In solidity it's bad practice to use the transfer keyword because of how gas costs are subject to change, and the transfer function has it's gas costs hard-coded. Does vyper's send suffer the same ...
Patrick Collins's user avatar
0 votes
0 answers
368 views

How to get the list of all ERC20 token transfers in a block?

I am trying to get the list of all ERC20 token transfers made in a block including contract address, from, to, and value. The list should be something like this: { blockNumber: 15000000 contracts: ...
M. Azyoksul's user avatar
0 votes
0 answers
42 views

Transferring eth from a geth/attach wallet

A few years ago I made a miner for ETH. I set up a wallet using geth/attach and started mining. Being a total noob, I didn't/don't know what I was/am doing so I have problems accessing my eth. So the ...
Neeoth's user avatar
  • 1
0 votes
2 answers
200 views

Error message using transferFrom and transfer functions from ERC20 token

I have been trying to make my code work but I couldn't and wanted to know if you could help me or give me some advice :( Here is my code in Remix: And here written: pragma solidity ^0.8.18; import &...
Enzo Roselli's user avatar
0 votes
1 answer
30 views

I need to understand how to give deposit and withdraw permission to an aragonOSx plugin

I'm currently looking at the DAO.sol contract and I cannot find: the specific permission I need for the deposit function (so that I can deposit assets into the DAO). any withdraw function so that I ...
juliette_chevalier's user avatar
0 votes
0 answers
15 views

Transfer fail, from Ledger-Nano-wallet to bisonapp.com

I have sent ETH from Ledger Nano to BISONApp wallet. The transaction was confirmed. Unfortunately nothing arrived on the new wallet. Can anyone look inside the transaction history and tell why? I am ...
laborheld's user avatar
0 votes
1 answer
122 views

How to transfer all the coins that an account may have?

I have a system where there'll be dozens of accounts, for ETH and tokens. I'll have access to the private keys of those. From time to time I'll need to withdraw all of the coins in each account, in ...
Camila326's user avatar
0 votes
1 answer
53 views

How to track for certain all addresses affected by a transaction?

So I am asking this question because I recently learnt about what is called "Internal Transactions". I was actually reading the answer here and from this I understand that a transaction ...
Finlay Weber's user avatar
0 votes
1 answer
43 views

How to match a transaction of incoming tx on blockchain with the one in DB?

I'm working on a TG bot used for exchange of crypto <-> fiat. Each customer gets assigned a single wallet, once, which he is to send coins to, however he wants to, priour to receiving fiat. ...
Kum's user avatar
  • 75
0 votes
1 answer
24 views

Truffle Console: Can't 'transfer' Ether from one SC to another

I am trying to execute the following sender SC to send funds to the receiver SC below it: // SPDX-License-Identifier: MIT pragma solidity ^0.5.16; contract OwnableWallet {//sender address payable ...
zak100's user avatar
  • 1,406
0 votes
0 answers
26 views

Tokens should be on smart contract or the dev's wallet?

can anyone clarify how token transfer works? i've recently deployed a smart contract that charges for a fee then transfers the token from the dev's wallet (same wallet used on contract deployment) to ...
CuriousDev's user avatar
0 votes
0 answers
194 views

transfer tokens from smart contract to wallet

I want to transfer tokens from my smart contract to my wallet, but it isn't working. My smart contract (Which I deploy to Mumbai testnet with hardhat): // SPDX-License-Identifier: MIT pragma solidity ^...
Dani S's user avatar
  • 21
0 votes
1 answer
544 views

How to send an NFT to another wallet and sing the transaction in Metamask?

I'm a beginner and trying to learn web3 and want to implement a transfer-button for NFTs (same as you have on Opensea, where you can transfer your NFT to another address). I have started of by having ...
ei0haro's user avatar