@dappface/ethereum-provider
v0.0.1
Published
EIP-1193 compatible Ethereum provider
Downloads
5
Readme
npm i -D @dappface/ethereum-provider
import { EthereumProvider } from '@dappface/ethereum-provider'
import Web3 from 'web3.js' // optional
const ethereum = new EthereumProvider({
url: 'wss://your-remote-node-url'
})
window.ethereum = ethereum
// optionally wrap with your favorite ethereum util library
const web3 = new Web3(ethereum)
Inject in React Native WebView
// TODO
Hook wallet implemented in React Native
// TODO
Create custom wallet connection
// TODO
Create custom node connection
// TODO