Questions tagged [wrapped-tokens]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
4 answers
13k views

WETH vs. ETH on OpenSea?

I listed an item on OpenSea for 0.01 ETH. It wasn't an auction, just a fixed price. I received an offer for 0.01 WETH. I don't understand the advantage to using WETH vs ETH. Why would somebody offer 0....
joejoejoejoe4's user avatar
3 votes
2 answers
132 views

How does WBTC on Ethereum work?

I'm trying to wrap my head around how WBTC works on the Ethereum blockchain. My understanding at the moment is that when BTC is sent to a particular BTC address, then a WBTC is generated on the ...
你的老师's user avatar
2 votes
3 answers
3k views

How to deposit and withdraw WETH

When I try to make a deposit, Ethereum is transferred but the Wrapped ether is not received. Here is my code interface IWETH is IERC20 { receive() external payable; function deposit() external ...
Yaya's user avatar
  • 109
2 votes
1 answer
2k views

Programmatically wrap ETH by interacting with Wrapped Ether contract in Web3.py

Looking at the contract for Wrapped Ether, I noticed that it uses a function called deposit to wrap ETH. The function deposit itself does not get an argument. However, at the top of the script, I ...
Blackwidow's user avatar
2 votes
1 answer
171 views

How do I manually unwrap wrapped coins (like wbtc not WETH)

Im not interested in just swapping the coins on uniswap, I want to unlock the value of wrapped tokens. I have a number of coins similar to WBTC that I want to manually unwrap to get the BTC back. Is ...
Adjam's user avatar
  • 137
2 votes
2 answers
127 views

How can I decode calls to the songbird network?

for example: I am a multisig signer. And I want to decode the call data that is used to call a specific smart contract. example on smart contract : 0x02f0826ef6aD107Cfc861152B32B52fD11BaB9ED (WNat) I ...
Naso's user avatar
  • 29
1 vote
2 answers
22k views

How to swap wETH for ETH on Polygon network?

The current largest mining pool Ethermine has an option to be paid in wETH through the Polygon network instead of in ETH on the mainnet. Through MetaMask on the Polygon network, I see my wETH in my ...
qwr's user avatar
  • 143
1 vote
2 answers
2k views

What is the difference between Pegged token and Wrapped tokens?

As the question in the title: is the pegged token and wrapped token the same thing? From my understanding - it is? Both are tied to a particular cryptocurrency in order to maintain its value across ...
Robert Jamborski's user avatar
1 vote
1 answer
299 views

Unable to Unwrap WETH

I am writing a smart contract that needs to Unwrap/Withdraw WETH at some point but the transaction is always reverting. When calling this function, everything works perfectly fine and the Log I put in ...
PetitBiscuit2002's user avatar
1 vote
1 answer
593 views

Getting WETH from ETH on Hardhat Local Network

I have a localhost Hardhat Network running but I need to convert Fake ETH on it into WETH. How can I do this?
Rohit Mittal's user avatar
1 vote
0 answers
41 views

Why WETH contract use src, dst, wad instead of from, to, values?

When I read WETH9 contract code, I felt strange. For example, generally "transferFrom" method has "from", "to", "value" as parameters but WETH9's transferFrom ...
ttt's user avatar
  • 97
1 vote
1 answer
44 views

ETH from zkSYNK sent to wETH contract adress on Ethereum

Really curious if i could do something to retrive it. I was on th WHOP website trying to pay for something and i didn t notice that i was on zkSYNK network and not on ethereum like i should have been. ...
Lex Luthor's user avatar
1 vote
1 answer
161 views

How to convert testnet BTC to WBTC?

How can I convert my test BTC to WBTC so that I can then communicate with EVM Ethereum?? Should I use a particular DEX over others or are there methods that already exist in the bitcoin libraries out ...
AlexCav's user avatar
  • 51
1 vote
1 answer
2k views

What contract address is used when sending native tokens to contact

So I'm building something similar to this question Smartcontract that receive tokens and ether(native BNB) and swap it through pancakeSwap router? I have my contract and its able to swap tokens-2-...
TheDev's user avatar
  • 35
1 vote
0 answers
68 views

What are the best practices when launching a smart contract protocol on multiple networks/chains?

Hi I have some questions on protocols that launch on multiple networks/chains. For example, Aave originally launched on the Ethereum network but now is also on networks like Polygon and Avalanche. To ...
user82768's user avatar
1 vote
0 answers
169 views

How to issue a wrapped token to an existing ERC-20 token?

I have already issued an ERC-20 token with a fixed supply amount. How can I issue a Wrapped token?
Mixx's user avatar
  • 11
1 vote
0 answers
163 views

Is it true that there are 2 wETH and do they differ in safety?

When miners mine on Ethermine, they can choose to get wETH, but it seems like it is wrapped on Polygon? It has the contract: 0x7ceb23fd6bc0add59e62ac25578270cff1b9f619 I think there is also a wETH ...
nonopolarity's user avatar
1 vote
1 answer
113 views

Why can we trade tokens from foreign blockchains on DEX?

I am trying to understand the concept of crypto exchanges (AMM / DEX). On a DEX on Ethereum, how is it possible to trade tokens that are not native to Ethereum, such as Bitcoin? How does the DEX ...
naga's user avatar
  • 125
1 vote
0 answers
2k views

How to convert my custom ERC20 token to BEP20?

I have my custom token on the Ethereum network and I want to send part of the tokens to the binance smart chain. That is, issue a wrapped token.For example: https://etherscan.io/token/...
rxxman's user avatar
  • 11
1 vote
1 answer
952 views

Are there any wrapped ERC20 tokens that are privacy coins?

ERC20 tokens by itself are not private as anyone can see everyone's balance. But a wrapped token for a privacy coin like Monero or Zcash can be anonymous when converted from the wrapped version. Does ...
Patoshi パトシ's user avatar
0 votes
3 answers
76 views

fallback and receive function on WETH

Does a contract that works with Wrapped Ether(WETH) require a fallback or receive functions? Let say I send WETH to a smart contract with/without fallback functions, what will happen?
anonauditor's user avatar
0 votes
2 answers
66 views

Mismatch in WETH shown in Metamask wallet and shown by code

tokenContractAddress is 0xc778417E063141139Fce010982780140Aa0cD5Ab on execution, returns but balance of WETH in my wallet is 2 WETH as i can see. How is it possible?
Rohit Mittal's user avatar
0 votes
1 answer
418 views

Can Metamask be used for all ERC20 token?

How can I use WETH with Metamask wallet? I can see ETH in my Metamask (Rinkeby TestNet, it works on Mainnet) but can not use other tokens. Any Repository or lead will be appreciated. If yes, What will ...
Rohit Mittal's user avatar
0 votes
1 answer
50 views

Are the yields on Compound legit?

I have been reading recently about the DeFi space. I have noticed (admittedly, pretty late) quite a bit of buzz regarding WBTC and its applications in Ethereum. I have read about the Compound dapp and ...
Runeaway3's user avatar
  • 113
0 votes
2 answers
21 views

Test BNB / WBNB for Development testing purpose

I am in need of 100 test BNB for testing purpose but with faucet its not possible to get that much is there any way to have that much test bnb. OR is there any existing liquidity of test BNB / WBNB ...
Bhushan Dhiware's user avatar
0 votes
1 answer
31 views

WETH burn missing in Etherscan

I'm looking at this transaction in Etherscan(https://etherscan.io/tx/0xdff9b85093c6af369d197815c42930e23b0dfdcd37f8c3e614ca3483cf120af9) and supposedly the address DSProxy #213,717(...
user78124429124's user avatar
0 votes
1 answer
118 views

Wrapping ETH into WETH via ethers -- WETH coins on my balance won't appear

I'm attempting to wrap ETH on Goerli into WETH by calling deposit function using ethers. Even though several TX already have been confirmed and successfully mined, nothing will appear on my WETH ...
Camila326's user avatar
0 votes
1 answer
412 views

How to wrap ETH into WETH via ethers.js or web3.js?

what function in a smart contract is responsible for this? In the documentation of Uniswap I've found only one reference to what I might be looking -- https://docs.uniswap.org/contracts/universal-...
Camila326's user avatar
0 votes
1 answer
309 views

Use WETH for NFT MArketplace

I am working on WETH pragma solidity ^0.8.5; import "./Token.sol"; contract WETH { function transferFrom(address recipient, uint256 amount) external { Token token = Token(...
Rohit Mittal's user avatar
0 votes
1 answer
22 views

Send Token Failing in Metamask

I am trying to transfer 1 WETH betweeen my wallets. It is not letting me I have 2 WETH and I am transferring 1. What could be the possible reason. Network : Rinkeby
Rohit Mittal's user avatar
0 votes
2 answers
140 views

Why does WrappedETH(WETH) need a custodian?

Why does WETH use a custodian(BitGO) when Ethereum smart contracts can natively hold eth?
user17133575's user avatar
0 votes
1 answer
342 views

Wrapped Ether balance disappears from wallet on Etherscan by conversion?

The following wallet on Etherscan shows 3 transactions of Wrapped Ether (WETH) being transferred in under the ERC-20 transactions tab, a large amount, but not how they are transferred out, assuming ...
user610620's user avatar
  • 1,486
0 votes
1 answer
2k views

How to check a wallet's Wrapped Ether balance on OpenSea or Etherscan?

Etherscan shows transfers in and out of Ether, whereas Wrapped Ether (WETH) appears in Etherscan's ERC-20 transactions. Etherscan readily displays the current Ether balance of a wallet at the top-left ...
user610620's user avatar
  • 1,486
0 votes
1 answer
1k views

Where is my WETH?

So I transferred some ETH to my Ledger Nano S Wallet to buy some NFTs on opensea. Yesterday, I wrapped ETH to WETH. But I am not sure, if it actually worked. In myetherwallet (and Ledger Live), it is ...
emfi's user avatar
  • 101
0 votes
1 answer
873 views

Creating an auction smart contract without storing the ether

I am currently looking into creating a smart contract for a NFT auction. But because of certain legal restrictions we are not allowed to store the ether bid during the auction period (that is what ...
zanzoken's user avatar
  • 125
0 votes
1 answer
2k views

How to convert WETH back to ETH (solidity)

I am trying to convert back WETH into ETH (actually BNB on BSC). I am doing the following: function allToBNB() public{ WETH.transfer(address(this), WETH.balanceOf(address(this))); }` ...
lobis's user avatar
  • 145
0 votes
1 answer
41 views

Does anyone knows about EthItem?

We already know that ERC-1155 is a combination of ERC-20 and ERC-721. Now, a new standard has arrived called EthItem saying that it is the combination of ERC-20, ERC-721, ERC-1155. So what is the ...
Sandhiya's user avatar
0 votes
1 answer
888 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
Tariq Almutairi's user avatar
0 votes
1 answer
1k views

Must I add WETH conversion descritpion in a contract and how?

I'm confused about how I write a contract about WETH conversion. When we write a smartcontract depositing user funds into a contract, should we necessarily write some codes of converting eth into weth ...
wat's user avatar
  • 21
0 votes
0 answers
5 views

What happens when I sent WETH from wallet vai Ether network to Coinbase

I stupidly sent my WETH from wallet to Coinbase using Ether network. I don't see this showing in my Coinbase, have I now lost this or can I do something to recover the funds? Would very much ...
Agata's user avatar
  • 1
0 votes
0 answers
19 views

org.web3j.protocol.exceptions.TransactionException: Transaction receipt was not generated after 600 seconds

Yesterday I could deploy the code successfully, but today onwards I am facing the below error. I tried to reduce/increase the gas fees yet the error is still not resolved. If anyone is willing to ...
Selva Kumar's user avatar
0 votes
1 answer
23 views

Problems Batching Transactions with wXDAI in SAFE Gnosis

I'm Trying to Send a Batched Transactions with Transaction Builder on Gnosis SAFE. I'm trying to send different quantities of wXDAI to 8 different Address. Those Addresses are some of Owners of SAFE ...
William Martinez's user avatar
0 votes
1 answer
59 views

Problem calling withdraw from WBNB inside the contract

I have these to functions: function stake(address _token, uint256 amount) external payable { address sender = msg.sender; address receiver = address(this); IERC20 token = IERC20(_token); ...
Rodrigo Burgos's user avatar
0 votes
1 answer
131 views

approve contract in wbnb

I deployed a contract on the bsc network to execute functions on the blockchain then I approved my contract at the wbnb address to make purchases and/or sales from the contract. What am I allowing ...
JhonatanAlfred87's user avatar
0 votes
1 answer
21 views

Is it advisable to "wrapped" my tokens in order to use inside my Dapp to lessen gas cost?

I created a token ABC and have another smart contract for my dapp. My Dapp requires a lot of ABC token burning for every tx, my question is, is it advisable to convert my ABC token from on-chain to my ...
Lonewarp's user avatar
  • 141
0 votes
1 answer
21 views

How to convert 5 ETH worth token to another blockchain wrapped ETH without actually converting tokens to ETH

So this is the example: we have 100 X Tokens on Etherium mainNet, which let's say has the value of 5ETH. Now I create Wrapped ETH on BSC and the Wrapped ETH price is same as ETH. (peg to ETH). Now I ...
Zakoo Koo's user avatar
0 votes
2 answers
850 views

How to peg a token to another token

I want to create a token that represent the other token, the peg is not 1:1 but e.g. 10:1, so if a person deposit 1 of TokenX will get 10 of my tokens. The person should also be able to withdraw his ...
user8065363's user avatar
0 votes
0 answers
75 views

How come I could spend 1.5 WETH, even though I only wrapped 1 ETH?

On opensea, I converted (wrapped) 1 ETH to 1 WETH, which is equal to 2 x 0.5 WETH = 1 WETH. I then spent 0.5 WETH on 3 items = 1.5 WETH, which is greater than the amount I had. how is this even ...
user610620's user avatar
  • 1,486
0 votes
0 answers
88 views

Is there a project that can swap ETH and BTC using atomic swaps without having to deal with wrapped tokens like WBTC?

Is there a project that lets one do an atomic swap from ETH to Bitcoin or Litecoin or Monero without having to deal with wrapped tokens like WBTC(wrapped btc)? Basically a cross chain swap, without ...
Patoshi パトシ's user avatar
0 votes
1 answer
110 views

How to get pegged testnet tokens?

I want to get FUSDC/FUDST on fantom Testnet or USDT/USDC on Avalanche Testnet. The obvious problem is all the faucet only provides native tokens, not the pegged tokens. Is there a way to get pegged ...
GraphicalDot's user avatar