Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Buidler boilerplate for use with create-aragon-app

License

Notifications You must be signed in to change notification settings

aragon/aragon-buidler-boilerplate

Repository files navigation

Aragon Buidler Boilerplate

🕵️ Find more boilerplates using GitHub | ✨ Official boilerplates

⚠️ This boilerplate has been integrated into aragon-react-boilerplate and is deprecated.

Buidler + React boilerplate for Aragon applications.

This boilerplate includes a fully working example app, complete with a background worker and a front-end in React (with Aragon UI).

Usage

To setup use the command create-aragon-app:

npx create-aragon-app <app-name> buidler

Structure

This boilerplate has the following structure:

root
├── app
├ ├── src
├ └── package.json
├── contracts
├ └── CounterApp.sol
├── test
├── arapp.json
├── manifest.json
├── buidler.config.js
└── package.json
  • app: Frontend folder. Completely encapsulated, has its own package.json and dependencies.
    • src: Source files.
    • package.json: Frontend npm configuration file.
  • contracts: Smart Constracts folder.
    • CounterApp.sol: Aragon app contract example.
  • test: Tests folder.
  • arapp.json: Aragon configuration file. Includes Aragon-specific metadata for your app.
  • manifest.json: Aragon configuration file. Includes web-specific configurations.
  • buidler.config.js: Buidler configuration file.
  • package.json: Main npm configuration file.

Running your app

To run the app in a browser with front end plus back end hot reloading, simply run npm start.

What's in this boilerplate?

npm Scripts

  • postinstall: Runs after installing dependencies.
  • build-app: Installs front end project (app/) dependencies.
  • start Runs your app inside a DAO.
  • compile: Compiles the smart contracts.
  • test: Runs tests for the contracts.

Libraries

Releases

No releases published

Packages

No packages published