web3 dapp wallet injector webview for react-native
This package is still under development! CONTRIBUTIONS ARE HIGHLY APPRECIATED!
npm install react-native-dapp-explorer
import provider from ./web3wallet';
import { Web3View } from 'react-native-dapp-explorer';
function MyApp() {
const ref = useRef();
return (
<Web3InjectedWalletView
provider={provider}
chainId={1}
url="https://your-dapp-url.com"
style={{ flex: 1, width: '100%' }}
webviewRef={ref}
/>
);
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library