Skip to main content

Questions tagged [wrapped-tokens]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
52 views

How to make my own wrapped token for native token like WETH, WMATIC?

I want to make my own WMATIC in amoy testnet for marketplace trade. In more details, I want to suggest with WMATIC in marketplace our team had made. I know how to deploy ERC20 name WMATIC, and I want ...
rrrrssss's user avatar
0 votes
1 answer
46 views

How to test my Wrapped token/Stablecoin in a testnet?

Is it possible to test if my wrapped token or stablecoin peg system is working in some testnet? Or I need to deploy it in the mainnet?
Ryan Holanda's user avatar
0 votes
0 answers
358 views

How can I buy mETH in my mantle-network Metamask wallet? I bridged some ETH today but only ended up with wETH in my metamask

I'm new to this. I ended up with wETH in my metamask. I'm trying to get mETH instead. How do I swap wETH for mETH?
user132864's user avatar
0 votes
1 answer
21 views

Forking Swap from bsc on goerli, max input of native token 0

I'm trying to fork cheeseswap from bsc onto goerli. I've also tried to fork another swap from another network onto goerli and have the same issue. I Change all the chainid numbers, rpcs, factory, ...
Bobo From Florida's user avatar
0 votes
2 answers
137 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
72 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
0 answers
52 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
3 answers
186 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
1 vote
0 answers
62 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
  • 107
0 votes
1 answer
29 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
1 vote
1 answer
119 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
0 votes
1 answer
88 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
1 vote
1 answer
186 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
  • 115
0 votes
1 answer
822 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
  • 115
1 vote
1 answer
340 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
2 votes
1 answer
519 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
3 answers
4k 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
1 vote
1 answer
480 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
0 votes
1 answer
169 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
  • 151
2 votes
1 answer
731 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
0 votes
1 answer
339 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
25 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
71 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
499 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
2 answers
178 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
22 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
1 answer
131 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
1 vote
1 answer
3k 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
2 answers
27k 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
0 answers
70 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
217 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
186 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
0 votes
1 answer
430 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,528
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,528
3 votes
2 answers
165 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
2 answers
140 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
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
2 votes
1 answer
3k 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
0 votes
2 answers
977 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
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....
EllipticalInitial's user avatar
0 votes
1 answer
905 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
  • 135
1 vote
1 answer
124 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
0 votes
1 answer
3k 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
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
0 votes
1 answer
42 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
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,528
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
0 votes
0 answers
94 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
935 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