Questions tagged [usdc]
The usdc tag has no usage guidance.
48
questions
6
votes
3
answers
1k
views
Is it secure to read USD / ETH rate from exchanges directly without using price oracles?
Is it possible to read USD/ETH rate directly from some known smart contract without an oracle?
I have a working solution via an oracle. However, my client says it should be possible to read the ...
5
votes
6
answers
15k
views
How can I get USDT/USDC for Polygon Mumbai Testnet?
I am working on a DeFi application on Polygon (Mumbai Testnet), and want to integrate stablecoins like USDT or USDC.
I have looked for a faucet of USDT and USDC, and found none of them on POLYGON ...
4
votes
1
answer
2k
views
How much UNI can I earn if I become a liquidity provider?
Say I have 10 ETH and 1000 USDC and I want to become a liquidity provider on uniswap. How much UNI can I earn per day and month? And as a liquidity provider, do I lose my 10 ETH or USDC as I'm not ...
3
votes
5
answers
5k
views
Good Ropsten USDC faucets?
I'm trying to play around with the DyDx Protocol on Ropsten, but to get any further I need to have some USDC in my account. I've had no luck googling for this. There seems to be this website for it, ...
2
votes
2
answers
5k
views
Where to find and how to get Kovan USDC testnet tokens
I need USDC Kovan testnet tokens transffered to this address 0x2E9b971e336C825BC41b9FE87376E74f0B3345FE for testing purposes.
Token contract for this token is https://kovan.etherscan.io/token/...
2
votes
3
answers
4k
views
How to get TEST USDC on Avalanche FUJI Testnet
I'm trying to work with FUJI Testnet and I need USDC for my testing. How can I get test USDC on my wallet address on FUJI Testnet (Avalanche Testnet).
For my TEST AVAX needs, I run to https://faucet....
2
votes
1
answer
380
views
Approving USDC spending using proxy contract
I tested my code on the Arbitrum Goerli network, and it worked because the test USDC contract is the default one with approve and transfer functions.
Now I want to go live, and I see that USDC (...
2
votes
2
answers
249
views
USDC EIP-3009 Ethereum and Polygon code mismatches
We're implementing gasless transactions and we need eip3009 transfer With Authorisation call. We're interested in USDC.
I see some mismatches in USDC code on ethereum and polygon.
To be accurate in ...
2
votes
1
answer
104
views
Why USDC interest rates are so high compared to USD interest rates?
USDC is a stable coin, pegged to USD, so there should be no risk (or very little) from owning some. However, the lending rate for USDC is between 3% and 13%: https://defirate.com/usdc/
Since higher ...
2
votes
1
answer
610
views
What is the sequence of events when a transaction is made on Uniswap?
I elect to swap 100 UNI for 700 USDC on UniSwap, but with a low gas fee. In 1 hour, the price of 1 UNI has dropped significantly. would the pending transaction still swap for 700 USDC (as long as ...
1
vote
1
answer
88
views
Optimism L2 USDC or USDC.e
I’m trying to build an app that accepts USDC over Optimism L2.
Looking on https://optimistic.etherscan.io/tokens
There are 2 tokens USDC and USDC.e
I imagine that I should use the USDC.e because ...
1
vote
2
answers
266
views
How do I withdraw/transfer USDC back into my wallet from my copied/created contract? [duplicate]
I copied/created a front running bot contract that has a WETH contract address. I made a mistake and sent USDC to the contract. Can anyone advise how to get the USDC funds sent back to my wallet ...
1
vote
1
answer
39
views
How does USDC ever lose its peg?
If USDC is always backed by $1 worth of fiat or treasuries, how does USDC lose and then rebalance its peg on an ongoing basis?
1
vote
2
answers
23
views
Why I can't get meta data of USDC in ethereum?
I tried to get USDC's meta data specifically symbol, name, decimals with ethers.js.
However I caught below data
name: '',
symbol: '',
decimals: 0
Are there who meet the same situation?
I call ...
1
vote
0
answers
239
views
Uniswap: get token price for USDC in solidity
I try to create a function in Solidity which returns the amount of a ERC20 token for a set amount of USDC.
For that I go through the following steps:
Get the address of the pair.
address pairAddress =...
1
vote
1
answer
151
views
How do I access external view data through a proxy's implementation contract with web3.py if the data is stored in the proxy itself?
I want to use web3.py to access all sorts of view-data from smart contracts. In some cases, it's pretty simple. Take USDt:
You have the USDt contract on mainnet, ...
1
vote
1
answer
42
views
Help, my usdcs are lost in genosis safe wallet :)
My USDCs were in the Genosys safe wallet, and I connected the Genosys to Orbiter and bridged from Optimism to Zksync. But now I found out that Ginosys wallet doesn't have ZkSync network 😐 I mean, ...
1
vote
0
answers
106
views
How a stable coin, like USDT and USDC works?
I need help regarding stable coin, particularly like USDT and BUSD, pegged to US Dollar.
I am working on a stable coin project. The smart contract needed to be developed in solidity and deployed on ...
1
vote
0
answers
305
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 ...
1
vote
0
answers
164
views
How do I make it possible so that my contract will accept USDC tokens [closed]
this will be done as a fee for entry to a raffle. Is this done through interfacing the USDC contract or by interfacing the ERC20 contract?
0
votes
2
answers
2k
views
Handle exchanging 6 Decimal Token to 18 Decimal Token (eg. USDC to ERC20)
I am trying to learn Solidity and write a contract that accepts USDC for my token which has 18 decimals.
I'm getting confused as how to treat the amount being sent when I buy my ERC20.
eg.
function ...
0
votes
1
answer
283
views
How to send USDC through geth CLI?
I had 100 USDC transferred to a local Ethereum wallet I control. It shows up as a valid token when I view it in Etherscan.
I normally use geth CLI for all Ethereum transactions, but I'm not sure how ...
0
votes
1
answer
2k
views
Usdc bep20 from trust wallet sent to usdc erc20 on metamask
Please, I sent a bep20 usdc from my trust wallet account to an erc20 usdc or something like that on my metamask account since almost 24hr, but it's yet to reflect. Can someone kindly help with some ...
0
votes
1
answer
380
views
Tokem ERC20 eth accept payament usdt
In my smart contract (in moment erc20), is possible create payment function receive eth
I would like to receive usdt (or usdc) and not eth, how could I do it?
Thanks
0
votes
1
answer
548
views
Best way to conver ETH to a layer 2 ETH or Wrapped ETH to convert to USDC or USDT?
I have a small amount of ETH ($100) and I want to use uniswap to convert it to USDC or USDT, but the fees of $20-$50 is a bit ridiculous. Is there a layer 2 solution that is WORKING that can convert ...
0
votes
0
answers
7
views
Im trying to make gnosis into etherium on coinbase
I got four transfer on gnosis network to Coinbase. Im not able to get them into etherium on Coinbase. Can you help me?
0
votes
0
answers
13
views
Uniswap Allow USDT fee
I want to swap USDT to USDC, but Uniswap shows huge fees, especially Allow USDT (one time). Can someone explain why it happens and what to do?
0
votes
0
answers
186
views
Token Balances for sepolia testnet not updating in metamask
Token Balances for sepolia testnet not updating in metamask when sent from faucet (aave in this case). I can send test ether which works appropriately. I have added tke token contract address (see ...
0
votes
0
answers
14
views
As of 2023 June, what is the best method to swap USDC from Arbitrum to Polygon with the least slippage
It's June 2023, what is the most cost effective way to swap USDC from Arbitrum to Polygon?
0
votes
0
answers
28
views
Can i receive usdc to my coinbase wallet via email address
I work at a company that has usdc voia coinbase payment method, and it only asks for the email, given thay, coinbase.com doesn't support my country and only coinbase wallet is available, so i provided ...
0
votes
0
answers
49
views
Fantom cannot approve spending USDC token
I am doing simple approve operation on USDC token in Fantom network.
Here is my payload:
functionParams {
from: '0xd775b00b5cf6e954aed8408202367a1bae6ac55f',
to: '...
0
votes
0
answers
15
views
Current tick falling outside of position's lower and upper tick
I would like some assistance on this matter: My pool of reference is ETH/USDC and if my current tick is below my position’s lower tick, am I right to state that all of my position ETH will be ...
0
votes
1
answer
57
views
Zksync USDC Events
I'm trying to interpret the tx
https://explorer.zksync.io/tx/0x97ab638ce8646f058c9fdafa1d30357a4ed9ecb2c5cb0976e60d897a425ffe83#eventlog
First log event's data value is 426912250000000. The USDC ...
0
votes
1
answer
65
views
How To Do Bulk Transaction with USDC(AVAX)
I am trying to make a bulk transaction using USDC (AVAX). I saw that it was recommended to use transaction builder. But the directions to use it was unclear to me. i was hoping that someone could help ...
0
votes
0
answers
417
views
Transaction error. Unable to resolve host "ethereum-rpc.trustwalletapp.com": no address associated with hostname
I got usdc on erc-20 as payment from my client and I am trying to send the usdc from trust wallet to another wallet however I got this response. Transaction error. Unable to resolve host "...
0
votes
2
answers
249
views
How to get totalSupply of USDC using solidity?
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;
// import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
interface IERC20 {
/**
* @dev Returns the amount of tokens in ...
0
votes
1
answer
269
views
Accidently sent TRC20 Tether to an ERC20 wallet, what do I do?
Used Kraken to Send TRC20 to an ERC20 wallet and i do not see funds in erc20 wallet
trans id: 0x60f487f0e36b8be315b3955188bba8b3e62ab60b8f41e1fea256a304ecf0acee
0
votes
1
answer
551
views
How to get USDC balance of impersonated wallet in Hardhat test
I am writing a smart contract that uses USDC when a NFT is purchased (so the USDC is transferred from the seller to the buyer).
I am trying to test it in Hardhat but I am having troubles when using ...
0
votes
1
answer
500
views
UniswapV2Router02 swapExactTokensForTokens deadline
im trying to swap some DAI with USDC Using UniswapV2Router02 function swapExactTokensForTokens() with brownie and python by unlocking a DAI token holder account and im getting this error :
...
0
votes
0
answers
229
views
Unable to withdraw from Aave using contracts
I am using Polygon mainnet. Below are the steps I am trying to follow.
address private constant _lendingPoolAddressesProvider = 0xd05e3E715d945B59290df0ae8eF85c1BdB684744;
address private constant ...
0
votes
0
answers
39
views
How can I find out what token was sent from the transaction "input"?
How can I find out what token was sent from the transaction input?
Example:
This input is from some random transaction. I can find out how many tokens are transferred during the transaction but how ...
0
votes
1
answer
262
views
How do you validate a Token is USDC or any specific Token?
For my usecase I want to check if msg.value, sent to my smart contract, is actually 10 USDC and not any Shitcoin.
Is this done with the approve function of ERC20 interface? Because right now I have ...
0
votes
0
answers
154
views
Wallet with Tether and ERC20 networks
I am just starting my research in blockchain development, and after some time surfing in this website, I realized that it would be better if I ask my specific question by myself.
I am trying to find ...
0
votes
0
answers
13
views
USDT TRANSFER MADE INTO A USDC WALLET [duplicate]
Can a transfer made into the wrong address wallet be reversed? I transferred funds from USDT to my USDC wallet. What can I do to get this funds back? PLEASE HELP ME.
0
votes
0
answers
27
views
How to verify that an address is mine
I transferred usdc to an ethereum address apparently and now am supposed to verify that the address is indeed mine. I see the amount (token) on etherscan but don't know how to claim it. It's asking me ...
0
votes
1
answer
126
views
USDC Transaction "Balance" vs. "Token Balance"
I initiated a transaction to transfer from an AAVE wallet to USDC address which shows as successful. However, I do not see the balanced transferred to my USDC (Coinbase) address.
Looking on Etherscan....
0
votes
2
answers
3k
views
Transaction shows up on etherscan and metamask said it was sent, but my token balance is still the same
I made USDC transaction and metamask said it was sent and etherscan also say there was a transaction made as seen below. But my USDC balance is still the same as if it never left my account. And ...
-1
votes
1
answer
80
views
External ERC-20 token implementation into my contract
I want to implement USDC into my contract which is currently using ETH. I know I need to implement ERC20 interface in order to let my contract know which functions it should expect. But how should I ...