Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 1.68 KB

CONFIGURATION.md

File metadata and controls

13 lines (10 loc) · 1.68 KB

Build-time environment options

The app can be configured in a number of ways via environment variables:

  • ARAGON_DEMO_DAO: Address of the demo organization suggested to users during onboarding
  • REACT_APP_DEFAULT_ETH_NODE: Url of the default Ethereum node to read blockchain data from (must be WebSocket protocol). If you intend to connect to a local ganache instance, by default you should set this to ws://localhost:8545.
  • REACT_APP_ENS_REGISTRY_ADDRESS: Address of the ENS registry that APM repos were registered on. If you've deployed aragonOS to a local network, you can find the ENS registry's address in the migration's console output.
  • REACT_APP_ETH_NETWORK_TYPE: Expected network type to connect to. Either one of main, rinkeby or local.
  • REACT_APP_ETH_SUBSCRIPTION_EVENT_DELAY: Time (in ms) delay between receiving an event from eth_subscribe to sending it for processing. Useful in cases where a node sends events faster than it can commit state changes from the event. Defaults to 0 (no delay).
  • REACT_APP_IPFS_GATEWAY: Url of the IPFS gateway to load APM repos from. If you intend to connect to a local IPFS daemon, by default you should set this to http://localhost:8080/ipfs
  • REACT_APP_ASSET_BRIDGE: Which source to load app frontend assets from. Can be one of ipfs (uses the configured IPFS gateway) or local (local development servers, running on localhost:300x). If you intend to serve assets from a local IPFS daemon, you should set this to ipfs.

Without any settings, the app is configured to connect to our Rinkeby deployment fetching assets from IPFS.