diff --git a/.js.env.example b/.js.env.example index 4fd9a9d6023..f63a5ecb35c 100644 --- a/.js.env.example +++ b/.js.env.example @@ -10,5 +10,9 @@ export MM_PUBNUB_SUB_KEY="" export MM_PUBNUB_PUB_KEY="" export MM_OPENSEA_KEY="" -export MM_INFURA_PROJECT_ID="" +# NOTE: Non-Metamask only, will need to create an account and generate +# API key at https://infura.io in order to connect to main and test nets. +# More info: https://github.com/MetaMask/metamask-mobile/issues/1984 + +export MM_INFURA_PROJECT_ID="null" diff --git a/README.md b/README.md index f0daaf70184..bab8ecab0b2 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,14 @@ yarn install # this will run a lengthy postinstall flow cd ios && pod install && cd .. # install pods for iOS ``` +- _Non-MetaMask Only:_ In the project root folder run +``` + cp .ios.env.example .ios.env && \ + cp .android.env.example .android.env && \ + cp .js.env.example .js.env + ``` +- _Non-MetaMask Only:_ Create an account and generate your own API key at [Infura](https://infura.io) in order to connect to main and test nets. Fill `MM_INFURA_PROJECT_ID` in `.js.env`. (App will run without it, but will not be able to connect to actual network.) + - Then, in one terminal, run: ```bash