update cosmos broadcast flow
This commit is contained in:
parent
3dca8ee417
commit
0c29ebc443
|
@ -26,6 +26,39 @@
|
|||
|
||||
1. Place all contents except for the laptop into High Visibility Storage
|
||||
|
||||
### Online Machine: Acquire Nonce
|
||||
|
||||
1. Turn on online linux workstation
|
||||
|
||||
1. Retrieve the Ceremony SD card from High Visibility Storage and plug it into the computer
|
||||
|
||||
1. Get the nonce address for the address you are sending from by checking the appropriate \<namespace>/\<coin>/ directory.
|
||||
|
||||
* e.g `vaults/<namespace>/<coin>/0-na.txt`
|
||||
|
||||
* Set the nonce address variable:
|
||||
```
|
||||
$ nonce_address="$(cat vaults/<namespace>/<coin>/<account_id>-na.txt)"
|
||||
```
|
||||
1. Set `ICEPICK_DATA_DIRECTORY`:
|
||||
|
||||
{{ #include ../../../../../../component-documents/finding-device-name.md:content }}
|
||||
```
|
||||
$ export ICEPICK_DATA_DIRECTORY=/media/external/
|
||||
```
|
||||
|
||||
1. set `ICEPICK_CONFIG_FILE`
|
||||
```
|
||||
$ export ICEPICK_CONFIG_FILE=<path_to_icepick_repo>/icepick.toml`
|
||||
```
|
||||
1. Run the command:
|
||||
```
|
||||
$ icepick workflow cosmos broadcast --nonce-address=$nonce_address
|
||||
```
|
||||
* Await completion message before removing Ceremony SD card
|
||||
|
||||
* This command will set the computer into "awaiting mode", which will broadcast the signed transaction from the SD card once it's plugged back in after the workflow payloads are signed on the offline machine
|
||||
|
||||
### Offline Machine: Create and Sign Transaction
|
||||
|
||||
1. Retrieve AirgapOS SD card and plug it into the air-gapped machine
|
||||
|
@ -62,22 +95,18 @@
|
|||
|
||||
### Broadcast Transaction: Online Machine
|
||||
|
||||
1. Power on linux workstation
|
||||
1. Retrieve Ceremony SD from High Visibility Storage and plug it into online machine
|
||||
|
||||
1. Retrieve Ceremony SD from High Visibility Storage and plug it into linux workstation
|
||||
|
||||
1. Run the broadcast command:
|
||||
```
|
||||
$ keyfork workflow cosmos broadcast --input-file <payload.json> --nonce-address=<nonce_address>
|
||||
```
|
||||
* The `<nonce_address>` is the principal or primary address
|
||||
1. The still running broadcast command on the online machine will broadcast the transaction automatically
|
||||
|
||||
1. The url that's found in the response after a successful broadcast should be reviewed and committed to the ceremony repository
|
||||
|
||||
1. Remove the transaction files in `ICEPICK_DATA_DIRECTORY`
|
||||
```
|
||||
$ rm $ICEPICK_DATA_DIRECTORY/transaction.json
|
||||
$ rm $ICEPICK_DATA_DIRECTORY/nonce.json
|
||||
```
|
||||
|
||||
1. Unplug the Ceremony SD card and place it in High Visibility Storage
|
||||
|
||||
### Repeat
|
||||
|
|
Loading…
Reference in New Issue