Questions tagged [transfer]

The tag has no usage guidance.

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

Truffle test - doesn't send funds to msg.sender

it seems like I have a wrong gnache or truffle setup ... I already ask a simular question here: Owner of contract is set to contract address? Basicly there is some mess up with addresses on my local ...
1
vote
0answers
24 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 ...
0
votes
1answer
13 views

How to send erc20 tokens through web3 on nodejs

My transactions go through without errors, while they're pending the data field shows the amount of tokens I'm sending, but when the transaction goes through the data field is empty. Here is my code: ...
0
votes
0answers
10 views

ETH token transferred to TX id

I transferred ETH token from Binance hot wallet to ETH wallet by mistake. How can I get that returned to Binance wallet. Can someone please help me on this. Regards
0
votes
0answers
12 views

ETH token transfer Fail and error is: Warning! Error encountered during contract execution [Bad instruction]

sometimes I am encountering a problem where I am trying to send tokens (USDT in this particular case) to other address and the transaction fails, because of "Warning! Error encountered during ...
3
votes
0answers
121 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 ...
0
votes
0answers
13 views

Need help identifying where coin transfer is and how to get it back [duplicate]

I Transferred some ENJ coins from my DeFI wallet to what I thought was my Trading account wallet. Long story short the address it I was sent too was off by one number. About 3/4 of the way into the ...
0
votes
1answer
19 views

Different Transaction Costs For Different ERC20 Tokens?

I just went to send some OXT from my wallet to an exchange and noticed that the cost was much higher than if I were to send ETH or UNI while using the same gas price. My wallet shows a different ...
0
votes
0answers
10 views

Transfer token sent to wrong address (contract address)

Good day/eve. I purchased the OMI token and initiated a withdrawal to my trezor hardware wallet as an ERC20 token. This was an error (isn't an ERC20 token any longer) and therefore the transaction ...
1
vote
1answer
29 views

How to write a simple token contract which token can only be transferred within the specific geographical region?

In my use case, I want to build a local currency system with solidity. The core concept of local currency is that the currency can only be used in the specific region. It aims to encourage spending ...
0
votes
0answers
23 views

Different ways of exchanging tokens

I am conducting a study on transaction behaviour and dynamics on the Ethereum blockchain. Currently, I am analysing the token transfers of different user groups. After leveraging Google Big Query and ...
1
vote
0answers
123 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, ...
0
votes
0answers
27 views

I sent my eth to the wrong address

Instead of transferring my Eth token to my wallet, I accidentally sent it to the contract address of of the offshift XFT token 0xabe580e7ee158da464b51ee1a83ac0289622e6be Would the contract creator be ...
0
votes
0answers
21 views

Build and interact with contract

I'm developing a new token and I'm curious how I can interact with the token after is build and deployed. For example: Token1 has 10M tokens of total supply, I want people to can get those tokens, how ...
1
vote
1answer
36 views

Other ways of paying gas different than Ether?

I've been trying to transfer my BATs from my ledger to the exchange address, only to discover that I haven't enough coins in the ETH parent wallet to pay the gas .. I had some ETHER until a couple of ...
0
votes
1answer
77 views

Attempting to transfer erc20 elrond to elrond gold in trust wallet - error insufficient funds

Does anyone have a step by step guide to transfer my 7566 elrond to elrond gold? My elrond is in Trust Wallet and tried to send to my elrond gold wallet but network said I have insufficient funds and ...
0
votes
0answers
133 views

How to transfer POLS token from Metamask Eth wallet to DOT wallet?

Could anyone describe the procedure of transferring POLS token from Eth Metamask wallet to DOT wallet (for example polkadot{.js}) wallet?
0
votes
1answer
24 views

ERC20 Contract transfer call failed multiple times, no idea why

I found this token that got airdropped on me a while ago, and I don't want it. It was valued at $18 or so. I decided to sell it, but the exchange had a minimum amount, so I simply bought more so I ...
0
votes
0answers
24 views

Can sending msg.value to owner be dangerous?

I have an erc721 token with a payable function added to it. It just needs to mint the token and then owner.transfer(msg.value). Assuming owner is my own address which I used to deploy the contract.
0
votes
0answers
22 views

Sending Ethereum to the contract owner on purchase

I have a smart contract that allows one to purchase a set number of NFTs for 0.2 ether each. I have set the owner of the smart contract to the one who deploys it and whenever someone purchases an item ...
0
votes
0answers
21 views

How to get rid of “Gas estimation errored with the following message” in this case?

In my front-end, I try to call a function called endAuction. In endAuction, I transfer payment to a seller and participants. While calling it from the front-end the transaction fails without any ...
0
votes
1answer
33 views

Is it possible to predefine 'msg.value' when calling a function in an external contract?

I am new to developing smart contracts and have had some trouble trying to troubleshoot a solution to this problem. I have two smart contracts... Contract X: (The bank - Balance 100 ETH) contract X { ...
0
votes
0answers
52 views

i need some help transfering funds back into my account from a smart contract i accidentally sent funds to

i was using uniswap and i thought i was easily transfering one token into another and somehow i put myself into a smart contract and cant get my funds back.... yesterday i had figured out with the ...
1
vote
1answer
153 views

Gas limit issue when transfer USDT

i have been asking by my client to save ETH when transfer out his USDT, he hope there is no or very little ETH left in his new USDT address. Please assume that USDT address has no initial ETH and next ...
0
votes
0answers
36 views

Tron smart contract TransferOwnership function error

I want to implement TransferOwnership function in already made tron smart contract but it keep throwing error whenever I want to compile the code. I guess 1 thing maybe I'm using an Owner modifier and ...
0
votes
0answers
13 views

Is it possible to analyze transaction with a smart contract by inputting a transaction ID? [duplicate]

EDIT: Alright, this is a duplicate: Can a contract view the details of a transaction, given a transaction id? Edit2: answer is either to oraclize or do the API call to, for example, etherscan: https://...
0
votes
1answer
68 views

Transfer ETH to 3rd part wallet with keystore - MEW does not recommend

Hi I have searched the similar questions and can’t find an answer. I have mined eth about 2 years ago and have a balance in my wallet set up on geth. I now want to transfer this to my brd wallet ...
0
votes
2answers
89 views

Is it possible to temporarily transfer ownership of a staked token to another wallet address without unstaking, [closed]

Is it possible to temporarily transfer ownership of an ERC20 staked token to another wallet address without unstaking, for example if I have wallet address X, and I have staked my tokens with a ...
0
votes
0answers
139 views

Incorrectly sent ERC20 (C20) token to a contract address

I mistakenly sent ERC20 (C20) tokens to a C20 contract address. There are two transaction hashes on the block. One shows that the C20 was sent (to a C20 contract wallet address) and is successful (...
0
votes
1answer
21 views

Why Transfer function doesn't check for allowance comparing to TransferFrom?

Why Transfer function doesn't check for allowance comparing to TransferFrom? Do I need to call increaseAllowance each time before calling TransferFrom? Ex implementation of Transfer without allowance ...
1
vote
1answer
1k views

what is the cheapest way for sending ethereum from 10 account addresses to 10 account addresses?

What is the cheapest way to send ether to 10 addresses? By using smart contract or using externally owned account to send one by one...? I know that the gas limit of a normal transaction is 21,000......
0
votes
1answer
126 views

I have WETH in my ETH wallet but I can't send it

As you see, I have 1.7 WETH. When I try to withdraw, it shows me this
0
votes
0answers
507 views

transfer Erc-20 tokens from an adress without Eth and pay the gas from another adress or destination adress

as the title completely explains I want to transfer some erc-20 tokens from one account that has no eth in it to another how can I do so without need to deposit some eth to that account? Is it ...
2
votes
1answer
593 views

How to approve user to spend all my ERC20 tokens?

In ERC20 we approve a user to spend our token and then they can spend as much allowed using transferFrom, but if the allowance limit exceed then I have to approve again, is there any way to allow them ...
0
votes
0answers
78 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 ...
1
vote
2answers
168 views

Sending token with contract interaction in Remix

I'm aware of using the value field in Remix to include ETH with my function call transaction but is there a way to send another token with my transaction, for example, LINK? Additionally I would like ...
1
vote
1answer
42 views

Request a transaction amount in a function

I'm trying to have a function generate a request such that it pops up a Metamask request. I know I can do: require(msg.value == amount); to require the function call has a certain value. But this ...
0
votes
1answer
31 views

Should increase/decrease token supply on transfer to/from 0x0?

I am about both ERC-20 and ERC-1155. Should totalSupply be increased/decreased, when: transferring to 0x0? burning an amount already placed at 0x0 address? By the way, should 0x0 be allowed to have ...
0
votes
0answers
56 views

Uniswap Fee or how 180 AMPL tokens suddenly “disappeared” from blockchain

If you look at https://etherscan.io/token/0xd46ba6d942050d489dbd938a2c909a5d5039a161?a=0xfe6c9c5a0d36eba3a767aaf6df2f335e666a74e7, you can notice that there were 3 transactions associated with the ...
0
votes
0answers
14 views

What is the cause of an “APPROVED” transaction but doesnt do a “TRANSFER” for an ERC-20 Token?

I have a transaction that was approved and I paid $3 in fees. But the token was never "transfered" where and how can I debug what happen to my transaction of why it didn't transfer?
0
votes
1answer
104 views

Take a percentage of msg.value on ERC721 transfer

I want to transfer part of the value paid to an address whenever an NFT is traded. If the value is 0, then nothing is transferred. My original idea was to override the transfer function in ...
3
votes
1answer
796 views

Possible to transfer multiple tokens in one transaction?

Is it possible to transfer all / multiple ERC20 tokens to another wallet address in a single transaction?
4
votes
1answer
169 views

Make an erc20 transfer with web3py

how to send an erc20 in web3py please, I have that : tx_hash = contract.functions.transfer(destination_address, value).transact({'from': myaddress }) and I get this error : ValueError: {'code': -32601,...
1
vote
1answer
63 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 ...
0
votes
1answer
45 views

Problem: Payment between smart contracts without reducing the balance of the sender contract

I work on Truffle. I have two smart contracts A and B. Codes of them are same. A should transfer some ether to B and store some information about this payment. I funded A with METAMASK. But, whenever ...
0
votes
1answer
39 views

how to set an ether value as a function parameter?

I work on Truffle and my project is simple. contract A should transfer some ether to contract B. contract A is funded enough. In contract A, there is a function called payment that performs the ...
0
votes
1answer
127 views

transfer ether from smart contract to my wallet

Hi I awant to transfer transfer ether from smart to my wallet so I ceated a sendEther function in the smart contract function sendEther() public { msg.sender.transfer(1 ether); } very basic ...
0
votes
2answers
155 views

Transfer eth to accounts in Remix javasctipt VM solidity V 0.6.0+

I am simple man, but learning Eth Dev. I am testing a contract in Remix however I can't transfer Eth between the accounts in the javascript VM (using solidity V0.6.0 +). I have researched for a while ...
0
votes
1answer
53 views

Gets reverted when calling ERC20.transfer in a contract, not reverted when transferring 0

I have this code inside a contract interface ERC20 { //standard variables function allowance(address _owner, address _spender) constant returns (uint remaining); function approve(address ...
0
votes
0answers
20 views

Which are the best and most secure multisend contract? [duplicate]

I am making a system where I need to withdraw funds from 1 wallet to 2 or more wallets at the same time. I have been looking for the solution to this problem, it seems like Multisend is the way to do ...