If during a refresh you encounter an error like "Failed to create logfile...permission denied" then you need to edit your config file to have the correct file paths. All file paths in the config file should use the /current/ snap install not a specific version number. You can also remove and re-install the Grin Snap but this will require a re-sync.
This is a convenient command you can run to perform the fix.
sed -i 's/grin\/[0-9]\/.grin/grin\/current\/.grin/g' ~/snap/grin/current/.grin/main/grin-*.toml
Warning - Use of Grin via Snap install may reduce your privacy due to tracking of IP address and usage patterns.
Grin is a privacy-preserving digital currency built openly by developers distributed all over the world. It can be used by anyone, anywhere, without restriction or censorship.
Grin implements the Mimblewimble protocol and as such has no public amounts or addresses. Transactions are aggregated which makes efficient use of storage space. In order to conceal their origin, newly created transactions are relayed among a sub-set of peers before being widely broadcast.
Grin is not controlled by any company, foundation or individual. The coin distribution is designed to be as fair as possible, with an emission of 1 GRIN per second.
Mimblewimble leverages cryptography to allow past transaction data to be removed with no compromise on security. This avoids Grin collapsing under the weight of data having to be kept on chain.
This Snap contains two applications:
grin - The blockchain node software which can be started with default settings just by typing grin in your terminal.
grin.wallet - For creating a new account, sending and receiving transactions. Run grin.wallet help to see a list of available commands.
Swap out openSUSE_Leap_15.5 for openSUSE_Leap_15.4 or openSUSE_Tumbleweed if you’re using a different version of openSUSE.
With the repository added, import its GPG key:
sudo zypper --gpg-auto-import-keys refresh
Finally, upgrade the package cache to include the new snappy repository:
sudo zypper dup --from snappy
Snap can now be installed with the following:
sudo zypper install snapd
You then need to either reboot, logout/login or source /etc/profile to have /snap/bin added to PATH.
Additionally, enable and start both the snapd and the snapd.apparmor services with the following commands: