Safrochain is a community-first blockchain built with the Cosmos SDK. This repository hosts the
implementation of the Safrochain full node, safrochaind: consensus, application state and
network logic.
⚙️ Run a node. 🛠️ Build with us. 🧩 Connect Africa to the world.
Documentation: docs.safrochain.com
- Cosmos SDK v0.50 with CometBFT v0.38
- CosmWasm smart contracts (wasmd v0.54)
- IBC v8: ICS-20 transfers, interchain accounts, packet forwarding, IBC hooks
- Governance, staking, fee grants, authz
- Safrochain modules:
x/tokenfactory,x/globalfee,x/feepay,x/feeshare,x/drip,x/clock,x/cw-hooks,x/wrappers
| Network | Chain ID | Version | Go |
|---|---|---|---|
| Mainnet | safrochain-1 |
v0.2.2, then v0.3.0 from block 4,557,100 |
1.25.8 (v0.2.2), 1.26.11 (v0.3.0) |
| Testnet | safro-testnet-1 |
release/v0.1.0 |
1.23.9 |
Mainnet upgrades from v0.2.2 to v0.3.0 at block 4,557,100 (about Wednesday 18 November
2026, 14:00 UTC). Validators and node operators: follow the
v0.3.0 upgrade guide.
- Binary:
safrochaind - Denom:
usaf(1 SAF = 10^6usaf) - Bech32 prefix:
addr_safro
Prerequisites: Git, Make, a C toolchain (build-essential on Debian/Ubuntu, Xcode command line
tools on macOS) and Go 1.21 or newer. go.mod pins Go 1.26.11; Go downloads that toolchain
by itself on the first build.
git clone https://github.com/Safrochain-Org/safrochain-node.git
cd safrochain-node
git checkout v0.3.0 # always build a release tag, never main
make install # installs safrochaind into $(go env GOPATH)/bin
safrochaind version --long | grep -E '^(version|commit|go):'Use make build instead of make install to write the binary to ./bin/safrochaind without
replacing the one your node runs (for example to stage an upgrade).
Statically linked linux/amd64 and linux/arm64 binaries, built by CI from each version tag, are
attached to the GitHub releases with
a SHA256SUMS file, and mirrored on https://rpc1.safrochain.network/binaries/<version>/:
curl -fLO https://github.com/Safrochain-Org/safrochain-node/releases/download/v0.3.0/safrochaind-v0.3.0-linux-amd64
curl -fLO https://github.com/Safrochain-Org/safrochain-node/releases/download/v0.3.0/SHA256SUMS
sha256sum -c --ignore-missing SHA256SUMS- Join mainnet (
safrochain-1) - Join testnet (
safro-testnet-1) - Upgrades with cosmovisor
- Become a validator
For development only (the chain ID must not be one of the public networks):
safrochaind init localnode --chain-id safro-local-1
safrochaind keys add validator --keyring-backend test
safrochaind genesis add-genesis-account validator 1000000000usaf --keyring-backend test
safrochaind genesis gentx validator 700000000usaf --chain-id safro-local-1 --keyring-backend test
safrochaind genesis collect-gentxs
safrochaind startDefault paths: configuration in ~/.safrochain/config/, data in ~/.safrochain/data/.
All endpoints, including the testnet ones: Networks.
make test # unit and integration tests
make ictest-basic # end-to-end tests (interchaintest, requires Docker)If you change protocol-level code, start from app/app.go and app/keepers/.
Please report vulnerabilities privately as described in SECURITY.md. Do not open public issues for security problems.
- Discord: https://discord.gg/fe2XAm6ENQ
- X: @safrochain
- Explorer: https://explorer.safrochain.com
- Documentation: https://docs.safrochain.com
This project is licensed under Apache 2.0.
Pull requests are welcome. For major changes, please open an issue first. See CONTRIBUTING.md.
Safrochain is maintained by the Safrochain team.
We thank the Juno team for their open-source work. Safrochain is a fork of Juno and benefits greatly from the Cosmos and Juno ecosystems.