Skip to content

Instantly share code, notes, and snippets.

@mempirate
Created November 21, 2019 21:09
Show Gist options
  • Save mempirate/5922bef018c2e37f942e5ce25599dbb3 to your computer and use it in GitHub Desktop.
Save mempirate/5922bef018c2e37f942e5ce25599dbb3 to your computer and use it in GitHub Desktop.
'use strict'
module.exports = Web3 => {
const provider = new Web3.providers.HttpProvider('https://rinkeby.infura.io/v3/YOUR_INFURA_API_KEY_HERE')
return new Web3(provider)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment