This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
wiki:helium:helium_cli [2022/11/23 10:31] ehe created |
wiki:helium:helium_cli [2022/12/19 11:14] (current) 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 a Shell window in the directory (right click then click on **Open in the Terminal**) \\ {{: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 | + | Assert a hotspot location on the blockchain. The original transaction is created by the hotspot miner and supplied here for owner signing. |
| - | 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: | + | |
| - | 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: | + | USAGE: |
| - | --elevation <elevation> The elevation for the asserted hotspot in meters above ground level. Defaults to the | + | helium-wallet hotspots assert [FLAGS] [OPTIONS] --gateway <gateway> |
| - | last assserted value. For negative values use '=', for example: "--elevation=-xx" | + | FLAGS: |
| - | --gain <gain> The antenna gain for the asserted hotspotin dBi, with one digit of accuracy. Defaults | + | --commit Commit the transaction to the blockchain |
| - | to the last asserted value | + | -h, --help Prints help information |
| - | --gateway <gateway> Address of hotspot to assert (Miner public key) | + | --onboarding Use the DeWi "staking" server to pay for the assert location. |
| - | --lat <lat> Lattitude of hotspot location to assert. Defaults to the last asserted value. For | + | Note that no, or only a limited number of asserts may available for use by the staking server |
| - | negative values use '=', for example: "--lat=-xx.xxxxxxx" | + | -V, --version Prints version information |
| - | --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'' | + | |
| + | 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> | ||