1.0.5 • Published 5 years ago

ara-context v1.0.5

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

ara-context

Ara context to encapsulate things like Web3, etc.

Status

Stable

Installation

$ npm install ara-context

Usage

const context = require('ara-context')()

API

context = require('ara-context')(opts)

where opts can be:

  • opts.web3 - An object of options for configuring Web3
  • opts.web3.provider - A Web3 provider or URI for a provider (http, ws, etc)
  • opts.web3.[id].providers - Array of network providers, where id is a string representation of the network/chain id

Contributing

Releases follow Semantic Versioning

See Also

License

LGPL-3.0

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.6.4

7 years ago

0.6.3

7 years ago

0.6.2

7 years ago

0.6.1

7 years ago

0.5.8

7 years ago

0.6.0

7 years ago

0.5.7

7 years ago

0.5.6

7 years ago

0.5.4

7 years ago

0.5.1

7 years ago