Liking cljdoc? Tell your friends :D

district.ui.web3.utils


is-chrome?cljs

(is-chrome?)
source

web3-injected?cljs

(web3-injected?)

Determines if the web3 object has been injected by an ethereum provider.

Determines if the `web3` object has been injected by an
ethereum provider.
sourceraw docstring

web3-legacy?cljs

(web3-legacy?)

The old method of retrieving the current ethereum provider exposed it at window.web3.currentProvider..

Notes:

  • This changed in EIP-1102 to require authorization, and moved the partial provider into window.ethereum.

  • Can assume it isn't legacy when window.ethereum exists.

The old method of retrieving the current ethereum provider exposed
it at `window.web3.currentProvider`..

Notes:

- This changed in EIP-1102 to require authorization, and moved the
partial provider into `window.ethereum`.

- Can assume it isn't legacy when window.ethereum exists.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close