Skip to content

testnet

yangguanglu edited this page Dec 21, 2018 · 21 revisions

UChain Testnet UIP0.2

How to Join UChain Testnet

Step 1: Download UChain binary execution file on your computer and give it right to execute.

First download the UChain zipped file from resource to which match your OS type.

Second unzip the file to get ucd and uc-cli.

$ tar -zxvf UChain-linux.tar.gz 

or(for mac)

$ tar -xvzf UChain-mac.tar.gz 

Third give ucd and uc-cli right to execute(this is not needed for windows):

chmod 777 ucd
chmod 777 uc-cli

Step 2: Run a Full Node

./ucd

image

Step 3: Start testing

Open a new terminal and use uc-cli to test.

List all the commands.

./uc-cli

Get one command usage for example:

./uc-cli createwallet -h

Guide the usage to Test for example:

./uc-cli createwallet testexample 123456

image All the command lines of UChain is https://github.com/UCHAIN-WORLD/uchain-fullnode/wiki/commands.

Before you start our intresting functional testing, you should create your wallet and that's the example.Please keep the mnemonic word in your mind. Then you can give your address to us on the telegram and we can give you ucn bits to test. If you want to receive ucn,please wait minutes until the block height synchronize to the highest.We estimate that the height may be 400000 when you can receive the ucn we send to you.

Step 4: Submit bug when you find one.

https://github.com/UCHAIN-WORLD/uchain-fullnode/issues/new

image

Step 5: Play the roles.

1.Foundation Chairman

address:UNfrtAxhJRi83PjTPjV3yNPKnjLYR22Bhx
duty:send ucn to all the users.lock 40% ucn for a year.send ucn to Reward Pool
     every month due to the Interest of the locked ucn.
ifAllowUserToPlay:NO

2.Reward Pool

address:USa9SKiMHZ3TRcodvJi6oGVgS65iy47Hh4
duty:pay the Miners ucn when receive the token BLOCK.
ifAllowUserToPlay:NO

3.Miner

address:UcuW7wVu198Nuzok8eeMDUNEZQoGqQRRz5,URaJN6xB2vmFGQcXDkLkrDjaSxu9qJN4Zr,
        UeBhVsr28ovcBS5DjxqXtHa3ueCP6o2FQi
duty:Ask users to get vote.
     get 10000 vote and connect manager of telegram to be a miner.
     mine and get BLOCK token.send BLOCK token to Reward Pool to get ucn.
ifAllowUserToPlay:YES

4.User

address:UNKNOWN
duty:create your own wallet and send one address of yours to 
     Foundation Chairman to get ucn .
     Use the ucn to do test and send ucn to each other.Vote for miners.
ifAllowUserToPlay:YES

Warning

When you finish test,we recommend you to delete the UChain folder in case that you cannot use the real mainnet in the future.Also this costs a big storage.

 Windows   : rd /s /q %HOMEPATH%\AppData\Roaming\UChain
 Apple OSX : rm -r ~/Library/Application\ Support/UChain
 Linux/Uinx: rm -r ~/.UChain

Useful Links