Skip to content

NicholasRodrigues/go-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"""

GoChain

GoChain is a blockchain implementation written in Go. This project aims to provide a simple yet functional blockchain system, including key generation, transaction handling, and basic consensus mechanisms.

Features

  • Key generation using Ed25519
  • Transaction creation and validation
  • Basic proof-of-work consensus algorithm
  • Peer-to-peer networking

Getting Started

Prerequisites

  • Go 1.22.1 or later

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd GoChain
  2. Install dependencies:

    go mod download
  3. Run tests:

    go test -v ./...

Contribution Guidelines

To contribute to this project, please follow these steps:

  1. Clone the Repository: Clone the repository to your local machine.

    git clone <repository-url>
  2. Create a New Branch: Create a new branch for your feature or bugfix.

    git checkout -b feature-branch
  3. Make Your Changes: Make your changes to the codebase.

  4. Commit Your Changes: Commit your changes with a descriptive message.

    git commit -m "refactor: clean up Environment class and improve parameter handling"
  5. Push Your Changes: Push your changes to the remote repository.

    git push origin feature-branch
  6. Create a Pull Request: Create a pull request from your branch to the main branch, and provide a detailed description of your changes.

Commit Naming Conventions

For consistency, please use the following commit message format:

  • feat: A new feature
  • fix: A bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, missing semicolons, etc.)
  • refactor: Refactoring code without changing functionality
  • test: Adding or refactoring tests
  • chore: Other changes that don't modify src or test files

Example:

    git commit -m "refactor: clean up Environment class and improve parameter handling"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages