Core is a Web3 Framework, written in Go using Wails.io to replace Electron and the bloat of browsers that, at their core, still live in their mum's basement.
More to come, follow us on Discord http://discord.dappco.re
This project follows a Test-Driven Development (TDD) approach. We use [Task](https://taskfile.dev/) for task automation to streamline the development process.
The recommended workflow is:
1.**Generate Tests**: For any changes to the public API, first generate the necessary test stubs.
```bash
task test-gen
```
2.**Run Tests (and watch them fail)**: Verify that the new tests fail as expected.
```bash
task test
```
3.**Implement Your Feature**: Write the code to make the tests pass.
4.**Run Tests Again**: Ensure all tests now pass.
```bash
task test
```
5.**Submit for Review**: Once your changes are complete and tests are passing, submit them for a CodeRabbit review.
```bash
task review
```
## Project Structure
The project is organized into the following main directories:
-`pkg/`: Contains the core Go packages that make up the framework.
-`cmd/`: Contains the entry points for the two main applications:
-`core-gui/`: The Wails-based GUI application.
-`core/`: The command-line interface (CLI) application.