1.4.7 • Published 5 years ago

@haloplatform/vuex-web3-sync v1.4.7

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
5 years ago

npm scoped

vuex-web3-sync

Vuex module to sync with web3

install:

npm i @haloplatform/vuex-web3-sync --save

Usage:

requires Babel-Polyfill if you don't have it install it via: https://babeljs.io/docs/usage/polyfill

import store from './vuex/store'
import web3Sync from '@haloplatform/vuex-web3-sync'

web3Sync(store, 'webThree')
// second parameter is module name, optional

Exposed Getters:

  • address - need description
  • coinbase - String ETH Address Hex
  • instance - Function<Web3> Function that returns web3 instance
  • isInjected - Boolean True if web3 is injected
  • networkId - String Network ID
  • isLocal - Boolean True if web3 instance is connected to local node
  • balance - String Wallet balance
  • isApprovedNetwork - Boolean True if network is approved
  • networkName - String Network Name
  • filter - same as web3.eth.filter
  • reset - same as web3.reset
  • sha3 - same as web3.sha3
  • contract - same as web3.eth.contract
  • isConnected - same as web3.isConnected
1.4.7

5 years ago

0.3.0

5 years ago

1.3.0

5 years ago

1.2.3

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.6-0

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago