Graft官网:https://www.graft.network/
github地址:https://github.com/graft-project/GraftNetwork/releases
节点搭建
从https://github.com/graft-project/GraftNetwork/releases/tag/v1.9.2
获得安装结点,使用如下代码:
sudo apt install libnorm-dev
wget https://github.com/graft-project/GraftNetwork/releases/download/v1.9.2/GraftNetwork_1.9.2-ubuntu-18.04.x64.tar.gz
tar -zxvf GraftNetwork_1.9.2-ubuntu-18.04.x64.tar.gz
cd GraftNetwork_1.9.2-ubuntu-18.04.x64/
试着运行节点:
./graftnoded
然后control+c
暂停后可以使用如下代码后台运行
./graftnoded --log-file my_graftnode.log --detach
日志地址
日志的目录是:
~/.graft
日志文件地址是:~/.graft/my_graftnode.log
钱包地址获取
./graft-wallet-cli
之后可以看到如下内容:
This is the command line graft wallet. It needs to connect to a graft
daemon to work correctly.
WARNING: Do not reuse your Graft keys on another fork, UNLESS this fork has key reuse mitigations built in. Doing so will harm your privacy.
Graft 'Vela Pulsar' (v1.9.2-release)
Logging to ./graft-wallet-cli.log
Specify wallet file name (e.g., MyWallet). If the wallet doesn't exist, it will be created.
Wallet file name (or Ctrl-C to quit): wallet
No wallet found with that name. Confirm creation of new wallet named: wallet
(Y/Yes/N/No): y
Generating new wallet...
Enter a new password for the wallet:
Confirm password:
List of available languages for your wallet's seed:
If your display freezes, exit blind with ^C, then run again with --use-english-language-names
0 : Deutsch
1 : English
2 : Español
3 : Français
4 : Italiano
5 : Nederlands
6 : Português
7 : русский язык
8 : 日本語
9 : 简体中文 (中国)
10 : Esperanto
11 : Lojban
Enter the number corresponding to the language of your choice: 1
即可得到如下内容:
Generated new wallet: G7Mb3qumRzDD9Hu3kx2rCecMa5j1vwCam5rPNaSUAubWatj7DELhybv94jCyzmxwhcBLGA2YcHZd789GiAA4ofUJ4GQUpZo
View key: 8e761576b981a5701ed05b7cf363dc915955f09bbbc4c432f1b1b0853c279d0e
**********************************************************************
Your wallet has been generated!
To start synchronizing with the daemon, use the "refresh" command.
Use the "help" command to see the list of available commands.
Use "help <command>" to see a command's documentation.
Always use the "exit" command when closing graft-wallet-cli to save
your current session's state. Otherwise, you might need to synchronize
your wallet again (your wallet keys are NOT at risk in any case).
在这里可以看到GRFT的钱包地址为:G7Mb3qumRzDD9Hu3kx2rCecMa5j1vwCam5rPNaSUAubWatj7DELhybv94jCyzmxwhcBLGA2YcHZd789GiAA4ofUJ4GQUpZo