If you already have the mina package installed, you need to update it with the command below. If you have not previously installed mina, then you can skip this command.
3. Installation for Ubuntu 18.04 / Debian 9
Let's create a folder .coda-config:
Downloading package Mina:
4. Launch options
4.1 Launch in Service
Setting up the mina-env file:
We copy and paste the variables into the file after entering your password from the key instead of YOUR PASS FOR KEYS and KEYPATH:
Save ans exit: CTRL+S and CTRL+X
4.1.1 Adding Snark Worker flags (if needed)
Add to file .mina-env Snark worker flags with your key and fee:
By default, the -work-selection for a snark worker is random rand. You can change this by adding the -work-selection seq flag to the command, which will work on jobs in the order required to be included from the scan state and will likely result in your snarks being included without a potentially lengthy delay.