Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Commit

Permalink
Temporal fix in case there is no connection to Ethereum network
Browse files Browse the repository at this point in the history
  • Loading branch information
rtrevinnoc committed Feb 17, 2021
1 parent b097fdd commit eca1ee9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,13 @@ It is suggested to start with this configuration template, which is essentially
COLABORATE = "<a href='https://github.com/rtrevinnoc/FUTURE'>COLABORATE</a>"
CACHE_TIMEOUT = 15
CACHE_THRESHOLD = 100
WEB3API = Web3(Web3.HTTPProvider('http://127.0.0.1:8545'))
ETHEREUM_ACCOUNT = WEB3API.eth.accounts[0]
CONTRACT_CODE = 'future-token/build/contracts/FUTURE.json'
CONTRACT_ADDRESS = "0x2ebDA3D6B2F24aE57164b0384daa9af2C0D17323"
try:
WEB3API = Web3(Web3.HTTPProvider('http://127.0.0.1:8545'))
ETHEREUM_ACCOUNT = WEB3API.eth.accounts[0]
CONTRACT_CODE = 'future-token/build/contracts/FUTURE.json'
CONTRACT_ADDRESS = "0x2ebDA3D6B2F24aE57164b0384daa9af2C0D17323"
except:
pass
After you have configurated your FUTURE instance, but before you can start the server, you will be required to add a minimum of ~25 urls to your local index, by executing:

Expand Down

0 comments on commit eca1ee9

Please sign in to comment.