Skip to main content

Deployment

⚡️ TributeDAO Framework provides you a set of modular and extensible smart contracts to launch your DAO with minimal costs.

Requirements#

  • ⚙️ All the environment variables must be set in the .env file as indicated in the previous section.

  • 💲 Make sure you have enough ETH.

Deploying your DAO#

Command line#

The deployment process is triggered by the script deploy:*, where the * indicates which network the contracts are going to be deployed.

Execute the following command from the root directory of tribute-contracts project:

npm run deploy:rinkeby

🍺 Sit back and have some drink while the deployment script is executed. It may take from 10 to 20 minutes to deploy all the smart contracts.

info

The deployment is slow mainly because we deploy all the smart contracts at once, even the ones that are not in use by the DAO. With all the contracts available in the testnet you could update the DAO to use one of the different voting adapters for instance. We certainly don't do that for Mainnet deployments, but we are constantly working to improve the developer experience, and minimize the gas costs.

At the end of the deployment process you should see the following output:

...************************DaoRegistry: 0x...BankExtension: 0x...NFTExtension: 0x...ERC20Extension: 0x...************************
- Saving migration to chain.   > Saving migration to chain.   > Saving artifacts   -------------------------------------   > Total cost:          0.51462506 ETH

Summary=======> Total deployments:   34> Final cost:          0.51610942 ETH

⚡️ Awesome!! You have deployed your DAO to the Rinkeby test network, and now it is time to interact with it using our dApp called Tribute UI. Checkout the next section to dive into that.

Problems?#

Ask for help on Discord or on GitHub Discussions.