Questions tagged [avalanche]
The avalanche tag has no usage guidance.
17
questions
0
votes
1
answer
13
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
52
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;
...
0
votes
0
answers
13
views
Avalanche Consensus and how better it is than Ethereum?
Which consensus mechanism do Avalanche currently uses and is it better than ethereum and other EVM compatible blockchain and apart from consensus what others benefits does avalanche provides us?
1
vote
0
answers
18
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
61
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
75
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
67
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
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
1
answer
64
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
86
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
122
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
292
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
1
answer
290
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("...
0
votes
1
answer
94
views
Load different singleton in safe_cli on Avalanche
we have a Gnosis Safe in polygon, and by mistake we sent funds to the same address but on Avalanche. We tried to deploy a Safe in Avalanche, with the same address, but the problem is that the Safe ...
1
vote
2
answers
7k
views
error occured Error: Transaction has been reverted by the EVM:
Intro
I am making my first ever smart contract. So please cut me some slack.
Basically, I am trying to make a staking contract in which I want the ability to deposit my USDC which should be done by ...
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....
0
votes
1
answer
1k
views
GS013 error when executing Gnosis Safe transaction for function of MultiSig Wallet
Me and another owner were recently transferred team tokens for a protocol we just became new owners of. This is currently on AVAX NETWORK.
In the protocol, there is a claim function to claim linearly ...