{"id":22726235,"url":"https://github.com/maskedsyntax/blocklite","last_synced_at":"2026-02-10T16:08:48.427Z","repository":{"id":193907164,"uuid":"380504671","full_name":"MaskedSyntax/Crypto-Coin","owner":"MaskedSyntax","description":"A basic crypto coin in Python3 using hashlib (sha-256 encryption).","archived":false,"fork":false,"pushed_at":"2024-07-26T18:23:26.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-19T22:36:32.320Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaskedSyntax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-26T13:10:13.000Z","updated_at":"2024-07-26T18:23:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9928ec9-47a4-4c6c-89a5-6010004c1579","html_url":"https://github.com/MaskedSyntax/Crypto-Coin","commit_stats":null,"previous_names":["aftaab25/crypto-coin","maskedsyntax/crypto-coin"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaskedSyntax%2FCrypto-Coin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaskedSyntax%2FCrypto-Coin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaskedSyntax%2FCrypto-Coin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaskedSyntax%2FCrypto-Coin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaskedSyntax","download_url":"https://codeload.github.com/MaskedSyntax/Crypto-Coin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229089107,"owners_count":18018391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-10T16:16:12.556Z","updated_at":"2026-02-10T16:08:48.278Z","avatar_url":"https://github.com/MaskedSyntax.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/blocklite_logo.svg\" alt=\"BlockLite Logo\" width=\"400\" /\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eBlockLite\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cb\u003e An experimental blockchain implementation written from scratch in Go! \u003c/b\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\n  \u003cimg src=\"https://img.shields.io/badge/Status-In%20Progress-orange\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Built_with-Go-blueviolet\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/API-Gin-8bc34a\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" /\u003e\n\u003c/p\u003e\n\n## Overview\n\nBlockLite aims to build a blockchain from the ground up, with plans to introduce a cryptocurrency called **`MaskedCoins`**. The current codebase includes a basic blockchain structure with proof-of-work consensus, RESTful APIs, and supporting utilities, with more features in development.\n\n## Features\n- **Blockchain Core**: Implements a simple blockchain with blocks containing index, timestamp, proof, and previous hash.\n- **Proof of Work**: Uses a basic PoW algorithm requiring 4 leading zeros in the hash.\n- **API Endpoints**: Provides RESTful APIs via Gin to interact with the blockchain (e.g., get blocks, mine new blocks).\n\n\n## Getting Started\n\n### Prerequisites\n\n- Go (1.18+)\n- Git\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/maskedsyntax/blocklite.git\n   cd blocklite\n   ```\n\n2. Install dependencies:\n   ```bash\n   go mod tidy\n   ```\n\n3. Install `air` for live reloading:\n   ```bash\n   go install github.com/air-verse/air@latest\n   ```\n\n\u003e [!IMPORTANT]\n\u003e Ensure `air` is in your PATH to execute it successfully.  \n\n### Run the Project\n- Start the server with live reloading:\n  ```bash\n  air\n  ```\n- Access the API at `http://localhost:8080` (configurable via `PORT` environment variable).\n\n## Development\n- **Live Reloading**: Changes in `.go` files trigger restarts via `air`. The `/tmp` folder is temporary and ignored in version control.\n- **Testing**: Run tests with:\n   ```bash\n   go test ./...\n   ```\n\n## Contributing\nThis is a personal project, but feel free to fork and submit pull requests. Feedback is welcome!\n\n## License\nThis project is licensed under the [MIT License](LICENSE). See the `LICENSE` file for details.\n\n\u003e [!NOTE]\n\u003e Updates on `MaskedCoins` and future features will be shared as they progress. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaskedsyntax%2Fblocklite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaskedsyntax%2Fblocklite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaskedsyntax%2Fblocklite/lists"}