在 Ubuntu Linux 作業系統中安裝 Cardano Testnet 測試網路輕量級錢包 Mallet

in #cardano6 years ago

0、Cardano KEVM/IELE Testnet 相關參考資料,請參考之前的文章:

https://steemit.com/cardano/@oneleo/cardano-kevm-iele-testnet
https://steemkr.com/cardano/@oneleo/cardano-kevm-iele-testnet

1、如何安裝 Oracle VM VirtualBox 5.2.16 版,請參考之前的文章:

https://steemit.com/oracle/@oneleo/oracle-vm-virtualbox-5-2-16
https://steemkr.com/oracle/@oneleo/oracle-vm-virtualbox-5-2-16

2、如何在 Oracle VM VirtualBox 內安裝 Ubuntu 18.04 Desktop 版,並安裝更新、建立快照,請參考之前的文章:

https://steemit.com/vm/@oneleo/oracle-vm-virtualbox-ubuntu-18-04-desktop
https://steemkr.com/vm/@oneleo/oracle-vm-virtualbox-ubuntu-18-04-desktop

3、在 Ubuntu Linux 作業系統中安裝 Cardano Testnet 測試網路輕量級錢包 Mallet

(1)安裝 Git、Node.js
參考:https://github.com/nodesource/distributions
參考:https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-ubuntu-16-04
參考:https://www.digitalocean.com/community/tutorials/how-to-install-java-on-centos-and-fedora#install-oracle-java-8

$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
$ sudo apt-get install -y git nodejs default-jre
$ git --version
$ node --version
$ java --version

(2)安裝 Mallet 指令列錢包
參考:https://testnet.iohkdev.io/goguen/kevm/get-started/testnet-wallet/
參考:https://github.com/input-output-hk/mallet/blob/master/README.md

$ cd $HOME
$ git clone https://github.com/input-output-hk/mallet
$ cd $HOME/mallet
$ npm install    
$ ./mallet --help

//-------------------------Content-------------------------
   mallet 2.0.0 - command line utility for KEVM/IELE testnets

   USAGE

     mallet <testnet>

   ARGUMENTS

     <testnet>      JSON RPC endpoint to connect. Possible values are: 'kevm', 'iele', or a custom HTTP(S) URL      required      

   OPTIONS

     -d, --datadir      Specify data directory      optional      default: "/home/ubuntu/.mallet2"

   GLOBAL OPTIONS

     -h, --help         Display help                                      
     -V, --version      Display version                                   
     --no-color         Disable colors                                    
     --quiet            Quiet mode - only displays warn and error messages
     -v, --verbose      Verbose mode - will also output debug messages
//-------------------------Content-------------------------

(3)連接進 KEVM/IELE/私人 Testnet Wallet 指令列(Interactive Shell)
註:若要離開 mallet> Shell,請輸入【Ctrl + D】鍵。

a、連線至 KEVM:

$ cd $HOME/mallet
$ ./mallet kevm

b、連線至 IELE:

$ cd $HOME/mallet
$ ./mallet iele

c、連線至私人網路:

$ cd $HOME/mallet
$ ./mallet https://kevm-testnet.iohkdev.io:8546
$ ./mallet https://iele-testnet.iohkdev.io:8546

Donate ADA:
DdzFFzCqrhsup2Q4nnhKJJZ5BRuPkYUSPqDJn72t2dtHtVqsz5kQQmopMQR16Sv9qS5NC4w8Kv5P8XrDH2n2FD2akxtrntjc8hbgAmTz

Coin Marketplace

STEEM 0.25
TRX 0.19
JST 0.035
BTC 92221.99
ETH 3313.28
USDT 1.00
SBD 3.85