Laser BEAM commands - hadescoincom/hds-core GitHub Wiki
- show laser channels
./hds-wallet-masternet laser --laser_channels_list
- wait incoming laser connection (will generate address)
./hds-wallet-masternet laser --laser_receive --laser_my_locked_amount <amount in hds> --laser_remote_locked_amount <amount in hds> --laser_fee <amount in groth>
Example:
./hds-wallet-masternet laser --laser_receive --laser_my_locked_amount 1.1 --laser_remote_locked_amount 1.1 --laser_fee 100
- connect with laser
./hds-wallet-masternet laser --laser_open --laser_address <address> --laser_my_locked_amount <amount in hds> --laser_remote_locked_amount <amount in hds> --laser_fee <amount in groth>
Example:
./hds-wallet-masternet laser --laser_open --laser_address 285a776d78e6e0ee285a196282e61768b87c7c108a7d8cf7622a094555d2cfeb80e --laser_my_locked_amount 0.9 --laser_remote_locked_amount 1.1 --laser_fee 100
- listen laser channels
./hds-wallet-masternet laser --laser_listen [channel id 1,channel id 2, ... channel id N]
Example:
./hds-wallet-masternet laser --laser_listen
./hds-wallet-masternet laser --laser_listen 4bd5ee31b264f6102709dc145cf37b55
./hds-wallet-masternet laser --laser_listen 4bd5ee31b264f6102709dc145cf37b55,73e5af986eb3ea165f71bbb54ebfad37
- send coins
./hds-wallet-masternet laser --laser_send <amount in hds> --laser_channel <channel id>
Example:
./hds-wallet-masternet laser --laser_send 0.1 --laser_channel 4bd5ee31b264f6102709dc145cf37b55
- close laser channels. after lock time is up or if other side is offline
./hds-wallet-masternet laser --laser_drop <channel id 1,channel id 2, ... channel id N>
Example:
./hds-wallet-masternet laser --laser_drop 4bd5ee31b264f6102709dc145cf37b55
./hds-wallet-masternet laser --laser_drop 4bd5ee31b264f6102709dc145cf37b55,73e5af986eb3ea165f71bbb54ebfad37
- close laser channels. before lock time is up, only if other side is online
./hds-wallet-masternet laser --laser_close <channel id 1,channel id 2, ... channel id N>
Example:
./hds-wallet-masternet laser --laser_close 4bd5ee31b264f6102709dc145cf37b55
./hds-wallet-masternet laser --laser_close 4bd5ee31b264f6102709dc145cf37b55,73e5af986eb3ea165f71bbb54ebfad37
- delete laser channels from DB, only for closed channels
./hds-wallet-masternet laser --laser_delete <channel id 1,channel id 2, ... channel id N>
Example:
./hds-wallet-masternet laser --laser_delete 4bd5ee31b264f6102709dc145cf37b55
./hds-wallet-masternet laser --laser_delete 4bd5ee31b264f6102709dc145cf37b55,73e5af986eb3ea165f71bbb54ebfad37