Skip to content

DeckerSU/KomodoOcean

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KomodoOcean (komodo-qt)

Downloads

Komodo-Qt (KomodoOcean) is a world-first Qt native wallet for KMD (Komodo) and smartchains (assetchains). It's available for three OS platforms - Windows, Linux, MacOS.

Use the default static branch and following scripts to build:

  • Linux: build.sh (native build)
  • Windows: build-win.sh (cross-compilation for Win)
  • MacOS: build-mac-cross.sh (cross-compilation for OSX)
  • MacOS: build-mac.sh (native build)

Visit #🤝│general-support or #wallet-ocean-qt channel in Komodo Discord for more information.

How to build?

Linux

#The following packages are needed:
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python bison zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl
git clone https://github.com/DeckerSU/KomodoOcean --branch static --single-branch
cd komodo
./zcutil/fetch-params.sh
# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
./zcutil/build-linux.sh -j8
#This can take some time.

OSX (Cross-compile)

Before start, read the following docs: depends, macdeploy .

Install dependencies:

sudo apt-get install curl librsvg2-bin libtiff-tools bsdmainutils cmake imagemagick libcap-dev libz-dev libbz2-dev python3-setuptools libtinfo5 xorriso
# sudo apt-get install libstdc++-$(g++ -dumpversion)-dev # in the event of errors occurring while building native_libtapi

Place prepared SDK file Xcode-12.1-12A7403-extracted-SDK-with-libcxx-headers.tar.gz in repo root, use build-mac-cross.sh script to build.

As an alternative you can download this file from bitcoincore.org.

OSX (Native)

Ensure you have brew and Command Line Tools installed.

# Install brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Install Xcode, opens a pop-up window to install CLT without installing the entire Xcode package
xcode-select --install 
# Update brew and install dependencies
brew update
brew upgrade
brew tap discoteq/discoteq; brew install flock
brew install autoconf autogen automake
# brew install gcc@6
brew install binutils
brew install protobuf
brew install coreutils
brew install wget
# Clone the Komodo repo
git clone https://github.com/DeckerSU/KomodoOcean --branch static --single-branch
# Change master branch to other branch you wish to compile
cd komodo
./zcutil/fetch-params.sh
# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
./zcutil/build-mac.sh -j8
# This can take some time.

macOS 12 (Monterrey) have incompatible version of Xcode 14.2 (Build version 14C18), to build on Monterrey you'll need to install the older version 13.2.1 using the following steps:

  • Download the specific Xcode 13.2.1 version from here or here.
  • Install it.
  • To set default Xcode version run this command:
sudo xcode-select -switch /Applications/Xcode_13.2.1.app
  • To check default Xcode version in your system use this command:
xcodebuild -version

Windows

Use a debian cross-compilation setup with mingw for windows and run:

sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl cmake mingw-w64
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup target add x86_64-pc-windows-gnu

sudo update-alternatives --config x86_64-w64-mingw32-gcc
# (configure to use POSIX variant)
sudo update-alternatives --config x86_64-w64-mingw32-g++
# (configure to use POSIX variant)

git clone https://github.com/DeckerSU/KomodoOcean --branch static --single-branch
cd komodo
./zcutil/fetch-params.sh
# -j8 = using 8 threads for the compilation - replace 8 with number of threads you want to use
./zcutil/build-win.sh -j8
#This can take some time.

komodo is experimental and a work-in-progress. Use at your own risk.

p.s. Currently only x86_64 arch supported for MacOS, build for Apple M1 processors unfortunately not yet supported.

Docker

🐳 deckersu/komodoocean - This Docker image provides the official KomodoOcean daemon for the Komodo blockchain platform. Komodod is the core component responsible for running a Komodo node, facilitating transaction validation, block creation, and communication within the network.

Read the description on Docker Hub for usage examples.

Create komodo.conf

Before start the wallet you should create config file komodo.conf at one of the following locations:

  • Linux - ~/.komodo/komodo.conf
  • Windows - %APPDATA%\Komodo\komodo.conf
  • MacOS - ~/Library/Application Support/Komodo/komodo.conf

With the following content:

txindex=1
rpcuser=komodo
rpcpassword=local321 # don't forget to change password
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
server=1

Bash one-liner for Linux to create komodo.conf with random RPC password:

RANDPASS=$(tr -cd '[:alnum:]' < /dev/urandom | fold -w16 | head -n1) && \
tee -a ~/.komodo/komodo.conf << END
txindex=1
rpcuser=komodo
rpcpassword=${RANDPASS}
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
server=1
END

Developers of Qt wallet

  • Main developer: Ocean
  • IT Expert / Sysengineer: Decker

About

Komodo QT wallet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 65.1%
  • C 25.5%
  • Python 4.3%
  • M4 1.3%
  • Makefile 1.3%
  • Shell 0.8%
  • Other 1.7%