stampchain-io / btc_stamps

Bitcoin Stamps Indexer
https://stampchain.io
GNU Affero General Public License v3.0
12 stars 4 forks source link

SRC-20 DEPLOY PRE-MINE - Allow a deployer to mint tokens within the deploy trx #303

Open reinamora137 opened 3 months ago

reinamora137 commented 3 months ago

Should be a relatively simple one

{
 "p": "SRC-20",
 "op": "DEPLOY",
 "tick": "PREMINE",
 "amt": 100,
 "lim": 1,
 "premine": 10
}
btcopenstamp commented 3 months ago

Great enhancement.

reinamora137 commented 3 months ago

I'm kind of leaning towards nix'ing this feature request for the same reason we may not want to enforce a royalty scheme at the protocol level.

This may be outside of the scope of an open-mint protocol where every minter is on the same playing level as the deployer. However there are instances where a deployer could get 'rugged' of being able to mint any of their tokens, but isn't this the curse and the beauty of an open protocol?

I've heard anecdotal evidence that even Casey at Runes mentioned this was not a good feature in runes? (proof to back this up?) - What was the reason for this? - in either case I suspect tokens that have this 'pre-mint' enabled would be visible by everyone so market dynamics would still dictate the value of those with or without the feature.

OTOH there is no real reason to hold back a feature if there is public demand / expectations or support for such a feature if the community is putting forth code to make it a reality. This is the point of an ever evolving open source protocol. The question quickly becomes 'how do we measure the public expectations at a protocol level' to effectively measure the cost/benefit of each protocol change.