Questions tagged [usdc]

The tag has no usage guidance.

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

How to accept payments in USDC on the Polygon Mainnet? [duplicate]

I have a ERC-1155 multi token NFT contract, and I want to accept the NFT payments in USDC on polygon main network. Currently, I'm using chainlink data feeds to get the latest MATIC/USD price.
user avatar
0 votes
0 answers
29 views

Uniswap V2 traded to almost Zero Values

I would like to ask a question on my transaction between PYR and USDC, and how to recover my coin if possible. As you can see on the transaction below, I tried to swap about 200 PYR tokens with USDC. ...
user avatar
  • 1
0 votes
1 answer
19 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?
user avatar
0 votes
0 answers
17 views

USDC deposit in Rinkbey test network not working

getting error after trying to deposit USDC in Rinkbey test network any solutions thanks in advance
user avatar
  • 1
0 votes
1 answer
223 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 ...
user avatar
  • 169
0 votes
1 answer
631 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....
user avatar
  • 169
0 votes
0 answers
82 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 ...
user avatar
1 vote
2 answers
3k views

How can I get USDT/USDC fro Polygon Mumbai Testnet?

I am working on DeFi application on Polygon (Mumbai Testnet), and want to integrate stable coin like USDT or USDC. I have looked into the faucet of USDT and USDC, and found none of them on POLYGON ...
user avatar
0 votes
0 answers
33 views

Getting ETH, USDC and USDT equivalent/estimated amount of a transaction

I have a transaction below from etherscan API. If I understood correctly, this transaction has transferred 75.075 AXS to 0x3019d4e366576a88d28b623afaf3ecb9ec9d9580 address. [ { "blockNumber&...
user avatar
  • 101
0 votes
0 answers
22 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 ...
user avatar
5 votes
3 answers
646 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 ...
user avatar
1 vote
1 answer
4k 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/...
user avatar
  • 123
0 votes
0 answers
90 views

Revert error when calling a view function

I'm trying to write some code to get the decimals of a token given its address. I can get the contract ABI from Etherscan, and from there I thought it'd just be a matter of calling decimals(). However,...
user avatar
  • 101
0 votes
1 answer
129 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 ...
user avatar
  • 101
0 votes
1 answer
162 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 ...
user avatar
-1 votes
1 answer
49 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 ...
user avatar
  • 81
0 votes
0 answers
101 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 ...
user avatar
3 votes
4 answers
3k 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, ...
user avatar
2 votes
1 answer
95 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 ...
user avatar
  • 123
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 ...
user avatar
0 votes
0 answers
11 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.
user avatar
0 votes
0 answers
22 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 ...
user avatar
0 votes
1 answer
223 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
user avatar
0 votes
1 answer
92 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....
user avatar
2 votes
1 answer
562 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 ...
user avatar
  • 209
0 votes
1 answer
472 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 ...
user avatar
1 vote
0 answers
106 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?
user avatar
  • 23
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 ...
user avatar
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 ...
user avatar