After installing the worker node via Docker, you can initialize and run it by following these three steps:
Export Node Environment Variables
Initialize Node Configuration
Launch the Node
You have to deposit a small amount of the testnet BNB (tBNB) into the worker account to facilitate the sending of a confirmation transaction.
Export Node Environment Variables
To streamline the Docker installation procedure, we utilize certain environment variables. These variables are crucial for the operation of the NuLink Worker.
Select a password with at least 8 characters to lock and unlock the private storage created by the NuLink Worker. It's important to remember this password for future access.
This password is used to unlock the keystore file of your Worker account. You would have established this password when creating the Worker account via Geth. Make sure you enter the same one!!!
# step 1DetectedIPv4address (8.219.186.125) - Is this the public-facing address of Ursula? [y/N]: yPleaseprovideapasswordtolockOperatorkeys.Donotforgetthispassword,andideallystoreitusingapasswordmanager.# step 2Enternulinkkeystorepassword (8 characterminimum): xxxxxxRepeatforconfirmation:xxxxxxBackupyourseedwords,youwillnotbeabletoviewthemagain.xxxxxxxxxxxxxxxxxxxxxxxx# step 3Haveyoubackedupyourseedphrase? [y/N]: y# step 4Confirmseedwords:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxPublicKey:02bb2067d21a677ce928967c0ece79a9PathtoKeystore:/home/circleci/.local/share/nulink/keystore-Youcanshareyourpublickeywithanyone.Othersneedittointeractwithyou.-Neversharesecretkeyswithanyone!-Backupyourkeystore!Characterkeysarerequiredtointeractwiththeprotocol!-Rememberyourpassword!Withoutthepassword,it's impossible to decrypt the key!Generated configuration file at default filepath /home/circleci/.local/share/nulink/ursula.json* Review configuration -> nulink ursula config* Start working -> nulink ursula run
Launch the Node
Before performing this step, make sure that the environment variable has been set successfully. You can verify it using the following method, execute the following command:
The following command will start the node. Make sure you use the same host directory as the configuration.
Remark1: You need to claim some BNB(test) token for Worker account as gas fee.
Remark2: If you encounter error when starting Worker node, first please check that the port 9151 has not been occupied by other process. If still not working, please check there is only one configuration json file in the </path/to/host/machine/directory>