BLOCKCHAIN TECHNOLOGY CONSULTING
  • Home
  • Research
  • About

3/7/2020

Libra Testnet install and sample

Read Now
 
Libra testnet on Linux (Kali linux)
1: Github Link
https://github.com/libra/libra

2: Open terminal and install CLI
git clone https://github.com/libra/libra.git

3: Launch testnet
cd libra
git checkout testnet
Picture
I have done it before so that terminal displays as above
4: Installing dependencies, this takes several minutes depending on your network
./scripts/dev_setup.sh
Picture
(5): Start CLI (This attempt showed error)
./scripts/cli/start_cli_testnet.sh
Picture
As you can see and also as I expected it appeared error. 
I deleted existing Libra folder and reinstalled by step 2 - 4.
(I have installed Libra November 2019 and can still see quite updates on the Github repository, no surprise it didn't launch after 5 month of updates)

5: Start CLI
​./scripts/cli/start_cli_testnet.sh
​ (It took me about 20 mins)
Picture
6: Use Libra with CLI
​
Help command below
Picture
Picture
Picture
7: Libra CLI sample
What I did below is
1: account create
2: account list //to check account number = index 0 and address as shown below
3: account mint 0 100 // minted 100 coins at account 0
4: query balance 0 // check account 0 to see 100 coins
5: create account // created again so that I can send the coins
6: account list // now you can see 2 accounts
7: transfer 0 1 30 // transferred 30 coins account 0 to account 1 
8: query balance 0 // to check balance
9: query balance 1 // to check balance
Picture
It is simple to use and built with Rust. It seems secure with the limited function and the security of Rust language.
Libra project isn't hyped as much as before but it is still actively updated on Github as of today, March 7 2020. 
Picture

Share


Comments are closed.
"website and the information contained herein is not intended to be a source of advice or credit analysis with respect to the material presented, and the information and/or documents contained in this website do not constitute investment advice."
  • Home
  • Research
  • About