Nobody Preheats Microwaves
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

elm-ethereum-ports

1.0.0 • Public • Published

elm-ethereum-ports

Easily connect Elm ports to your dapp.

Includes txSentry and walletSentry

See elm-ethereum-simple-example for usage.

TxSentry
Needed to wire into a wallet and send/track transactions.
Currently only supports Metamask, which uses web3.js v0.20.3

WalletSentry
Very useful for monitoring account and networkId changes, and letting your Elm app know. Currently polls for account changes every 500ms.


Todo
Be as wallet/library agnostic as possible. Support web3.js 1.0, ethers.js, etc.

install

npm i elm-ethereum-ports

Downloadsweekly downloads

25

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability