{"id":37149445,"url":"https://github.com/ngchain/ngcore","last_synced_at":"2026-01-14T17:38:52.941Z","repository":{"id":48689482,"uuid":"227031189","full_name":"ngchain/ngcore","owner":"ngchain","description":"The core daemon of ngchain network node","archived":false,"fork":false,"pushed_at":"2024-05-30T05:46:23.000Z","size":28584,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"dev","last_synced_at":"2024-06-21T04:47:46.779Z","etag":null,"topics":["blockchain","chain","cryptocurrency","defi","ngin","p2p","random-x","randomx","schnorr","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://ngchain.org","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ngchain.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-12-10T04:46:33.000Z","updated_at":"2024-01-24T07:52:38.000Z","dependencies_parsed_at":"2024-03-05T10:55:33.017Z","dependency_job_id":null,"html_url":"https://github.com/ngchain/ngcore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ngchain/ngcore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fngcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fngcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fngcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fngcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ngchain","download_url":"https://codeload.github.com/ngchain/ngcore/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ngchain%2Fngcore/sbom","scorecard":{"id":683033,"data":{"date":"2025-08-11","repo":{"name":"github.com/ngchain/ngcore","commit":"e87e1d8a3d70baf5b6cd082c4ae150953c8093df"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: ngstate/test/contract.wasm:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:86: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:94: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:98: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:111: update your workflow using https://app.stepsecurity.io/secureworkflow/ngchain/ngcore/ci.yml/dev?enable=pin","Warn: containerImage not pinned by hash: .github/actions/github-release/Dockerfile:1: pin your Docker image by updating node:slim to node:slim@sha256:9b741b28148b0195d62fa456ed84dd6c953c1f17a3761f3e6e6797a754d9edff","Warn: containerImage not pinned by hash: Dockerfile:3","Warn: containerImage not pinned by hash: Dockerfile:12: pin your Docker image by updating ubuntu:latest to ubuntu:latest@sha256:7c06e91f61fa88c08cc74f7e1b7c69ae24910d745357e0dfe1d2c0322aaf20f9","Warn: npmCommand not pinned by hash: .github/actions/github-release/Dockerfile:6","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 containerImage dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'dev'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"11 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3218","Warn: Project is vulnerable to: GO-2024-2459 / GHSA-ppxx-5m9h-6vxf","Warn: Project is vulnerable to: GO-2024-2682 / GHSA-c33x-xqrf-c478","Warn: Project is vulnerable to: GO-2024-3302 / GHSA-px8v-pp82-rcvr","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T23:48:43.738Z","repository_id":48689482,"created_at":"2025-08-21T23:48:43.739Z","updated_at":"2025-08-21T23:48:43.739Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28428900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["blockchain","chain","cryptocurrency","defi","ngin","p2p","random-x","randomx","schnorr","wasm","webassembly"],"created_at":"2026-01-14T17:38:52.252Z","updated_at":"2026-01-14T17:38:52.936Z","avatar_url":"https://github.com/ngchain.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e \u003cimg src=\"./resources/ng_16x16.png\" \u003ecore\u003c/h1\u003e\r\n\r\n## What is ngchain?\r\n\r\nThe ngchain is a radically updating **brand-new blockchain network**, which is not a fork of ethereum or any other\r\nchain.\r\n\r\nThe ngchain's **goal** is to build **a blockchain engine** which acts more **auditable, scalable, security-oriented**\r\nand supports more network tasks with vm.\r\n\r\nThe ngchain uses modern models - Vault(Block), Account, Multi-type Tx, and the traditional Block model to build the\r\nblockchain ecosystem. And ngchain strictly follow the idea of blockchain, locking items with hash to keep engine work\r\nsafely. Not only blockchain, but Vault(Block) will also link up to be a chain for account security and powerful\r\nfunctions like fast ignition, free account state and so on. So It's safe and robust like bitcoin and ethereum but more\r\nscalable and powerful on the node's operational capacity and p2p network's speed and performance.\r\n\r\n## Status\r\n\r\n[![Go Report Card](https://goreportcard.com/badge/github.com/ngchain/ngcore)](\r\nhttps://goreportcard.com/report/github.com/ngchain/ngcore)\r\n![CI](https://github.com/ngchain/ngcore/workflows/CI/badge.svg)\r\n![GitHub](https://img.shields.io/github/license/ngchain/ngcore)\r\n![GitHub last commit](https://img.shields.io/github/last-commit/ngchain/ngcore)\r\n\r\n## Features\r\n\r\n- **Fast ignition**\r\n- Less, or **no storage cost**(mem only)\r\n- With **humanizing** account model, users can send tx with **memorable short number**\r\n- **High security** with Sheet and Vault(Block) model\r\n- Powerful and scalable types of tx\r\n- Support **Multi-Tx**, sending coins to different places in the same time\r\n- Powerful **WASM** VM support based on account state(contract).\r\n- **Libp2p(ipfs)** powered p2p networking\r\n- Available **anonymous** address for saving balance\r\n- Using the **schnorr signature**, allowing Multi-Sig when sending and receiving\r\n- ...\r\n\r\n## Requirements\r\n\r\ngo version \u003e= 1.17\r\n\r\n**NOTICE**: go build on Windows you should use `-buildmode=exe` flag (go version \u003e= 1.15)\r\n\r\n## Build\r\n\r\n### Go\r\n\r\n```bash\r\n# go will automatically sync the dependencies\r\n# GCC is required because of high performance db \u0026 vm\r\ngo build ./cmd/ngcore\r\n```\r\n\r\n## Usage\r\n\r\n```bash\r\n# dircetly run the binary\r\nexport GOLOG_FILE=ngcore.log # disable stderr output and write to the ngcore.log file\r\nexport GOLOG_LOG_LEVEL=debug # print more logs\r\n./ngcore\r\n\r\n# ngwallet is a rpc client in dart for ngin's daemon, see https://github.com/ngchain/ngwallet-dart\r\n./ngwallet register 10086\r\n./ngwallet transact 10010 1.5 # send 1.5 NG to account 10010\r\n./ngwallet transact QfUnsE4CNgnpVS4oC4WEYH8u7WWAs8AwMrFBknWWqGSYwBXU 1.5 # send 1.5 NG to address QfUn...\r\n```\r\n\r\nIf you wanna start mining(proof of work), try `--mining \u003cThread Num\u003e` flag\r\n\r\n```bash\r\n./ngcore --mining 0 # zero means using all available cores\r\n```\r\n\r\nYou can view more flags and options with `--help` flag\r\n\r\n```bash\r\n./ngcore --help\r\n```\r\n\r\nOr you can choose to run in a docker\r\n\r\n```bash\r\ngit clone https://github.com/ngchain/ngcore \u0026\u0026 cd ngcore\r\nsudo docker build . -t ngcore\r\n\r\n# Run as a bootstrap node\r\nsudo docker run -p 52520:52520 -p 52521:52521 -v .:/workspace -v ~/.ngkeys:~/.ngkeys ngcore --bootstrap true\r\n\r\n# Run as a mining node, 0 means using all cpu cores, --in-mem will disable writing into disk and make the miner lighter\r\nsudo docker run -p 52520:52520 -p 52521:52521 -v .:/workspace -v ~/.ngkeys:~/.ngkeys ngcore --mining 0 --in-mem\r\n```\r\n\r\n## Run a ngchain forknet\r\n\r\nIt's so easy to run an independent PoW chain on ngCore codebase.\r\n\r\n1. Modify the `GenesisAddressBase58` in `./ngtypes/defaults.go` and `protocolVersion` in `./ngp2p/defaults/defaults.go`\r\n\r\n2. Generate a new signature for genesis generate tx, and genesis block's nonce (with `ngcore gentools` toolset)\r\n\r\n3. Run more than 2 bootstrap node with `--bootstrap` flag (without mining)\r\n\r\n4. Write the bootstrap node to bootstrapNodes in `./ngp2p/bootstrap_nodes.go`\r\n\r\n5. Run a mining node with `--mining 0` flag\r\n\r\n6. Enjoy your fascinating PoW chain\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngchain%2Fngcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fngchain%2Fngcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fngchain%2Fngcore/lists"}