Ara context to encapsulate things like Web3, etc.
Stable
$ npm install ara-context
const context = require('ara-context')()
where opts
can be:
opts.web3
- An object of options for configuringWeb3
opts.web3.provider
- AWeb3
provider or URI for a provider (http
,ws
, etc)opts.web3.[id].providers
- Array of network providers, whereid
is a string representation of the network/chain id
Releases follow Semantic Versioning
LGPL-3.0