question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ethers.js with React Native 0.63?

See original GitHub issue

I am new to ethers.js and just read a online post about it. I am looking for a lib (such as web3.js) which can be integrated with React Native 0.63 app and providing features of ethereum wallet, performing transaction, such as invoking smart contract methods , transferring fund and viewing transactions on chain. The post I just read claims that ethers.js supports React Native by default. I am excited about it as I have tried to use rn-nodeify for ipfs module on RN app and could not solve a few bundle issue. What is the procedure of adding ethers.js to a React Native 0.63 app? Any documents or online posts would help. Thanks.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:46 (17 by maintainers)

github_iconTop GitHub Comments

3reactions
ricmoocommented, Sep 29, 2020

I think this should be all you need to get started:

https://docs.ethers.io/v5/cookbook/react-native/

If you have any problems, or suggestions to improve the docs, please let me know. 😃

1reaction
loekTheDreamercommented, Oct 5, 2021

@nikita-zot-1408 the reason why your getting an error is that ios only access HTTPS. so use ngrok to create a tunnel to your localhost then you will be able to get the balance.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Native (and ilk) - Ethers.js
To use ethers in React Native, you must either provide shims for the needed missing functionality, or use the ethers.js shim. It is...
Read more >
Developers - ethers.js with React Native 0.63? -
I am looking for a lib (such as web3.js ) which can be integrated with React Native 0.63 app and providing features of...
Read more >
React Native — ethers.js 4.0.0 documentation
The React Native environment has a lot of little quirks, so this documentation is aimed at helping smooth those over. Please feel free...
Read more >
Moralis not working in react native 0.64.x and after
Hi, It is working in RN 0.63.3. react-native-boilerplate I'm ... moralis says it works with ethers.js so im confused as to why it...
Read more >
Kamahl19/react-native-wallet
index.js. priceService.js. unitsService.js. unitsService.test.js .babelrc .buckconfig .editorconfig .eslintignore .eslintrc .flowconfig .gitattributes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found