frame
preset to connect to Frame's local provider. Then forward messages captured from the iframe to eth-provider
and route the responses back to the iframe
['ws://127.0.0.1:1248', 'http://127.0.0.1:1248']
const provider = require('eth-provider')
const web3 = new Web3(provider('frame'))
< -- its frame preset, as you suggested