Smart contracts for ETBX, a 1-to-1 pegged stablecoin to the Ethiopian Birr (ETB).
# ETBX Smart Contract
This repository contains only the smart contract used for the **ETBX** platform, a 1-to-1 pegged stablecoin to the Ethiopian Birr (ETB). It is not the full codebase of ETBX.
- **Website**: etbx.vercel.app
- **Deployed Test Contract (Base Sepolia)**: `0x9Eb53c405E277167E67EaAA837e7EE52404e2f8d`
- **Explorer**: BaseScan Campaign/Token Details
> [!IMPORTANT]
> **Disclaimer & Test Purposes Only**
> Currently, this project is for **test and educational purposes only**. The deployed smart contracts and payments are integrated with test keys and test networks, not production.
---
## Development & Usage
This is a standard Foundry project.
### Prerequisites
Install Foundry:
```bash
curl -L
env.foundry.sh | bash
foundryup
```
### Installation
Clone the repository and install dependencies:
```bash
git clone
cd etbx-smart-contract
git submodule update --init --recursive
```
### Build
Compile the smart contracts:
```bash
forge build
```
### Test
Run the unit tests:
```bash
forge test -vv
```
### Deployment
To deploy to Base Sepolia:
```bash
forge script script/DeployETBX.s.sol:DeployETBXScript --rpc-url "$BASE_SEPOLIA_RPC_URL" --broadcast
```
---
## License
This project is licensed under the MIT License. See LICENSE or the contract headers for details.