Jump to content
Sign in to follow this  
buzzkillb

Snap Denarius - Snapcraft (Linux Easy Install Wallet)

Recommended Posts

303

453 posts
1180 BF$

Official Denarius QT / daemon Snap is available at https://snapcraft.io/denarius

bkgdv2.jpg.2e7b2252768182701bbfc970e479f6ab.jpg

To install

sudo apt update
sudo apt install snapd
sudo snap install denarius

To run QT

denarius

To run the daemon

denarius.daemon

chaindata stored in ~/snap/denarius/common/.denarius

cd ~/snap/denarius/common/.denarius

Sample daemon command

denarius.daemon getinfo

stop daemon

denarius.daemon stop

snapcraftv22.thumb.jpg.0d0b793484290e21ccdf93a6151b5f2c.jpg

  • Like 1

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites
303

453 posts
1180 BF$

Multiple Instances can now be run.

How to do Snap Denarius Parallel Installs

# Enable parallel instances
sudo snap set system experimental.parallel-instances=true

# First instance - normal install (not required if already installed)
sudo snap install denarius

# Second or more instances
sudo snap install denarius denarius_1
sudo snap install denarius denarius_2
sudo snap install denarius denarius_3

 


If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites
303

453 posts
1180 BF$

I have denarius snap already installed so I add denarius_1 as above and this is what snap list shows.

snap list
Name                    Version                     Rev    Tracking  Publisher       Notes
core                    16-2.41                     7713   stable    canonical✓      core
core18                  20191001                    1192   stable    canonical✓      base
denarius                3.3.9.4                     77     stable    carsenk         -
denarius_1              3.3.9.4                     77     stable    carsenk         -

to run the 2nd denarius daemon denarius_1

denarius_1.daemon

denarius_1 is now in the ~/snap/denarius_1 folder

~/snap$ ls -l
total 28
drwxr-xr-x 5 user user 4096 Oct  5 20:15 denarius
drwxr-xr-x 4 user user 4096 Oct  6 10:18 denarius_1

hint:

listen=0 and +1 to port and rpcport per additional daemon/QT

EZ-MODE

  • Like 1

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites
303

453 posts
1180 BF$

Running non stock kernels in Ubuntu, you might get an SELINUX error like "cmd_run.go:876: WARNING: cannot create user data directory: failed to verify SELinux context"

sudo apt install selinux-policy-default
sudo nano /etc/selinux/config

then change the config file to SELINUX=disabled

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled

reboot system

reference: https://forum.snapcraft.io/t/selinux-warning-when-running-lxc/11100/11

  • Like 1

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites
chris92    chris92
10

7 posts
11 BF$

If you get this error:

Command 'denarius.daemon' is available in '/snap/bin/denarius.daemon'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.

... when starting the daemon via "denarius.daemon", you need to do the following:

1) Folder "etc" => open file "environment"

2) Add "/snap/bin:" to the string, for me it looks like this: "PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:""

3) "reboot" to restart VPS

=> "denarius.daemon" should work

Edited by chris92
  • Like 2

Share this post


Link to post
Share on other sites
303

453 posts
1180 BF$

To install Denarius snap QT / daemon in Qubes OS.

reference: https://www.qubes-os.org/doc/software-update-domu/ "Installing Snap Packages"

Open up one of the template VM terminals like Fedora Template VM.

sudo dnf install snapd qubes-snapd-helper

Then shutdown the TemplateVM.

sudo shutdown -h now

Once this is done, create a new AppVM based on that TemplateVM.

I used these settings.

Name and Label: Crypto
Color: Purple
Type: Qube based on a template (AppVM)
Template: default (fedora-30)
Networking: sys-whonix
launch settings after creation

Then gave it 12gb of storage in the settings. Start a terminal in the new AppVM.

snap install denarius

After that's done go back to your Qube Settings -> Applications -> Click Refresh Applications, click Denarius then the single arrow to move it so selected, click OK.

You can run Denarius Snap QT from the menu, or go to terminal and run denarius.daemon for the daemon. A nice feature is that you can run under whatever firewall rules you want. In this example using sys-whonix I am now through TOR completely.

  • Like 1

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...