Skip to content

Instantly share code, notes, and snippets.

@c-geek
Last active August 29, 2015 13:56
Show Gist options
  • Save c-geek/9276643 to your computer and use it in GitHub Desktop.
Save c-geek/9276643 to your computer and use it in GitHub Desktop.
Join a new uCoin currency

Joining a new currency

With autovoting mecanisms, ucoin is voting itself new amendments. So if you want to join a uCoin currency using such mecanism, no human intervention is required.

Just do the following:

Install Node.js (if not already done)

If Node.js is not installed, check this document to do so.

For Ubuntu 14.04, you can just do:

$ sudo npm install nodejs npm

Update your ucoin-cli

ucoin-cli tool is required for the next steps. What you need is just to do the following:

$ sudo npm install unix2dos
$ sudo npm install -g vucoin

Publish your key

$ ucoin -s ucoin.twiced.fr -p 9101 -u nameOfYourKey send-pubkey

Ask for joining

$ ucoin -s ucoin.twiced.fr -p 9101 -u nameOfYourKey join

You may even leave if already a member

$ ucoin -s ucoin.twiced.fr -p 9101 -u nameOfYourKey leave

You may ask to be a voter too

If you want to participate to the voting of newcoming amendments, just register yourself as voter:

$ ucoin -s ucoin.twiced.fr -p 9101 -u nameOfYourKey voter

Note that you will have to wait next amendment to ratify your registering. Thereafter, you will need a valid node using your key (or subkey) to participate in voting next amendments.

And then wait!

Contract will evolve by itself, or more precisely according to incoming votes, automatically generated by nodes. When your changes have been enoughly voted, they will be part of current Contract.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment