buzzkillb Posted September 29, 2019 Report Share Posted September 29, 2019 How to build denarius cryptocurrency in snapcraft. I used Ubuntu 18.04 Bionic as the OS for this process, but the build is done in 16.04 Xenial. https://github.com/buzzkillb/d-snapcraft We are going to build in LXD, which I ended up using a combination of the below guides. https://forum.snapcraft.io/t/how-to-create-a-lxd-container-for-snap-development/4658 https://forum.snapcraft.io/t/build-on-lxd/4157 Install LXD from snap sudo snap install lxd initialize LXD (I used all the default settings) sudo lxd init Give permissions so we can run without root sudo usermod -a -G lxd ${USER} Bring the setting through newgrp lxd Building Manually in Xenial lxc launch ubuntu:16.04 mysnapcraft Bring your snapcraft.yaml in from your PC and bring into LDX lxc file push snap/snapcraft.yaml mysnapcraft/home/ubuntu/ Open up a shell and install snapcraft lxc exec mysnapcraft -- /bin/bash snap install snapcraft --classic Lets build our snapcraft.yaml cd /home/ubuntu snapcraft prime snapcraft You will get a file like this denarius_master_amd64.snap Bring the snap into your PC, open up another terminal and type below and stay on that terminal for the remaining. sudo lxc file pull mysnapcraft/home/ubuntu/denarius_master_amd64.snap denarius_master_amd64.snap Install the snap sudo snap install denarius_master_amd64.snap --dangerous Run denarius QT denarius Should be ready to mess around with this. 1 Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted September 29, 2019 Author Report Share Posted September 29, 2019 verifying this also builds amd64 version on snapcraft itself https://build.snapcraft.io/user/buzzkillb/d-snapcraft/688224 1 Quote Link to comment Share on other sites More sharing options...
buzzkillb Posted January 13, 2021 Author Report Share Posted January 13, 2021 You would probably use the official Denarius snapcraft.yaml https://github.com/carsenk/denarius/blob/master/snapcraft.yaml wget https://raw.githubusercontent.com/carsenk/denarius/master/snapcraft.yaml and then edit the source-tag to whatever branch you want to test out for daemon and QT. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.