Questions tagged [avalanche]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
9 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
18 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
0 answers
58 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 ...
1 vote
1 answer
148 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 ...
1 vote
1 answer
120 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("...
1 vote
0 answers
14 views

Incentive for block creation on avalanche

What is the incentive for block creation on avalanche by the validators? The way I understand it, their rewards are dependent only on up-time percentage and validation duration?
  • 207
1 vote
1 answer
89 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 ...
  • 39
1 vote
0 answers
39 views

How to check if a transaction is finalized?

I understand the concept of TTF (time to finalization) but I still couldn't figure out how to check if a transaction is finalized. Imagine building a gambling app, when we should finalize our game? ...
2 votes
2 answers
3k 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
2 answers
2k 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....
  • 209
1 vote
1 answer
663 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 ...
1 vote
0 answers
114 views

How to change chainID of avalanche local network

I am using avalanchego to set up a local private network in EC2 Server ChainID of my network is 43112. How do I change chain id to something else?
  • 389