The YGGDRASH project is an active project to provide the best protocol, and the progress and output of the guide may be slightly different.
Please check the README document for each project for the latest update.
You must install at least 1.8 JDKs to build the smart contract source included in the branch build process. It is recommended to download from the site below or use SDKMAN to use Open JDK.
Install SDKMAN (recomended)
curl -s "https://get.sdkman.io" | bash source "$HOME/.sdkman/bin/sdkman-init.sh"
sdk ls java ================================================================================ Available Java Versions ================================================================================ 12.ea.17-open 11.0.1-zulu 11.0.1-open 10.0.2-zulu 10.0.2-open 9.0.7-zulu 9.0.4-open 8.0.192-zulu 8.0.191-oracle ... sdk install java 8.0.192-zulu
javac -version javac 1.8.0_192
- Node.js ≥ v10.12.0
- Npm ≥ v6.4.1
- Yarn ≥ 1.12.3
Install Homebrew (OS X)
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node node -v
Install nvm (recommended)
The Node Version Manager tool is the recommended tool for node version management. Information about nvm (preferences, etc.) can be found in [nvm] (https://formulae.brew.sh/formula/nvm).
sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash nvm install 10.12.0
brew install yarn $ yarn -v
Install YGGDRASH CLI
YGGDRASH CLI is a tool that helps developers to easily develop. The next step, Getting Started, explains how to use Commander to scaffold, build, and deploy a branch-chain project. In the terminal, type the following command to install the executable commander.
yarn global add @yggdrash/cli # or npm install -g @yggdrash/cli
To check whether it is installed correctly, check the version with the following command.
Finally, before you create the branch chain, create your project folder and place it there. In the future, we will create the Currency branch chain called Meta coin. Create project folder:
mkdir metacoin cd metacoin
Create new user account
ygg account new