DogeProtocol / go-dp

Go implementation of the DP Quantum Coin Blockchain
https://dpdocs.org
GNU Lesser General Public License v3.0
3 stars 5 forks source link

Enable dynamic governance model for transaction gas base fee #9

Open DogeProtocol opened 1 year ago

DogeProtocol commented 1 year ago

Rationale

Currently, the base fee for gas is hardcoded.

Why should this feature exist? What are the use-cases?

A governance model can better help build the platform by allowing gas fee to be voted. The gas fee can be dynamically determined by allowing anyone to specify a smart contract that returns the gas fee and PoS stakes to vote and accept or reject this smart contract.

Implementation

Do you have ideas regarding the implementation of this feature? Are you willing to implement this feature?

What is the priority?

(On a scale of 1 to 5, with 1 being highest priority)