rToken administration Aragon application
This boilerplate has the following structure:
root
├── app
├ ├── src
├ └── package.json
├── contracts
├ ├── CounterApp.sol
├ └── Template.sol
├── migration
├── test
├── arapp.json
├── manifest.json
├── truffle.js
└── package.json
RDaiAdmin.sol
: RDaiAdmin App - uses Aragon Agent, and Voting to enable administrative functions of the rToken contractTemplate.sol
: Aragon Template to deploy a fully functional DAO.
npx aragon run --template Template --template-init @ARAGON_ENS
Running your app using HTTP will allow for a faster development process of your app’s front-end, as it can be hot-reloaded without the need to execute aragon run
every time a change is made.
First start your app’s development server running npm run start:app
, and keep that process running. By default it will rebuild the app and reload the server when changes to the source are made.
After that, you can run npm run start:http
or npm run start
which will compile your app’s contracts, publish the app locally and create a DAO. You will need to stop it and run it again after making changes to your smart contracts.template
Changes to the app’s background script (app/script.js
) cannot be hot-reloaded, after making changes to the script, you will need to either restart the development server (npm run start:app
) or rebuild the script npm run build:script
.
Running your app using IPFS will mimic the production environment that will be used for running your app. npm run start:ipfs
will run your app using IPFS. Whenever a change is made to any file in your front-end, a new version of the app needs to be published, so the command needs to be restarted.
You can publish you app on aragonPM. See how in our publish guide.
Note
The Template will not be published.
You can use a different account to interact with you app. Check the documentation.
You can propagate the content of your app on IPFS. Learn more in our troubleshooting guide or use the aragon ipfs propagate
command:
npx aragon ipfs propagate <cid>
Where cid
is your content id hash (this will be displayed after publishing).