Daemon Installation
12

The wallet daemon allows you to automate the transaction signing process, so all of your blockchain transactions are actioned instantly, creating a persistent bridge between your game and the blockchain, and ensuring your players can enjoy a seamless and fluid gaming experience.

Wallet Daemon Installation

Here are the instructions to install the Enjin Wallet Daemon application under various OSes. This document necessitates an up-to-date OS and knowledge of the command line and system administration.

Administrator access to the target computer is required.

Windows 10

Requirements Summary

  • node.js
  • Python 2
  • Visual Studio Build Tools
  • git

See https://github.com/nodejs/node-gyp/#on-windows

Install node.js

Install node.js 11 from the official website https://nodejs.org/. Then, in an administrator command prompt (Windows+R cmd run with ctrl-shift-enter):

Bash
npm install --global --production windows-build-tools

Install git from the official website https://git-scm.com/download/win


Install Wallet Daemon

Get the zip for the wallet daemon HERE.

Right-click <inline-code>enjin-wallet-daemon-master.zip<inline-code> and select "Extract All..." Then, in a command line (replace <inline-code><CODE_FOLDER><inline-code> with whatever folder you extracted the archive to):

Bash
cd <CODE_FOLDER>\enjin-wallet-daemon-master
npm install

macOS

Requirements Summary

  • macOS command line developer tools
  • node.js

Install homebrew

Bash
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


Install node.js

Bash
brew install node

Install Wallet Daemon

Bash
unzip enjin-wallet-daemon-master.zip
cd enjin-wallet-daemon-master
npm install

Linux (Debian 10 Buster)

Requirements Summary

  • build tools (gcc, make, etc.) build-essential
  • git
  • node.js
  • unzip

Install node.js

Bash
su -
apt install build-essential curl git unzip
curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt install nodejs

Install Wallet Daemon

Bash
unzip enjin-wallet-daemon-master.zip
cd enjin-wallet-daemon-master
npm install

Linux (Ubuntu Server 18.04 LTS)

Requirements Summary

  • build tools (gcc, make, etc.) build-essential
  • node.js
  • unzip

Install node.js

Bash
unzip enjin-wallet-daemon-master.zip
cd enjin-wallet-daemon-master
npm install

All Platforms

Run Wallet Daemon (New Wallet)

Open an account on the Trusted Cloud and get a link code (e.g. XY1ABC). Replace the <LINK_CODE> placeholder bellow with that code.

Bash
node src/main.js account new
node src/main.js link <LINK_CODE>
node src/main.js
Previous
next
On This Page