-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
started adding a yachli example and taskfile
Signed-off-by: Jeromy Cannon <[email protected]>
- Loading branch information
1 parent
ed6527b
commit 329a328
Showing
10 changed files
with
60 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
output/ | ||
syserr.log | ||
/localhost/sysfiles/addressBook.json |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 3 | ||
tasks: | ||
verify:port:forwarding: | ||
# silent: true | ||
desc: verify that port forwarding is working | ||
cmds: | ||
- | | ||
export PORT_FORWARDING=$(ps -ef | grep 50211 | grep -v grep) | ||
if [[ "${PORT_FORWARDING}" != "" ]]; then | ||
echo "found existing port forwarding for 50211" | ||
else | ||
echo "Port forwarding is not working" | ||
fi | ||
get:ledger:addressbook: | ||
# silent: true | ||
desc: retrieve the address book from the ledger | ||
cmds: | ||
- java -jar yahcli.jar --verbose=DEBUG -n localhost -p 2 sysfiles download address-book | ||
|
||
update:ledger:addressbook: | ||
# silent: true | ||
desc: update the address book on the ledger | ||
cmds: | ||
- java -jar yahcli.jar --verbose=DEBUG -n localhost -p 2 sysfiles upload address-book | ||
|
||
get:mirror:addressbook: | ||
# silent: true | ||
desc: retrieve the address book from the mirror node | ||
cmds: | ||
- echo "not implemented" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
defaultNetwork: localhost | ||
networks: | ||
localhost: | ||
allowedReceiverAccountIds: [] | ||
nodes: | ||
- { id: 0, account: 3, ipv4Addr: 127.0.0.1 } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
swirlds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-----BEGIN ENCRYPTED PRIVATE KEY----- | ||
MIHDMH8GCSqGSIb3DQEFDTByMFEGCSqGSIb3DQEFDDBEBDAqNosoP7Vz+faodhk1 | ||
2N4Lykgs3AjiaZws0sajodGNLax8pG0FIFarGWtJyRPSKvgCAicQMAwGCCqGSIb3 | ||
DQIKBQAwHQYJYIZIAWUDBAEqBBC6ckCkLqfdzlIynrvwtracBECvr1K4KI1PWJ5z | ||
YY7WKfjy57ffuuQ2GlNZUrp6yylRlRPGqZ015XT2Cbph6sZNE4xwn0NMxGp7Wf2f | ||
j0A8/Il/ | ||
-----END ENCRYPTED PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
myOHiYnunypq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-----BEGIN ENCRYPTED PRIVATE KEY----- | ||
MIHDMH8GCSqGSIb3DQEFDTByMFEGCSqGSIb3DQEFDDBEBDAAjYrJqdRn+yhHliur | ||
S1x8C89N3CTmjwLsB6C5n2fLs8oaB+7SpgDBkWibsrlc8+ACAicQMAwGCCqGSIb3 | ||
DQIKBQAwHQYJYIZIAWUDBAEqBBCRaztcTLabmkKgzlaF4vP9BEBb9fqmaZXq86dr | ||
SnlCMX1xu5+zz0sJIYTT9oV4tVvqeW+CLT8FdReh3Zu86T6IoGN4sCU9C/FmyhOZ | ||
JZlpLoFO | ||
-----END ENCRYPTED PRIVATE KEY----- |
Binary file not shown.