nivida / web3.ts

POC for a Web3 Lib
9 stars 2 forks source link

Define Web3.ts providers as internal #22

Open nivida opened 4 years ago

nivida commented 4 years ago

The provider classes do not have to get exposed with the public API.

I would prefer to just pass the options as in other JS libs e.g.:

{
  provider: ['ws://localhost:8545', {...options}]
}