User Tools

Site Tools


wiki:helium:helium_cli

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
wiki:helium:helium_cli [2022/11/23 11:11]
ehe removed
wiki:helium:helium_cli [2022/12/19 11:12]
ehe
Line 5: Line 5:
  
 ===== Assert location ===== ===== Assert location =====
 +==== First Assert location ====
 +  *  Download [[https://​github.com/​helium/​helium-wallet-rs/​releases/​|Helium-wallet application]]
 +        -  Take care to select the good version depending of your computer OS (following example is for Windows 11)
 +        -  Unzip the directory \\                    {{:​images:​unzip_directory.png?​400|}}
 +        -  Open an Shell window in the directory or go to the helium-wallet directory \\                    {{:​images:​open_terminal.png?​400|}}
 +  *  Create or import your existing wallet, like explain [[https://​docs.helium.com/​wallets/​cli-wallet|here]]  ​
 +  *  Use the following command to do an assert location \\                    {{:​images:​command_using.png?​400|}}
 +
 +<​code>​
 +helium-wallet hotspots assert --commit --onboarding --elevation=<​elevation>​ --gain=<​gain>​ --lat=<​lattitude>​ --lon=<​longitude>​ --gateway <​gateway>​
 +</​code>​
 +
 +**Description of the command:​ **
 +
 +<​code>​./​helium-wallet hotspots assert -h 
 +
 +helium-wallet-hotspots-assert 1.7.4
 +
 +Assert a hotspot location on the blockchain. The original transaction is created by the hotspot miner and supplied here for owner signing. ​
 +Use an onboarding key to get the transaction signed by the DeWi staking server ​
 +
 +USAGE: ​
 +    helium-wallet hotspots assert [FLAGS] [OPTIONS] --gateway <​gateway> ​
 +FLAGS: ​
 +        --commit            Commit the transaction to the blockchain ​
 +        -h, --help          Prints help information ​
 +        --onboarding        Use the DeWi "​staking"​ server to pay for the assert location. ​
 +                            Note that no, or only a limited number of asserts may available for use by the staking server ​
 +        -V, --version       Prints version information ​
 +
 +OPTIONS: ​
 +        --elevation <​elevation>​    The elevation for the asserted hotspot in meters above ground level. ​
 +                                   ​Defaults to the last assserted value. For negative values use '​=',​ for example: "​--elevation=-xx" ​
 +        --gain <​gain>​              The antenna gain for the asserted hotspotin dBi, with one digit of accuracy. ​
 +                                   ​Defaults to the last asserted value 
 +        --gateway <​gateway>​        Address of hotspot to assert (Miner public key) 
 +        --lat <lat>                Lattitude of hotspot location to assert. Defaults to the last asserted value. ​
 +                                   For negative values use '​=',​ for example: "​--lat=-xx.xxxxxxx" ​
 +        --lon <lon>                Longitude of hotspot location to assert. Defaults to the last asserted value. ​
 +                                   For negative values use '​=',​ for example: "​--lon=-xx.xxxxxxx" ​
 +        --mode <​mode>​              The staking mode for the assert location (full, light, dataonly). ​
 +                                   ​Defaults to the stakng mode the hotspot was added with  ​
 +                                   </​code>​
 +                                   
 +==== Reassert location ====
   - Download [[https://​github.com/​helium/​helium-wallet-rs/​releases/​|Helium-wallet application]] ​     - Download [[https://​github.com/​helium/​helium-wallet-rs/​releases/​|Helium-wallet application]] ​  
   - Create or import your existing wallet, like explain [[https://​docs.helium.com/​wallets/​cli-wallet|here]]  ​   - Create or import your existing wallet, like explain [[https://​docs.helium.com/​wallets/​cli-wallet|here]]  ​
   - Use the following command to do an assert location:   - Use the following command to do an assert location:
  
-''​helium-wallet hotspots assert ​ --gateway <​gateway> ​--elevation=<​elevation>​ --gain=<​gain>​ --lat=<​lattitude>​ --lon=<​longitude>​ --commit'' ​+<​code>​ 
 +helium-wallet hotspots assert --commit ​--elevation=<​elevation>​ --gain=<​gain>​ --lat=<​lattitude>​ --lon=<​longitude>​ --gateway <​gateway>​ 
 +</​code>​
  
 **Description of the command:​ ** **Description of the command:​ **
  
-**./​helium-wallet hotspots assert -h** \\ +<​code>​./​helium-wallet hotspots assert -h  
-\\ + 
-helium-wallet-hotspots-assert 1.7.4 \\ +helium-wallet-hotspots-assert 1.7.4 
-\\ + 
-Assert a hotspot location on the blockchain. The original transaction is created by the hotspot miner and supplied here for owner signing. ​ \\ +Assert a hotspot location on the blockchain. The original transaction is created by the hotspot miner and supplied here for owner signing.  
-Use an onboarding key to get the transaction signed by the DeWi staking server ​\\ +Use an onboarding key to get the transaction signed by the DeWi staking server  
-\\ + 
-USAGE: ​\\ +USAGE:  
-    helium-wallet hotspots assert [FLAGS] [OPTIONS] --gateway <​gateway> ​\\ +    helium-wallet hotspots assert [FLAGS] [OPTIONS] --gateway <​gateway>​  
-FLAGS: ​\\ +FLAGS:  
-        --commit            Commit the transaction to the blockchain ​\\ +        --commit            Commit the transaction to the blockchain  
-        -h, --help          Prints help information ​\\+        -h, --help          Prints help information ​
         --onboarding        Use the DeWi "​staking"​ server to pay for the assert location. ​         --onboarding        Use the DeWi "​staking"​ server to pay for the assert location. ​
-                            Note that no, or only a limited number of asserts may available for use by the staking server ​\\ +                            Note that no, or only a limited number of asserts may available for use by the staking server  
-        -V, --version       Prints version information ​\\ +        -V, --version       Prints version information  
-\\ + 
-OPTIONS: ​\\ +OPTIONS:  
-        --elevation <​elevation>​    The elevation for the asserted hotspot in meters above ground level. ​\\ +        --elevation <​elevation>​    The elevation for the asserted hotspot in meters above ground level.  
-                                   ​Defaults to the last assserted value. For negative values use '​=',​ for example: "​--elevation=-xx" ​\\ +                                   ​Defaults to the last assserted value. For negative values use '​=',​ for example: "​--elevation=-xx"​  
-        --gain <​gain>​              The antenna gain for the asserted hotspotin dBi, with one digit of accuracy. ​\\  +        --gain <​gain>​              The antenna gain for the asserted hotspotin dBi, with one digit of accuracy.  
-                                   ​Defaults to the last asserted value \\ +                                   ​Defaults to the last asserted value  
-        --gateway <​gateway>​        Address of hotspot to assert (Miner public key) \\ +        --gateway <​gateway>​        Address of hotspot to assert (Miner public key)  
-        --lat <lat>                Lattitude of hotspot location to assert. Defaults to the last asserted value. ​\\  +        --lat <lat>                Lattitude of hotspot location to assert. Defaults to the last asserted value.  
-                                   For negative values use '​=',​ for example: "​--lat=-xx.xxxxxxx" ​\\ +                                   For negative values use '​=',​ for example: "​--lat=-xx.xxxxxxx"​  
-        --lon <lon>                Longitude of hotspot location to assert. Defaults to the last asserted value. ​\\  +        --lon <lon>                Longitude of hotspot location to assert. Defaults to the last asserted value.  
-                                   For negative values use '​=',​ for example: "​--lon=-xx.xxxxxxx" ​\\ +                                   For negative values use '​=',​ for example: "​--lon=-xx.xxxxxxx"​  
-        --mode <​mode>​              The staking mode for the assert location (full, light, dataonly). ​\\ +        --mode <​mode>​              The staking mode for the assert location (full, light, dataonly).  
-                                   ​Defaults to the stakng mode the hotspot was added with  ​\\+                                   ​Defaults to the stakng mode the hotspot was added with  ​ 
 +                                   </​code>​
wiki/helium/helium_cli.txt · Last modified: 2022/12/19 11:14 by ehe