Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-dao

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-dao

## For development

  • 1.4.2
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

create-dao

For development

  1. Run yarn
  2. In one terminal
  3. Run yarn chain
  4. In another terminal
  5. Run yarn deploy
  6. Run yarn dev

What this is supposed to be

npx create-dao

The way Nader sees it:

  1. A smart contract that deploys an NFT or ERC20 (or have contracts for both)
  2. A front end that describes how the dao works (info pages, etc...)
  3. A guide that is built into the README that describes how to token-gate a discord, and the various tradeoffs around decisions when setting up a DAO
  4. A user interface that allows members to buy or mint tokens

! Important

The project is still early in development and only supports deployment to local chain out of the box. You can of course tweak the code to deploy to Rinkeby, but a low-code solution for that is still in the works.

How to use the template:

  1. Run npx create-dao

  2. cd into your project's directory

  3. Start a local Hardhat chain: npm run chain

  4. Deploy the contracts: npm run deploy

  5. Change the greeterAddress in pages/index.js to the one your contract was deployed to in #4 above.

  6. Start your app: npm run dev

(except the wrapping of create-next-app and a few modifications, this is mostly taken from https://dev.to/dabit3/the-complete-guide-to-full-stack-ethereum-development-3j13)

How this template will be used on a livenet:

  1. Run npx create-dao <dao_name>
  2. Answer questions according to your preference.
  3. cd <dao_name>
  4. yarn deploy:contract
  5. TBD..

Contributing

FAQs

Package last updated on 10 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc