45 lines
1.2 KiB
Markdown
45 lines
1.2 KiB
Markdown
|
|
# Sankofa Phoenix Blockchain
|
||
|
|
|
||
|
|
Enterprise Ethereum Alliance (EEA) blockchain implementation for Sankofa Phoenix.
|
||
|
|
|
||
|
|
## Platform Choice
|
||
|
|
|
||
|
|
**Hyperledger Besu** - Selected as the blockchain platform
|
||
|
|
- Enterprise-grade Ethereum client
|
||
|
|
- Permissioning and privacy features
|
||
|
|
- EEA standards compliant
|
||
|
|
- Active development and support
|
||
|
|
|
||
|
|
## Development Toolchain
|
||
|
|
|
||
|
|
### Prerequisites
|
||
|
|
- Java 17+
|
||
|
|
- Docker
|
||
|
|
- Node.js 18+ (for development tools)
|
||
|
|
|
||
|
|
### Tools
|
||
|
|
- **Hardhat**: Smart contract development framework
|
||
|
|
- **Truffle**: Alternative development framework
|
||
|
|
- **Web3.js/Ethers.js**: Blockchain interaction libraries
|
||
|
|
- **Besu**: Blockchain client
|
||
|
|
|
||
|
|
## Project Structure
|
||
|
|
|
||
|
|
```
|
||
|
|
blockchain/
|
||
|
|
├── contracts/ # Smart contracts (Solidity)
|
||
|
|
├── scripts/ # Deployment and utility scripts
|
||
|
|
├── tests/ # Smart contract tests
|
||
|
|
├── hardhat.config.js # Hardhat configuration
|
||
|
|
├── network-config/ # Besu network configuration
|
||
|
|
└── README.md
|
||
|
|
```
|
||
|
|
|
||
|
|
## Getting Started
|
||
|
|
|
||
|
|
1. Install dependencies: `npm install`
|
||
|
|
2. Compile contracts: `npx hardhat compile`
|
||
|
|
3. Run tests: `npx hardhat test`
|
||
|
|
4. Deploy to test network: `npx hardhat deploy --network besu`
|
||
|
|
|