Resources / yoroi-frontend / SETUP.md
You are browsing a mirror of a file hosted on GitHub. View original
Tested on Ubuntu 18.04
If you have
nvm, just run
Otherwise, you can download
node manually from here but you need to be careful the version matches the one specified in our
$ curl https://sh.rustup.rs -sSf | sh
Don’t forget to configure your current shell run for
$ source $HOME/.cargo/env
$ rustup install 1.32.0 $ rustup target add wasm32-unknown-unknown --toolchain 1.32.0
If you having trouble with
1.32.0 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
To install other Yoroi-frontend related dependencies use:
$ npm install
Adding unsigned extensions is not supported for the regular version of Firefox.
You can test Yoroi as a temporary extension, but the extension will disappear every time you close your browser.
To avoid this, we recommend the following:
1) Setting up Firefox-dev (note that the Aurora PPA has been deprecated, so you might want to try another installation method).
3) Make sure typing
firefox in your terminal opens firefox-dev or set the path of the binary using
firefox.Options() in webdriver.js (otherwise the unittests will not pass).
To register the githooks locally you must run this command
$ git config core.hooksPath .githooks