merge in latest release
This commit is contained in:
parent
e7ef9d0753
commit
760d765520
4 changed files with 34 additions and 1 deletions
13
bin/lamassu-coinatmradar
Normal file
13
bin/lamassu-coinatmradar
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SEED="$(cat ~/seeds/seed.txt)"
|
||||
|
||||
echo
|
||||
echo "Here is the 'External ID' of your paired machine(s), for use under the 'ATM / Teller details' of your CoinATMRadar listing:"
|
||||
echo
|
||||
su - postgres -c "psql \"lamassu\" -Atc \"select regexp_replace(left(device_id,32), '$', ' '),regexp_replace(name, '^', ' ') from devices\""
|
||||
echo
|
||||
echo "If communicating with CoinATMRadar, it may be helpful to relay your 'Operator ID':"
|
||||
echo
|
||||
/usr/bin/hkdf operator-id "$SEED" | cut -c -32
|
||||
echo
|
||||
7
bin/lamassu-devices
Normal file
7
bin/lamassu-devices
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo
|
||||
echo "Your list of paired machines and their Device IDs and names:"
|
||||
echo
|
||||
su - postgres -c "psql \"lamassu\" -Atc \"select device_id, name from devices\""
|
||||
echo
|
||||
9
bin/lamassu-operator
Normal file
9
bin/lamassu-operator
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
SEED="$(cat ~/seeds/seed.txt)"
|
||||
|
||||
echo
|
||||
echo "Your Operator ID for use with CoinATMRadar is:"
|
||||
echo
|
||||
/usr/bin/hkdf operator-id "$SEED" | cut -c -32
|
||||
echo
|
||||
|
|
@ -82,7 +82,11 @@
|
|||
"lamassu-update": "./bin/lamassu-update",
|
||||
"lamassu-ofac-update": "./bin/lamassu-ofac-update",
|
||||
"lamassu-send-coins": "./bin/lamassu-send-coins",
|
||||
"lamassu-update-to-mnemonic": "./bin/lamassu-update-to-mnemonic"
|
||||
"lamassu-update-to-mnemonic": "./bin/lamassu-update-to-mnemonic",
|
||||
"lamassu-ofac-update-sources": "./bin/lamassu-ofac-update-sources",
|
||||
"lamassu-devices": "./bin/lamassu-devices",
|
||||
"lamassu-operator": "./bin/lamassu-operator",
|
||||
"lamassu-coinatmradar": "./bin/lamassu-coinatmradar"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node bin/lamassu-server",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue