🏦
Romulus
  • Home
  • FAQ
  • Docs
    • Romulus
    • Voting Tokens
    • Proposals
  • Guides
    • Creating a new governance
    • Voting on a proposal
    • Creating a proposal
Powered by GitBook
On this page
  • Prerequisites
  • Deploying the smart contracts
  • Adding your new Governance to the interface
  • Optional: Redeploy the smart contracts

Was this helpful?

  1. Guides

Creating a new governance

PreviousProposalsNextVoting on a proposal

Last updated 3 years ago

Was this helpful?

Prerequisites

  • A token that supports voting (e.g. )

  • Optionally, another token that will also have voting power

  • Node and Yarn installed

Deploying the smart contracts

First, reserve a name on Nomspace for your Timelock.

Second, fill in the parameters for deploying your Romulus contracts

# Fill in empty keys
cp .env.example .env

Finally, deploy the contracts with

yarn build && yarn deploy

Adding your new Governance to the interface

Create a PR on to add your newly deployed smart contracts to the interface.

Optional: Redeploy the smart contracts

If you are unhappy with the parameters you deployed the Romulus smart contracts with, updating any of the parameters should generate a new address. If a new address is not generated, try updating the SALT key in the .env file.

UBE
https://github.com/Ubeswap/romulus/blob/master/src/pages/romulus/index.tsx