0.0.1 • Published 5 years ago

@dappface/ethereum-provider v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
5 years ago

CircleCI codecov

  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