Questions tagged [avalanche]
The avalanche tag has no summary.
19 questions
2 votes
1 answer
39 views
Understanding failures when accessing a defunct DeFi protocol from proxy contract
Platypus.Finance was a stableswap protocol on Avalanche that suffered one or two hacks and is now dead. For tax reasons I need to unstake my PTP (Platypus) tokens and sell them. Unfortunately the ...
0 votes
1 answer
111 views
ERC721 NFT is empty in Avalanche Fuji Testnet
I am using OpenZeppelin to generate this simple contract and Remix IDE to deploy it and interact with it using Core Wallet as injected provider: // SPDX-License-Identifier: MIT // Compatible with ...
0 votes
1 answer
62 views
Contract creation confusion -- Unsure when my contract was deployed
I deployed a contract on Fuji Testnet around 3 hours ago, the address is as follows: 0xDb3F493F9D4CdaaDA08E30957c59a0e01CfB2af0 I went to Snowtrace to check it out and received an expected record of ...
0 votes
1 answer
121 views
My swap smart contract doesn't seem to swap the tokens
I have made a smart contract on Avalanche Fuji chain to test swapping tokens. When I call the smart contract on Remix, my AVAX gets sent, but I never get the USDC I am supposed to get for my AVAX. I ...
0 votes
1 answer
334 views
Why am I not able to deploy ERC721 contract to Avalanche Fuji?
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol"; contract NFTERC721 is ERC721 { uint256 private _nextTokenId; ...
1 vote
0 answers
38 views
Deploy Safe to Avalanche Subnet (Custom EVM)
We have an Avalanche Subnet, and are looking to deploy Safe. I understand the process for opening a request to have the singleton factory deployed (However unsure if this is supported on Avalanche? ...
1 vote
0 answers
143 views
Network Request Failed in Web3 | Avalanche
I tried to create a project on Avalanche Blockchain. For the project, I created a local subnet using Subnet-EVM on my Local Avalanche Network. After deploying the subnet, I used the resulting RPC URL ...
1 vote
2 answers
159 views
What is the most suitable node provider for Avalanche c chain transactions and assets tracking
On Avalanche C-chain I need to be able to publish transactions and track their status whether it’s mined/confirmed/dropped, furthermore I need to be able to track multiple account balances. There is a ...
0 votes
1 answer
250 views
Truffle migrate Error: PollingBlockTracker
I'm trying to deploy a contract on Avalanche Fuji testnet using Truffle. Here is my truffle config: require('dotenv').config(); const mnemonic = process.env["MNEMONIC"]; const infuraUrl = ...
0 votes
1 answer
190 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
1 answer
157 views
web3.eth.sendtransaciton stuck
for some reason my web3.eth.sendtransaction is stuck. I can only "flush" it by connecting to meta mask by sending myself $1 AVAX. I already set the gasLimit to block maximum and gas price to ...
1 vote
2 answers
147 views
which contract emit the Transfer event?
let's say I minted an ERC721 NFT using smart "contract_one" and it was sold by another contract called "contract_two" in which contract the transfer event will trigger?
1 vote
1 answer
274 views
How can I re-create an Ethereum Gnosis-Safe on Avalanche (lost funds)?
I recently accidently bridged funds from an ETH Gnosis-Safe to AVAX without changing the destination address. As expected, the funds were bridged on AVAX under the same address as the ETH safe, but I ...
0 votes
1 answer
426 views
Truffle Migration Error Avalanche C Chain
I am using Truffle suite in a project in production, but I am sick of dealing with this error I feel shouldn't even be happening, and maybe its because of something that Avalanche has set on their ...
0 votes
2 answers
662 views
How do I call eth_getBlockByNumber using Web3WsPropvider of ethers.js?
I'm trying to call eth_getBlockByNumber using Web3WsProvider of ethers.js with the following code: const Web3WsProvider = require('web3-providers-ws'); . . . const provider = new Web3WsProvider("...