Evo Tools
Evo-contract command tool set

Introduction

EVO Tools is a set to interact with EVO contracts. It is developed based on dapp.tools and inherits the configuration information of sethrc.

Install

  1. 1.
    Install Nix
1
# user must be in sudoers
2
curl -L https://nixos.org/nix/install | sh
3
4
# Run this or login again to use Nix
5
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
Copied!
2. Run the script
1
curl https://gist.githubusercontent.com/hujw77/ce3d9ed102de1fa1c9eba7754459333a/raw/5ec0e1a2a249e77e87753f4317f642cdf75283be/install.sh | sh
Copied!

Config

The default configuration file: ~/.sethrc
1
#!/usr/bin/env bash
2
export ETH_FROM=0x4Ffa8667Fe2db498DCb95A322b448eA688Ce430c #你的evo账户地址
3
export SETH_CHAIN=crab #网络配置
4
export ETH_PASSWORD="/home/user/evo/pass.txt" #密码文件,可选,如果只查看合约信息可不填写
5
export ETH_KEYSTORE="/home/user/.ethereum/keystore" #keystore文件,可选,如果只查看合约信息可不填写
6
export ETH_RPC_URL="<https://crab-rpc.darwinia.network>" #可选,自定义rpc-url
Copied!

Check all EVO-NFTs in your address

1
~ evo obj ls
2
Count 17
3
Index Class Level TokenId
4
0 ⛰ Land 5 0x2a04000104000101000000000000000400000000000000000000000000000272
5
1 ⛰ Land 4 0x2a04000104000101000000000000000400000000000000000000000000000273
6
2 ⛰ Land 5 0x2a04000104000101000000000000000400000000000000000000000000000279
7
3 ⛏ Drill 0 0x2a04000104000104000000000000000400000000000000000000000000000174
8
4 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000182
9
5 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000183
10
6 ⛏ Drill 2 0x2a0400010400010400000000000000040002000000000000000000000000018b
11
7 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000185
12
8 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000186
13
9 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000187
14
10 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000188
15
11 ⛏ Drill 2 0x2a04000104000104000000000000000400020000000000000000000000000189
16
12 ⛏ Drill 3 0x2a0400010400010400000000000000040003000000000000000000000000018a
17
13 🔨 Item 0 0x2a0400010400010500000000000000040000000000000000000000000000000f
18
14 👨 Apostle 1.53 0x2a0400010400010200000000000000040000000000000000000000000000003b
19
15 👨 Apostle .89 0x2a0400010400010200000000000000040000000000000000000000000000003c
20
16 👨 Apostle .45 0x2a0400010400010200000000000000040000000000000000000000000000020c
Copied!
Tips: Higher level means greater quality

Check the land information

1
~ evo sts lnd 0x2a04000104000101000000000000000400000000000000000000000000000109 --chain heco
2
########## Mask ##############
3
is_reserved 0
4
is_special 0
5
has_box 0
6
######## Locatoin ############
7
x -32
8
y -14
9
########## Rate ##############
10
Resource Start Current
11
gold 97 96.3986
12
wood 1 .9938
13
water 99 98.3862
14
fire 2 1.9876
15
soil 101 100.3738
16
------------------------------
17
LEVEL 8
18
########## Miner #############
19
lastUpdateSpeedInSeconds 0
20
lastDestoryAttenInSeconds 0
21
industryIndex 0
22
lastUpdateTime 1628038873
23
totalMiners 5
24
maxMiners 0
25
########## Item ##############
26
Index Staker ItemId
27
0 0xf233bBD8F73fca654a84aEe1462F0c54b7fFE2bD 0x2a040001040001040000000000000004000300000000000000000000000003e1
28
1 0xf233bBD8F73fca654a84aEe1462F0c54b7fFE2bD 0x2a040001040001040000000000000004000200000000000000000000000007f8
29
2 0xf233bBD8F73fca654a84aEe1462F0c54b7fFE2bD 0x2a040001040001040000000000000004000300000000000000000000000003ec
30
3 0xf233bBD8F73fca654a84aEe1462F0c54b7fFE2bD 0x2a040001040001040000000000000004000300000000000000000000000003e9
31
4 0xf233bBD8F73fca654a84aEe1462F0c54b7fFE2bD 0x2a04000104000104000000000000000400030000000000000000000000000457
32
######## Stength #############
33
Resource Land Item Total
34
Gold 0.000000000000000000 0.000000000000000000 0
35
Fire 0.000000000000000000 0.000000000000000000 0
36
Soil 0.000000000000000000 0.000000000000000000 0
37
Water 16.278438331854480916 8.627572315882874885 24.906010647737355801
38
Wood 0.000000000000000000 0.000000000000000000 0
Copied!

Check the apostle information

1
~ evo sts apo 0x2a0400010400010200000000000000040000000000000000000000000000003b
2
####### Talent ##########
3
LIFE 54(0) MOOD 49(0)
4
STR 23(0) AGI 28(0)
5
DEX 10(0) HP 53(0)
6
INT 9(0) LUK 24(0)
7
POT 60(0) CHA 0(0)
8
######### Prefer ###########
9
GOLD WOOD HOO FIRE SIOO
10
Lv.0 Lv.0 Lv.1 Lv.0 Lv.0
11
basic 1.533333333333333333 #使徒基础挖矿能力,越高越好, 与力量*敏捷成正比,潜力成反比
Copied!

Help

1
~ evo help
2
EVO - EVO Command Line Interface
3
4
Special commands:
5
6
--addr-of Get address of id
7
--uint-of Get uint of id
8
9
Commands:
10
11
apo Apostle Management
12
apo-auc Apostle Auction Management
13
apo-bas Apostle Base Management
14
apo-gen Apostle Gen0 Management
15
apo-sir Apostle SiringAuction Management
16
cmn Common Management
17
cmn-enc Common Encoder Management
18
cmn-loc Common Location Management
19
cmn-ownership Common Ownership Management
20
cmn-pts Common Points Management
21
cmn-reg Common Registry Management
22
cmn-tokenuse Common Ownership Management
23
fnc Furnace Management
24
fnc-box Furnace Drill Lucky Box Management
25
fnc-drl Furnace Drill Base Management
26
fnc-fml Furnace fml Management
27
fnc-itm Furnace Drill Base Management
28
fnc-tel Furnace MetaData Teller Management
29
fnc-tkd Market Drill TakeBack Management
30
gen EVO GeneScience Management
31
help Print help about evo(1) or one of its subcommands
32
lnd Land Management
33
lnd-bar Land Item Bar Management
34
lnd-bas Land Base Management
35
lnd-mst Land MysteriousTreasure Management
36
lnd-res Land Resource Management
37
mkt Market Management
38
mkt-auc Market Land Auction Management
39
mkt-gen Market Genesis Holder Management
40
mkt-pts Market Points Reward Pool Management
41
mkt-rvn Market Revenue Pool Management
42
mkt-tk1 Market TakeBack Management
43
mkt-tk2 Market TakeBack Management
44
obj Object Management
45
sts Object Status Management
46
sts-apo Apostle Status Management
47
sts-lnd Land Object Status
48
49
Report bugs to <https://github.com/evolutionlandorg/evo-tools/issues>.
Copied!
Last modified 3mo ago