Comments (3)
@meppsilon @web3modal/react-native
alpha.5 is now available, and it has the new address
prop in useWeb3Modal
💪
from web3modal-react-native.
hey @meppsilon 👋 we can do that! I'll reply back when it's done 💪
In the meantime, another way of getting the user address is using a web3Provider
instance.
Here you can check how it's initialized:
And then you can do this to get the address:
const signer = web3Provider.getSigner();
const currentAddress = await signer.getAddress();
from web3modal-react-native.
Hey @ignaciosantise,
Thanks for the tip! I will try it out.
Also, thanks for looking into implementing the address in the web3modal hook!
from web3modal-react-native.
Related Issues (20)
- [feature] Upgrade @web3modal/core-react-native to valtio 1.11.2 HOT 3
- [bug] Inability to execute write calls to contracts on React Native HOT 7
- [bug]: Can't find variable React HOT 5
- [feature] wagmi, viem v2 support HOT 9
- [bug]: this.events.off is not a function HOT 11
- [bug]: After approve/reject request in wallet don't redirect back on dapp on iOs 17+ HOT 1
- [bug]: New architecture support HOT 5
- [feature] Implement Analytics core
- [chore] Release alpha version of Analytics
- [feature] Send basic events to API
- Send Basic Events to API HOT 1
- Implement Analytics Core HOT 1
- Alpha Testing Bug fixes
- BETA | Update documentation
- [bug] IOS Crashes When Using this package with Webview HOT 7
- [bug]: Transaction process fails while staying in the wallet app HOT 5
- [bug]: Metamask chainId error HOT 1
- [bug]: Can't connect to wallet like SafePal, Trust Wallet... HOT 6
- [feature] Getting connected wallet metadata HOT 2
- [feature] Support `eth_signTypedData_v4` RPC method HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web3modal-react-native.