Skip to content

Commit

Permalink
REACT_APP_INFURA_TOKEN in .env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
vbaranov committed May 7, 2018
1 parent e18e0fe commit 1ae83b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
@@ -1 +1,2 @@
REACT_APP_REGISTRY_ADDRESS='{"1":"0x445b4c58113C784640a978cfE39b0065118B91A5","3":"0xD4543Fe1ded1637768516A3Ef35614F91F715370","4":"0x16C25e1139fC96E8705A59E7a4F132d11DfFeE4E","42":"0x3d9EE1B10a002B9113e5dAeF8F19067503d6162A","12648430":"0xe78a0f7e598cc8b0bb87894b0f60dd2a88d6a8ab","77":"0x058faf0b1248a6de96ef51696564fe5d64b5e231","99":"0x41D420ED515E51A4023fBa2945a46186274181d6"}'
REACT_APP_INFURA_TOKEN='kEpzZR9fIyO3a8gTqJcI'
3 changes: 1 addition & 2 deletions src/stores/Web3Store.js
Expand Up @@ -23,8 +23,7 @@ class Web3Store {
}

getInfuraLink = (network) => {
const infuraToken = 'kEpzZR9fIyO3a8gTqJcI'
return `https://${network}.infura.io/${infuraToken}`
return `https://${network}.infura.io/${process.env['REACT_APP_INFURA_TOKEN']}`
}

getWeb3 = cb => {
Expand Down

0 comments on commit 1ae83b0

Please sign in to comment.