-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall
executable file
·45 lines (32 loc) · 1.17 KB
/
install
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env bash
eval $(./scripts/colors | sed 's/\(.*\)=\(.*\)/export \1="\2"/g')
clear
echo
./scripts/banner
echo
echo -e "${GREEN}Xahau(d) - JS Hooks ALPHA TOOLKIT${END}"
echo -e " ^^ EARLY STAGE! Expect dragons! 🐉 🐉"
echo
echo -e "${BLUE}Installs & runs:${END}"
echo " - Local JS Hooks enabled Xahau instance"
echo " - Network ID 65535 to disable TX signature verification"
echo " - Technical Explorer"
echo " - Log Watcher (rippled in trace, filtering on Hook info)"
echo " - JS Hooks compiler (JS to Hook) & deployment"
echo " - Transaction Generation Helper script"
echo
echo -e "${BLUE}Checking dependencies:${END}"
./scripts/install-check-prerequisites ; [[ $? -gt 0 ]] && echo -e "${RED}Dependency (reqiurement) ERROR - Please fix the dependency error and try again.${END}" && exit 1 || echo -e "${GREEN}Dependencies OK${END}"
echo
echo -e "${BLUE}Building/running Docker Image:${END}"
echo
echo -e "${PURPLE}XAHAUD${END}"
./scripts/xahaud
echo
echo -e "${PURPLE}JS HOOK BUILDER${END}"
./scripts/hook-builder
echo
echo -e "${PURPLE}TECHNICAL EXPLORER${END}"
./scripts/technical-explorer
##### Done
echo