virto-network / virto-node

Virto Network blockchain node.
GNU General Public License v3.0
21 stars 10 forks source link

Auto register assets for communities #396

Closed olanod closed 3 months ago

olanod commented 4 months ago

When a new community joins and sets its decision method to a foreign asset we should register it if it doesn't exist yet to allow said community to bring tokens and start voting right after the creation of the community.

olanod commented 3 months ago

The feature was implemented also requiring the community to specify a "minimum vote amount" as part of the CommunityAsset configuration, that way the minimum vote also becomes the "existential deposit" for the newly created asset.