1.0.5 • Published 5 years ago
ara-context v1.0.5
ara-context
Ara context to encapsulate things like Web3, etc.
Status
Stable
Installation
$ npm install ara-contextUsage
const context = require('ara-context')()API
context = require('ara-context')(opts)
where opts can be:
opts.web3- An object of options for configuringWeb3opts.web3.provider- AWeb3provider or URI for a provider (http,ws, etc)opts.web3.[id].providers- Array of network providers, whereidis a string representation of the network/chain id
Contributing
Releases follow Semantic Versioning
See Also
License
LGPL-3.0