Safrochain is a community-first blockchain built using the Cosmos SDK. This repository hosts the core implementation of the Safrochain full node — including consensus, application state, and network logic.
⚙️ Run a node. 🛠️ Build with us. 🧩 Connect Africa to the world.
- Built with Cosmos SDK v0.50+
- IBC-enabled for cross-chain compatibility
- WASM Smart Contracts (via CosmWasm)
- Governance, Staking, Token module, Oracle integration
- Custom modules: Likelemba, XPoints, USAF Faucet
- Binary name:
safrochaind - Chain ID:
safro-testnet-1orsafro-mainnet-1 - Denom:
usaf(1 SAF = 10^6 microusaf) - Token metadata: Available in
config/genesis.json
- Go >= 1.22.x
- Git
- GCC (for protobuf & Wasm)
git clone https://github.com/danbaruka/safrochain-node.git
cd safrochain-node
make installThis will install the binary
safrochaindinto your$GOPATH/bin.
safrochaind init localnode --chain-id safro-testnet-1
safrochaind keys add validator
safrochaind add-genesis-account $(safrochaind keys show validator -a) 1000000000usaf
safrochaind gentx validator 700000000usaf --chain-id safro-testnet-1
safrochaind collect-gentxs
safrochaind startDefault paths:
- Config files:
~/.safrochain/config/ - Data:
~/.safrochain/data/
To modify ports or peers, edit ~/.safrochain/config/config.toml.
| Service | Endpoint |
|---|---|
| Chain ID | safro-testnet-1 |
| RPC | https://rpc.testnet.safrochain.com |
| REST API | https://rest.testnet.safrochain.com |
| gRPC | https://grpc.testnet.safrochain.com/ |
| Faucet A | #testnet-faucet on Discord |
| Faucet B | https://faucet.safrochain.com |
make testmake installIf you're making protocol-level changes, see app/app.go and app/app_config.go.
- Discord: Safrochain Discord
- Twitter: @Safrochain
- Block Explorer: Coming soon
- Faucet:
!request <address>on Discord or faucet.safrochain.com
This project is licensed under Apache 2.0.
Pull requests are welcome! For major changes, please open an issue first.
- Fork the repo
- Create your branch (
git checkout -b feature/xyz) - Commit your changes (
git commit -am 'feat: add xyz') - Push (
git push origin feature/xyz) - Open a PR
Safrochain is proudly maintained by Safrochain Team.
We thank the Juno team for their open-source contributions — Safrochain is a fork of Juno and benefits greatly from the Cosmos and Juno ecosystems.