On Mainnet, you will need to deposit EDGE to receive XE. This can be done via the Web Wallet.
Creating a stake
Now that you have funds, you can choose which type of stake to create. A stake allows network nodes to authenticate with the network, and can be one of the following three types:
Only Host onboarding is currently available to the community. More information about onboarding Gateway/Stargate nodes will be provided in future.
Run the following command to create a Host stake:
edge stake create host
This will advise of the stake amount required and your remaining available balance after creating the stake. You will need your passphrase in order to decrypt your wallet and sign the staking transaction.
Once the stake is created, you will need to wait a few moments until it is processed by the blockchain. To check the status of your pending transaction, you can run edge tx lsp. To check whether your new stake is available, you can run edge stake ls.
Now that you have a stake, you can add your device to the network to run a node corresponding to the stake type. Run the following command to set up your device interactively:
edge device add
You will need your passphrase again for this transaction. Once it has been submitted to the blockchain, it'll take around 1-2 minutes before you're ready to start your node.
Run edge tx lsp and/or edge stake ls to check its status.
Once the transaction has been confirmed, you're ready to start your node.
Run the following command:
edge device start
This will download and start the node software, which should then run in the background and self-update. Your device is successfully onboarded!
Edge CLI offers a variety of functions for managing your wallet, stakes, transactions, and the device itself. Have a look at the Commands Overview for more information.
If you're struggling or encountering issues, then join our Discord server and let us know in the #onboarding channel and one of the team or a community member will be happy to help.
Apple Silicon M1 Chipsets
If you're using the new Apple Silicon M1 chipsets you may run into an issue running the CLI. These new chips have additional requirements and while we work to fix these issues, you may need to run the following command to unlock the edge binary: