The automotive market's eagerness for the widespread adoption of electric cars is a common trend among countries with ESG agendas. It's also a desire shared by drivers who want more powerful cars with low maintenance and lower monthly costs. Among the promises, expectations, and advancements, one of the current obstacles to expanding the electric vehicle fleet is the lack of physical infrastructure, specifically charging stations. Alongside this scenario, there is a growing movement towards distributed energy generation in countries like Brazil. Why not connect these two points and offer a solution that provides liquidity for electricity producers while delivering cheaper energy to the aforementioned stations? We present DeVolt, a solution with a decentralized market engine for buying and selling energy based on the monthly consumption recorded by partner stations. To learn more, visit our whitepaper.
This project was built using Golang as the main language and SQLite to store the application state, along with the ORM Gorm. Additionally, this project was built following the golang-standards 1, and from an architectural perspective, principles of hexagonal architecture 2 were implemented, such as dependency injection, using the Wire package for automatic initialization. This choice of architecture and technologies was made possible because we are building this application using the Cartesi infrastructure.
- Build the application:
$ make build
- Run locally:
$ cartesi run
- Build the validator node image
$ make build
- After that, you can follow the tutorial and after creating the necessary infrastructure to host your node, you can use the Docker image generated in the previous step called
validator:latest
- To run the complete test suite, run the command below:
$ make test
- To see the test coverage in the application, run the command below:
$ make coverage
- Node Public URL: https://devolt.fly.dev/
- Application contract address (Arbitrum Sepolia Network): 0xE42995d6925D05801Fe9C503F1b6eE49f2dE9529