Documentation Index
Fetch the complete documentation index at: https://second.tech/docs/llms.txt
Use this file to discover all available pages before exploring further.
This step-by-step tutorial will get you started with bark, our Ark wallet client that can be used from the command line or integrated into apps.
Currently, bark only supports signet, a bitcoin testnet. Ark is still in alpha, and we don’t want anyone losing any real sats!
Installing Bark
Your wallet is called bark and has two installation methods:
Binary release
Binary releases can be downloaded from
GitLab.
Below are instructions to download the binary, mark it as executable, and add it to your PATH on different platforms.
Ubuntu/Debian
Fedora/CentOS
macOS
macOS (Intel)
Windows
Download Bark
curl -L https://gitlab.com/ark-bitcoin/bark/-/releases/{version.release_tag}/downloads/bark-{version.bark}-linux-x86_64 --output bark
Mark the binary as executable
Add Bark to your PATH
sudo cp bark /usr/local/bin/
Download Bark
curl -L https://gitlab.com/ark-bitcoin/bark/-/releases/{version.release_tag}/downloads/bark-{version.bark}-linux-x86_64 --output bark
Mark the binary as executable
Add Bark to your PATH
sudo cp bark /usr/local/bin/
Download Bark
curl -L https://gitlab.com/ark-bitcoin/bark/-/releases/{version.release_tag}/downloads/bark-{version.bark}-apple-aarch64 --output bark
Mark the binary as executable
Add Bark to your PATH
sudo cp bark /usr/local/bin/
Download Bark
curl -L https://gitlab.com/ark-bitcoin/bark/-/releases/{version.release_tag}/downloads/bark-{version.bark}-apple-x86_64 --output bark
Mark the binary as executable
Add Bark to your PATH
sudo cp bark /usr/local/bin/
Download Barkwget https://gitlab.com/ark-bitcoin/bark/-/releases/{version.release_tag}/downloads/bark-{version.bark}-windows-x86_64.exe -OutFile bark.exe
When using Windows, you will have to change the rest of the commands in this tutorial by replacing bark with bark.exe.
Verify installation
Verify you have the correct version installed:
You should see: bark {version.bark}
Seeing an older version?If you see a different version number, you likely have an older bark installation from previous testing. This happens due to PATH conflicts where your system finds the old binary before the new one.To fix this, find where the old binary is located:Then remove the outdated binary:After removing the old version, verify the installation again with bark --version.
Compile from source
Clone the repository
The first step is to get the code which you can clone
from the repository.git clone https://gitlab.com/ark-bitcoin/bark
cd bark
Install Rust
You will also need a Rust compiler. The rustup website
offers installation instructions for almost any platform. Install dependencies and build
Additional dependencies can be downloaded using your package manager. Ubuntu/Debian
Fedora/CentOS
macOS
Windows
Nix
build
build and install
apt update
apt install build-essential clang protobuf-compiler
yum install gcc make clang protobuf-compiler
brew install gcc make llvm@14 protobuf
# TODO: Test this
winget install protobuf ezwinports.make LLVM.LLVM
# This assumes you have enabled some experimental features in nix.
nix develop
You can build the code using cargo. The cargo build command will
only build the binary. The cargo install command will build the
binary and add it to your path.cargo build --bin bark
./target/debug/bark --version
cargo install --locked --path ./bark
bark --version
Verify installation
Run bark --version to verify that the installation completed successfully.