Resources / yoroi-frontend /

You are browsing a mirror of a file hosted on GitHub. View original


Tested on Ubuntu 18.04



If you have nvm, just run nvm use

Otherwise, you can download node manually from here but you need to be careful the version matches the one specified in our package.lock file.


$ curl -sSf | sh

Don’t forget to configure your current shell run for rustup:

$ source $HOME/.cargo/env

Toolchain install:

$ 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). 2) Setting xpinstall.signatures.required to false in about:config. 3) Make sure typing firefox in your terminal opens firefox-dev or set the path of the binary using setBinary(path) in firefox.Options() in webdriver.js (otherwise the unittests will not pass).

Git hooks

To register the githooks locally you must run this command

$ git config core.hooksPath .githooks