Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

100
Visualizações
MetaMask Ethers - signer.sendTransaction - how to tell in react js if transaction real ETH

I have code for sending Ethereum with metamask

I am in the testing phase so i am using the ropsten test network to send Eth

the code below gives a receipt

       to: addr,
       value: ethers.utils.parseEther(stringEther)
     });
     
     console.log("tx: ", tx);
     setTxs([tx]);
 console.log("tx: ", tx) basically logs a receipt 

though from this how can I tell if the user has sent my wallet real ethereum and not the fake testing ethereum

so i can log it in my database, as I want to return from the function if the Ethereum was the fake etheruem , and only write to the database if it was real Ethereum

also how can a get an actual receipt in react js when the real ethereum is fully mined and in my account?

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda