Skip to content

Latest commit

 

History

History
67 lines (54 loc) · 4.2 KB

README.md

File metadata and controls

67 lines (54 loc) · 4.2 KB

nectardao

Nectar DAO is a DAO for the Nectar-DeversiFi community. This repo is configuring and deploying the nectar DAO.

Architecture

The DAO is based on DAOstack's Arc platform, and using the Infra platform for decision making, based on Holographic Consensus.

A rinkeby example for the DAO was deployed, with its Avatar on address 0x5B3dd2a8D0B50A22223d825fB671b51b6A713448. The complete addresses and deployment logs can be found here.

Rinkeby deployment links

Diagram

necdiagram

Voting parameters

Production voting parameters

Contracts

The dao contracts are based on arc version 0.0.1-rc.33

Reputaiton bootstrap schemes

locking batches nec snapshot

gen auction

Deployment

  1. Add .env file which include the provider url e.g provider="https://mainnet.infura.io/v3/1234
  2. Set parameter json example
  3. Update prepare cmd at package.json
  4. npm i
  5. npm run migrate -- --private-key <PRIVATE_KEY> --provider https://mainnet.infura.io/v3/<infuraKey>

Redemption Script

In order to run the redeeming script, start by adding the following arguments to your .env file.

private_key=YOUR_PRIVATE_KEY
ws_provider=YOUR_WEB_SOCKER_WEB3_PROVIDER
from_block=THE_BLCOK_TO_START_SCANNING_FROM
gas_price=GAS_PRICE_FOR_TXS
NectarReputationRedeemerAddress=REDEEMING_CONTRACT_ADDRESS
Auction4ReputationAddress=AUCTION_4_REPUTATION_CONTRACT_ADDRESS
CLT4RAddress=CLT4REPUTATION_CONTRACT_ADDRESS

Then, run the command npm run redeem and wait for the script to execute all redeems.