Tested on Ubuntu 18.04
- node v8.9.4 (if you are using nvm, just execute:
nvm use
)
$ curl https://sh.rustup.rs -sSf | sh
Don't forget to configure your current shell run for rustup
:
$ source $HOME/.cargo/env
Toolchain install:
$ rustup install nightly-2018-10-30
$ rustup target add wasm32-unknown-unknown --toolchain nightly-2018-10-30
If you having trouble with nightly-2018-10-30
version, try to update to the latest one and provide target info:
$ rustup toolchain install nightly
$ rustup update
$ rustup target add wasm32-unknown-unknown --toolchain nightly
# clone the repository with the submodule js-cardano-wasm
$ git clone --recursive [email protected]:Emurgo/yoroi-frontend.git
$ git submodule update --init --recursive
To automate downloading and installation of js-cardano-wasm
dependency run setup_cardano_crypto.sh
to download latest js-cardano-wasm
repository into js-cardano-wasm
folder.
$ sh setup_cardano_crypto.sh
To install other Yoroi-frontend related dependencies use:
$ npm install
Rebuild dll
$ npm run build-dll
To regiter the githooks locally you must run this command
$ git config core.hooksPath .githooks