Skip to content
willliw edited this page Apr 25, 2016 · 9 revisions

To get the license in the test blockchain, please contact [email protected].

Sending license

This function is only for Alliance, the article will be updated in the near future.

Mint your own token

Once you get the license from any Alliance member, you can mint your own token.

./bitcoin-cli -gcoin mint {amount} {color_id}

Check the license

In GCoin, each wallet can get more than one licenses. To see which licenses you have, try the command:

./bitcoin-cli -gcoin getlicenseinfo

The command will list all the licenses in your wallet, and tell you each license belong to which address.

Moreover, we add the license info feature into GCoin1.1, the license info should be claimed and appended in the end of the sending license transaction. Once the sending license transaction is on the blockchain, the receiver get the license and the license info won't be changed anymore.

To check the detail of each license, use the command:

./bitcoin-cli -gcoin getassetinfo {color_id}

Member only token

There are only few rules in license info is implemented now. The most important one is the member_control field. If it is setting to true, this color token is a member only token.The token can send/receive only within the members. Only the license owner can activate the member by sending some token to that user (address).