📃
OmniOne Developer Site
  • Introduction
  • Manager console guide
    • To begin with...
      • Wallet Settings
      • Select an Account
      • The Issuer/SP account creation
      • Issue access token for the OmniOne Agent
    • Issuer Console
      • Claim
      • VC Type
      • VC Format
      • Issue the VC Information
      • My request list
    • SP Console
      • Service List
      • Token Transaction History
      • My service request
  • Server system construction
    • To begin with...
      • Server Wallet creation and Key settings
      • Collect the Issuer and SP's DID
      • application.properties settings
    • Server default environment configuration per IDE
      • Spring Tool Suite 4
      • IntelliJ IDEA
    • Building the Issuer system
      • Issuer server guide(JAVA)
    • Building the SP system
      • SP server guide (JAVA)
  • Checking Blockchain data
    • Check Agent API
      • bp
      • Committee
      • DID
      • executor
      • key
      • pDID
      • player
      • policy
      • txinfo
      • txissue
      • vc
      • version
      • response codes
  • SDK instruction guide
    • Core SDK Guide
      • Java Wallet
        • IWKeyManager
        • IWDIDManager
        • IWRecoveryManager
        • ZkpException
        • IWException
      • iOS Wallet
        • IWKeyManager
        • IWDidManager
        • IWClaimManager
        • IWRecoveryManager
        • IWErrorManager
        • Enum
    • Server SDK Guide
      • Java
        • ServerInfo
        • IssuerApi
        • SpApi
        • VcResult
        • VcInitParam
        • VCRegParam
        • VcVerifyParam
        • SpProfileParam
    • Omni App Link SDK
      • Server
      • Android
      • IOS
  • Node creation
    • Full Node creation
      • Full Node by using Docker
        • Docker Installation
        • Building Full Node
        • Full Node settings
      • Installation type Full Node
        • Full Node installation
    • BP Node creation
      • BP Node by using Docker
        • Docker Installation
        • Building BP Node
        • BP Node settings
          • keosd/BP Node executing simultaneously
      • Installation type BP
        • Node Installation
        • Executing Node
        • Node settings
        • BP Vote
Powered by GitBook
On this page
  • 1. Checking OS
  • 2. Checking HOME folder
  • 3. Install Java and check
  • 4. Install eosio/eosio.cdt
  • 5. Install Contract
  • 6. create Wallet and executing Wallet(keosd)
  • 7. import Private Key to the executed Wallet

Was this helpful?

  1. Node creation
  2. BP Node creation
  3. Installation type BP

Node Installation

1. Checking OS

Currently, OS supports Ubuntu 18.04, CentOS 7.

~# cat /etc/os-release
    NAME="Ubuntu"
    VERSION="18.04.4 LTS (Bionic Beaver)"
~# apt-get update && \
      apt-get -y install sudo
~# sudo apt update
~# sudo apt upgrade
~# sudo apt install jq curl wget vim tar openssh-server net-tools -y
 # if it already installed it automatically skips

2. Checking HOME folder

~# export | grep HOME
    declare -x HOME="/home/omnione" | declare -x HOME="/root"
# in case, HOME="/root"
~# usermod -d /home/omnione <UserName>

3. Install Java and check

~# sudo apt install openjdk-8-jdk
~# java -version
    openjdk version "1.8.0_232"
    OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_232-b09)
    OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.232-b09, mixed mode)

4. Install eosio/eosio.cdt

~# mkdir install
~# cd install

# eosio
~/install# git clone --recursive [source URL]

Check installation

~/install# nodeos -v
    v2.0.5
~/install# keosd -v
    v2.0.5
~/install# cleos version client
    v2.0.5
~/install# whereis nodeos
    nodeos: /usr/bin/nodeos
~/install# ls -al /usr/bin/nodeos
    lrwxrwxrwx 1 root root 29 Apr 21 18:08 /usr/bin/nodeos -> ../opt/eosio/2.0.5/bin/nodeos

5. Install Contract

~# cd ~
~# git clone --recursive [source URL]
~# cd ./eosio.contract/
~eosio.contracts# ./build.sh
~eosio.contracts# cd ./build/contracts/
~eosio.contracts/build/contracts# pwd
    /home/omnione/eosio.contracts/build/contracts

Addresses from pwd command are used to deploy the contact in the next step.

6. create Wallet and executing Wallet(keosd)

Wallet create

# cleos wallet create --to-console
Creating wallet: default
Save password to use in the future to unlock this wallet.
Without password imported keys will not be retrievable.
"PW5Kewn9L76X8Fpd....................t42S9XCw2"

Save the Wallet's password separately -> "PW5Kewn9L76X8Fpd....................t42S9XCw2"

Check Wallet open and List

# wallet open
~# cleos wallet open

# wallet list
~# cleos wallet list
Wallets:
[
  "default"
]

Check Wallet folder

# wallet 폴더 확인
~# ls -al $HOME/eosio-wallet
total 16
drwxr-xr-x 2 root root 4096 Jul 13 06:10 .
drwx------ 1 root root 4096 Jul 13 06:10 ..
-rw-r--r-- 1 root root 2900 Jul 10 05:42 config.ini
-rw------- 1 root root  439 Jul 10 05:45 default.wallet

Execute keosd

~# pkill keosd # 실행중인 keosd 중지 후 실행
~# keosd wallet open
~# cleos wallet unlock --password PW123...XYZ

Check Wallet

# wallet open 확인 (default, 별(*) 표시가 있어야 합니다.)
~# cleos wallet list
Wallets:
[
  "default *"
]

7. import Private Key to the executed Wallet

-> Script file / command (TBD)

~# cleos wallet import --private-key privateKey1Ddhs..................AM6KU2rdWSkA
imported private key for: EOS7WD2KwZLof..................KUzJyePLFqGNknytq

~# cleos wallet import --private-key privateKey2FdSF..................df6KU2reTXas
imported private key for: EOS5jtZK8qVAC..................kv1pTmyaoe24McGMv

Key check

~# cleos wallet private_keys --password PW5Jw8uKkk..........Ty97VN7oDHsrg
[
  [
    "EOS7WD2KwZLof..................KUzJyePLFqGNknytq",
    "privateKey1Ddhs..................AM6KU2rdWSkA"
  ],[
    "EOS5jtZK8qVAC..................kv1pTmyaoe24McGMv",
    "privateKey2FdSF..................df6KU2reTXas"
  ]
]
PreviousInstallation type BPNextExecuting Node

Last updated 4 years ago

Was this helpful?