How to build the linux Desktop wallet for the Steem blockchain Vessel from source code

in #utopian-io7 years ago (edited)

Hello Utopians & Steemians, this tutorial is for anyone who wants to build the linux desktop wallet for the Steem blockchain from the source code on Ubuntu; and this is what it will look like as a result.

vessel-running-0.2.3-helo.png

It is called Vessel (for now), my thanks go to @jesta for creating it. See his latest article about version 0.2.3 if you just want to install the already made binaries. This tutorial is for those who want it build on their machine from scratch.

Let's update and install some dependencies:

sudo apt-get update

Install node js if you do not have it.

sudo apt-get install nodejs
sudo apt-get install nodejs-legacy

Install npm if you do not have it:

sudo apt-get install npm

Install snapcraft, even if you do not plan to install the snap

sudo apt-get install --no-install-recommends -y snapcraft

For your information, if you do not install this, you will get these errors:
missing-snapcraft-deps-helo.png

Update your nodejs:

sudo npm install -g n
sudo n latest

Install yarn:

sudo npm install -g yarn

Get the source code of the Vessel wallet:

git clone https://github.com/aaroncox/vessel.git
cd vessel

Let the configurator install the node js dependencies:

yarn install

yarn-install-helo.png

Get the wallet built:

npm run package-linux

vessel-built-helo.png

Install the newly created wallet:

cd release
sudo dpkg -i vessel_0.2.3_amd64.deb

You will find the wallet installed and available in your apps screen:
vessel-app-helo-desktop.png

After running it, you will get the wallet as shown in the top image of this post!

Have a great day and let's keep making Steem better by our actions everyday.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @helo I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Resteemed your article. This article was resteemed because you are part of the New Steemians project. You can learn more about it here: https://steemit.com/introduceyourself/@gaman/new-steemians-project-launch

I sent you my ten cent vote. @originalworks. Under Mint I found the package snapcraft is called snapd. I think vessel should include n and yarn as dependencies if they are necessary for building.

The only dependency lists for NPM are "dependencies" and "devdependencies". The "dependencies" are supposed to be for "using" and the "devdependencies" for "testing" and development.

I posted this about how to run without installing. It is much better to be able to have an install solution like described in this post. I am still waiting for these command lines I issued from this tutorial to complete. I am looking forward to trying it out!

Hello @leprechaun, I will try to do a fresh install with sudo apt-get install snapd instead of snapcraft and see if it makes the instruction for building the package more generic across distributions. 👍

I've chosen n to allow users to update their nodejs since the one that comes with ubuntu is to old for this build. Others may assume that the user will have the latests nodejs and not think to include a package updater. From looking at the code, it did look to me that yarn was involved and it is part of the 'devEngines' section of the package.json file.

I'm glad to see you've found another way to get it running, that's great.

Loading...

thank you for sharing a good article.
we can learn a lot of thing's from here.
keep it up.
@helo

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]