• Stars
    star
    131
  • Rank 275,867 (Top 6 %)
  • Language
  • Created over 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

DeFiChain Improvement Proposals (DFIP) & Community Fund Proposals (CFP)

DFIPs and CFPs

This document details how to participate in DFIPs and CFPs on DeFiChain. With the recent introduction of On-Chain Governance, it is important to follow all the steps outlined below to ensure your DFIPs/CFPs are submitted successfully on-chain.

Overview

There are 2 key phases to take note of for those who wish to submit a proposal:

  1. Proposal submission: Every proposal has to be available on the blockchain for 130,000 blocks (approximately 45 days) before the vote becomes valid. This will be referred to as the proposal ingestion period.
  2. Proposal voting period: Upon submission, all proposals are eligible for voting in the next 260,000 blocks (~90 days) . For proposals that have fulfilled the 130,000-block ingestion period, masternodes can vote for them across the next 45 days (130,000 blocks).

Screenshot 2023-01-25 at 7 06 23 PM

For more information, please see this blog here.

Submit Proposals On-Chain

Step 1: Submission of DFIPs and CFPs on GitHub / Reddit

Community users can opt to follow either userflow A or userflow B.

  • Userflow A - for GitHub submission:

    • Submit your proposal on GitHub
    • Create a reddit link to facilitate discussion on your proposal (add the GitHub link of your proposal to your reddit post_
    • Use the Github link for generating the command in step 2
  • Userflow B - for Reddit submission:

    • Submit your proposal on Reddit.
    • Use the Reddit link for generating the command in step 2

Step 2: Generating command on DeFiScan

Upon creating a submission on Github/Reddit, a command has to be generated for proposals to be submitted on-chain.

  1. To generate a command, head over to https://defiscan.live/, under the ‘On-Chain Governance' tab.
  2. Select Create proposal .
  3. Fill in the details. Once all details have been verified, a command line will be generated in the final step.
  4. Copy the command line.

Screenshot 2023-01-25 at 7 19 04 PM

Image 1: Generate proposal command line by selecting ‘Create proposal’ on DeFiScan, under the On-Chain Governance tab

Screenshot 2023-01-25 at 7 20 10 PM

Image 2: Fill up proposal submission details on DeFiScan

Step 3: Submit command in full node wallet

This will be the final step to ensure your proposal is submitted on-chain, which then allows the community to start voting.

  1. Head over and sign in to your full-node wallet CLI.
  2. Paste the command line generated on DeFiScan earlier.
  3. Ensure that your wallet has sufficient funds for the proposal fee, as it will be deducted during this transaction. Upon successful transaction, you should be able to view your proposal on DeFiScan, under the ‘On-Chain Governance’ tab.

Alternatively, the community can also use community projects like the DeFiChain Light Wallet to create a DFIP/CFP proposal.

Voting Proposals On-Chain

DeFiChain's consensus is to allow masternodes to make a vote on DFIPs. One masternode is eligible for one vote.

If there are duplicate votes from the same nodes, the final posted votes before the block end height for the proposal will be counted. Votes can be withdrawn by posting a neutral vote. Non-voting nodes are considered neutral votes.

At the end block height for each proposal, a simple majority of the votes, excluding neutral votes, would determine the outcome of a decision.

How to vote on-chain

Step 1: Generating voting command on DeFiScan

  1. Under the On-Chain Governance tab on DeFiScan, select a proposal from the list that you want to vote on. This will bring you to the proposal details page.
  2. Within the details page, select ‘Submit vote’. You will be prompted to key in your masternode ID, followed by your voting choice.
  3. Once all details have been verified, a voting command line will be generated in the final step.
  4. Copy the voting command line.

Screenshot 2023-01-25 at 7 21 55 PM

Image 3: To generate a voting command line on-chain, select ‘Submit vote’ in the proposal details page located on the right

Step 2: Submit voting command in full node wallet

This will be the final step to ensure your vote is submitted on-chain.

  1. Head over and sign in to your full-node wallet CLI.
  2. Paste the voting command line generated on DeFiScan.
  3. Upon successful transaction, you should be able to view your vote under the proposal details page.
  4. Repeat the process should you wish to vote on other open proposals.

Frequently Asked Questions (FAQs)

1. How are proposal fees calculated?

For DFIPs: 50 DFI for Vote of Confidence, or 500 DFI for reallocation of block rewards.

For CFPs, it requires a fee of either 1% of the amount requested or 10 DFI, whichever is higher, for Community Fund Proposal.

2. Are there other ways to submit my proposals?

If you have downloaded DeFiChain mobile Light Wallet, you may also choose to submit your proposals on the app. You may find the submission button under the Portfolio tab.

3. Are there other ways to vote on open proposals?

Voting is currently only available on the full node wallet. Do follow the instructions on how to vote on-chain.

More Repositories

1

ain

DeFi Blockchain - enabling decentralized finance on Bitcoin
C++
406
star
2

defichain.com

DeFiChain website
TypeScript
54
star
3

pinkpaper

Pink Paper: Design, technicals and direction for DeFiChain
24
star
4

metachain

DFIP 2111-B: VOC: Ethereum Virtual Machine (EVM) Support
Rust
22
star
5

whale

The super index for DeFi Blockchain to simplify DeFi light implementation. 🚧 Consolidating into DeFiCh/jellyfish as a single monorepo project.
TypeScript
16
star
6

playground

⚠️ Deprecating and consolidating into DeFiCh/jellyfish as a single monorepo project.
TypeScript
14
star
7

defi-app-old

DeFi Blockchain desktop app for Windows, Linux and Mac.
TypeScript
12
star
8

ocean

🚧 Consolidating into DeFiCh/jellyfish as a single monorepo project.
8
star
9

salmon

Mono-repo for DeFi Blockchain price oracle service with e2e setup
TypeScript
7
star
10

defi-btc-anchorer

DeFi Blockchain - Bitcoin anchorer
Python
4
star
11

libain-rs

A mono-repo of DeFiChain libs built in rust including wasm engine and wasm modules.
Rust
3
star
12

handbook

DeFiChain Handbook
JavaScript
3
star
13

oracle-adapters

Mono-repo for DeFiChain Oracle Adapters. Next-generation implementation replacing existing DeFiCh/salmon
TypeScript
3
star
14

meta.defichain.com

DeFiMetaChain Website
TypeScript
3
star
15

resources

Resources for DeFiChain
1
star
16

.github

Community health files for the @DeFiCh organization
1
star
17

defi-pressure-test

Automatically feed transaction to test the defichain
Python
1
star
18

mobil-ave

A middle place for staging public-private-issues
1
star
19

zh.defichain.com

JavaScript
1
star
20

ainx

The monorepo for most things outside of node repo
TypeScript
1
star