
This project is under active development.
- Python (3.7+)
- Node.js and NPM
- Ganache (CLI or UI)
- Solidarity compiler (
solc
)
Install Python packages:
pip install -r requirements.txt
Clone the repository:
git clone https://github.com/James-Wirth/Sparkchain.git
cd Sparkchain
Run the following bash script to start ganache and deploy the smart contracts (saved to deployment.json
):
bash scripts/load_ganache
EnergyTrading.sol: A Solidarity-based smart contract for energy trading, managing offers & bids, executing trades, and providing an Automated Market Maker (AMM) for energy pricing.
SPARKToken.sol: An ERC20-based utility token which is used on the exchange.