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 onboardingREACT_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 tows://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 ofmain
,rinkeby
orlocal
.REACT_APP_ETH_SUBSCRIPTION_EVENT_DELAY
: Time (in ms) delay between receiving an event frometh_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 tohttp://localhost:8080/ipfs
REACT_APP_ASSET_BRIDGE
: Which source to load app frontend assets from. Can be one ofipfs
(uses the configured IPFS gateway) orlocal
(local development servers, running onlocalhost:300x
). If you intend to serve assets from a local IPFS daemon, you should set this toipfs
.
Without any settings, the app is configured to connect to our Rinkeby deployment fetching assets from IPFS.