The Warden Protocol is composed by different components, each one with its own installation instructions. This document will guide you through the process of installing each one of these components.
git clone https://github.com/warden-protocol/wardenprotocol --depth=1
cd wardenprotocolYou can run all the services using Docker and Docker Compose.
All you need to run is:
docker compose upYou can also bring up specific services to run in the background, while running the rest locally on your machine for easier debugging.
just installThis will build the chain binary called wardend and install it in your
$GOPATH.
Verify the installation by running:
wardend versionIf you can't find the wardend binary, make sure your PATH includes the
$GOPATH/bin directory (by default $GOPATH is ~/go).
When developing, it's best to use ignite to run the node:
ignite chain serve -p ./warden --home ~/.wardenThis will start the node with a default configuration and genesis that contains some accounts and a Keychain pre-configured. Using this method will make it easier to run other services (e.g. Keychains, etc.).
You can use just:
just build wardenkms
./build/wardenkmsor run it directly:
KEYRING_MNEMONIC="liberty lucky weapon argue blast borrow matrix fabric topple auto tomato age simple obvious mushroom hire edge vault federal climb step element divorce problem" \
KEYRING_PASSWORD="$USER" \
go run ./cmd/wardenkmsSpaceWard is a React app bundled with Vite.
We use pnpm as the package manager, so make sure you have it installed.
npm install -g pnpmcd spaceward
pnpm install
just devcd spaceward
pnpm run build