bowlarbear / arctica

FOSS Bitcoin Core Miniscript Multisignature Desktop Wallet for General Purpose Hardware
MIT License
1 stars 0 forks source link

Dev notes:

First time installation

To build arctica from source first install the latest rustup toolchain

clone the git repo in your home directory

git clone https://github.com/bowlarbear/arctica

Navigate into the arctica directory from your home directory

cd arctica

Run the first time submodule install

git submodule update --init --recursive

Install tauri dependencies

sudo apt update sudo apt install libwebkit2gtk-4.0-dev sudo apt install build-essential sudo apt install curl sudo apt install wget sudo apt install libssl-dev sudo apt install libgtk-3-dev sudo apt install libayatana-appindicator3-dev sudo apt install librsvg2-dev

Compile front end first

cd arctica-frontend npm install npm run build

compile backend

cd .. cargo build

run the application and start following the prompts

cargo run

NOTE: When running arctica after building it from source, the initial portion of setup will require you enter your super user password in the terminal occasionally. Keep an eye on it.

Installing updates

submodule updates

git submodule update --recursive --remote

navigate to the front end

cd arctica-frontend

compile front end

npm run build

return to the main directory

cd ..

pull down the latest for the backend

git pull

compile binary

cargo build

run the app

cargo run

Please Note, developers can enable a test sandbox by setting the first line of the config.txt in their home directory to type=test

This sandbox will require some custom file architecture that the app will not yet provide entirely for you. I have a series of bash scripts I use to create this architecture and I am happy to share if you would like some help.