Klaytn ProviderEngine is a tool for composing your own klaytn providers.
Originally created for MetaMask and Ethereum, but forked by Kompose for Klaytn usage.
Built to be modular - works via a stack of 'sub-providers' which are like normal web3 providers but only handle a subset of rpc methods.
The subproviders can emit new rpc requests in order to handle their own; e.g.
klay_call may trigger
klay_getCode, and others.
The provider engine also handles caching of rpc request results.
const ProviderEngine =// cache layerengine// filtersengine// pending nonceengine// vmengine
When importing in webpack: