📝 Please report support and feedback related issues at the Aragon Chat #feedback channel.
🔧 For technical stuff, use this project's issues or join the technical conversation in our #dev channel.
🦋 For an overview of what changed in every version check the changelog
Please note that all of the code is still undocumented, and no contribution guidelines are in place.
Contributions are welcome, just beware of the dragons. 🐲
npm start
will launch the app, configured to connect to our Rinkeby deployment.
For connecting to other chains / deployments, a few useful npm scripts are provided:
- Mainnet:
npm run start:mainnet
will launch the app, configured to connect to our mainnet deployment - Local development:
npm run start:local
will launch the app, configured to connect to our aragen local development environment. It will also use the local IPFS daemon, if it detects one exists.
The app can be configured in a number of ways via environment variables:
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 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 to connect to. Either one ofmainnet
,rinkeby
orlocal
.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 the app frontend assets from. Can be one ofapm-bridge
(apm-serve
's production hosts, e.g.voting.aragonpm.eth
,ipfs
(loads through the IPFS gateway configured), orlocal
(local servers, running onlocalhost:300x
). If you intend to serve from a local IPFS daemon, you should set this toipfs
.
Without any settings, the app is configured to connect to our Rinkeby deployment using the apm-serve
bridge.