Questions tagged [avalanche]

Avalanche is an open-source platform for launching decentralized applications and enterprise blockchain deployments in one interoperable, highly scalable ecosystem.

Avalanche is an open-source platform for launching decentralized applications and enterprise blockchain deployments in one interoperable, highly scalable ecosystem. Avalanche is the first decentralized smart contracts platform built for the scale of global finance, with near-instant transaction finality. Ethereum developers can quickly build on Avalanche as Solidity works out-of-the-box.

A key difference between Avalanche and other decentralized networks is the consensus protocol. Over time, people have come to a false understanding that blockchains have to be slow and not scalable. The Avalanche protocol employs a novel approach to consensus to achieve its strong safety guarantees, quick finality, and high-throughput without compromising decentralization.

Read more about Avalanche in its documentation.

31 questions
0
votes
0 answers

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 in my truffle-config.js file to deploy my smart…
0
votes
0 answers

How to get transaction date having it's hash at hand?

I'm trying to figure out how to get the time when the transaction was included in block by it's hash on the P-Chain. I looked into getTx method but the response doesn't include this information: { unsignedTx: { networkID: 5, blockchainID:…
adrian
  • 1
0
votes
1 answer

Why is constant node participation necessary in blockchains?

From Avalanche's whitepaper in the context of Nakamoto consensus protocols: By construction, they cannot quiesce: their security relies on constant participation by miners, even when there are no decisions to be made. I understand why blockchain's…
Michael Moreno
  • 947
  • 1
  • 7
  • 24
0
votes
1 answer

Deploying to fuji network with hardhat creates HttpProviderError

I am having issue deploying contract to fuji c chain with hardhat. Here is my hardhat.config.js file: const config: HardhatUserConfig = { networks: { fuji: { url: 'https://api.avax-test.network/ext/bc/C/rpc', chainId: 43113, …
Tahlil
  • 1,031
  • 1
  • 14
  • 26
0
votes
0 answers

Subscribing to smart contract events on mainnet

I'm developing a smart contract on the Avalanche network and I do not receive data from subscribed events on the app frontend. During development, I tested everything on Fuji test network and received data from each subscribed event every time. I…
0
votes
0 answers

Error: Provider does not have a request or send method to use

I am using Metamask and I am trying to interact with a contract on the AVAX blockchain. I am using web3.js and when I try to interact with the contract, I get the error, Error: Provider does not have a request or send method to use. Does metamask…
Jazflyer
  • 21
  • 5
0
votes
1 answer

verifying smart contract on avax testnet networrk while using chainlink data feed

I am struggling to verify a simple contract on the snowtrace that's using chainlink and keep getting this error : ParserError: Source "@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol" not found: File import callback not…
Fooad Taha
  • 25
  • 8
0
votes
2 answers

How to verify a contract on Avalanche testnet using Brownie

I am trying deploy and verify a contract using brownie on avalanche testnet. The contract deploys and verifies fine on kovan. It deploys on avalanche testnet but I cannot get it verified. The default brownie does not come with an explorer for avax…
Pearl
  • 392
  • 2
  • 12
0
votes
1 answer

Send transaction on local avalanche node using geth

I've spun up a local avalanche network using the avalanche network runner and I've successfully connected to it using geth: ❮❮❮ geth attach ws://127.0.0.1:35260/ext/bc/C/ws Welcome to the Geth JavaScript console! instance: v0.8.4-rc.3 coinbase:…
Paymahn Moghadasian
  • 9,301
  • 13
  • 56
  • 94
0
votes
1 answer

Chainlink: Oracle Get external API data on Avalanche Testnet Fuji

I'm building a smartcontract that interacts with chainlink oracle to get external data from an api call. I did that on ethereum kovan testnet and it works with the following oracle address & job ids but it didn't work for Avalanche tesnet Network:…
KHOUIEL Salah
  • 89
  • 1
  • 7
0
votes
1 answer

How do I decode the response from an AVAX RPC Call in Vanilla Javascript?

I am trying to fetch the latest block from the Avalanche network's public RPC server. I have succeeded in sending JSON-RPC calls to their server and I get a response. The problem is how to decode the response and make meaning out of the data…
Andyke
  • 39
  • 7
0
votes
0 answers

What do I need to setup a chainlink node on the Avalanche Fuji testnet?

I'm trying run a Chainlink node (from source) on the Avalanche Fuji testnet, it seems to start up okay but I'm getting a server error for generating the account addresses. The error above the Account Addresses in the Key Management menu just states…
0
votes
1 answer

Smart Contract Upgradeability in Avalanche Protocol

Is it possible to make smart contracts upgradeable on Avalanche protocol. Does it follow the same architecture as in Ethereum. Request for guidance in this regard.
Gokul Alex
  • 441
  • 4
  • 21
-1
votes
1 answer

Ethereum retrieve transaction status without receipt

Let's say I'm Alice and I have a task of transferring N ERC20 tokens via smart-contract deployed, say, on Avalache subnet from my address to my client Bob. And I want to execute my smart-contract transfer function with Rust program. Say I use…
akolechko
  • 75
  • 5
-2
votes
0 answers

Missing Avax Coins After Solana to Wormhole Avalanche Transfer

I sent 1092 Avax coins from the Solana network to the Avalanche blockchain using Wormhole, but only 669 of them were reflected. How can I locate the remaining coins and determine their whereabouts ?? TXID…
ONYXSHU
  • 1
  • 1