{"id":28498320,"url":"https://github.com/yanganto/certifybook-chain","last_synced_at":"2026-01-31T05:00:53.231Z","repository":{"id":90365495,"uuid":"255269813","full_name":"yanganto/certifybook-chain","owner":"yanganto","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-13T08:07:46.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T16:32:57.841Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanganto.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2020-04-13T08:20:42.000Z","updated_at":"2020-04-17T01:20:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"311e3dd4-0ce2-4ddb-a426-4f1f4ea63981","html_url":"https://github.com/yanganto/certifybook-chain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yanganto/certifybook-chain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanganto%2Fcertifybook-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanganto%2Fcertifybook-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanganto%2Fcertifybook-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanganto%2Fcertifybook-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanganto","download_url":"https://codeload.github.com/yanganto/certifybook-chain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanganto%2Fcertifybook-chain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929862,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: 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":[],"created_at":"2025-06-08T13:37:12.137Z","updated_at":"2026-01-31T05:00:53.225Z","avatar_url":"https://github.com/yanganto.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Certifybook Chain Node\n\n## Build\n\nInstall Rust:\n\n```bash\ncurl https://sh.rustup.rs -sSf | sh\n```\n\nInitialize your Wasm Build environment:\n\n```bash\n./scripts/init.sh\n```\n\nBuild Wasm and native code:\n\n```bash\ncargo build --release\n```\n\n## Run\n\n### Single node development chain\n\nPurge any existing developer chain state:\n\n```bash\n./target/release/certifybook-chain purge-chain --dev\n```\n\nStart a development chain with:\n\n```bash\n./target/release/certifybook-chain --dev\n```\n\nDetailed logs may be shown by running the node with the following environment variables set: `RUST_LOG=debug RUST_BACKTRACE=1 cargo run -- --dev`.\n\n### Multi-node local testnet\n\nIf you want to see the multi-node consensus algorithm in action locally, then you can create a local testnet with two validator nodes for Alice and Bob, who are the initial authorities of the genesis chain that have been endowed with testnet units.\n\nOptionally, give each node a name and expose them so they are listed on the Polkadot [telemetry site](https://telemetry.polkadot.io/#/Local%20Testnet).\n\nYou'll need two terminal windows open.\n\nWe'll start Alice's substrate node first on default TCP port 30333 with her chain database stored locally at `/tmp/alice`. The bootnode ID of her node is `QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR`, which is generated from the `--node-key` value that we specify below:\n\n```bash\ncargo run -- \\\n  --base-path /tmp/alice \\\n  --chain=local \\\n  --alice \\\n  --node-key 0000000000000000000000000000000000000000000000000000000000000001 \\\n  --telemetry-url ws://telemetry.polkadot.io:1024 \\\n  --validator\n```\n\nIn the second terminal, we'll start Bob's substrate node on a different TCP port of 30334, and with his chain database stored locally at `/tmp/bob`. We'll specify a value for the `--bootnodes` option that will connect his node to Alice's bootnode ID on TCP port 30333:\n\n```bash\ncargo run -- \\\n  --base-path /tmp/bob \\\n  --bootnodes /ip4/127.0.0.1/tcp/30333/p2p/QmRpheLN4JWdAnY7HGJfWFNbfkQCb6tFf4vvA6hgjMZKrR \\\n  --chain=local \\\n  --bob \\\n  --port 30334 \\\n  --telemetry-url ws://telemetry.polkadot.io:1024 \\\n  --validator\n```\n\nAdditional CLI usage options are available and may be shown by running `cargo run -- --help`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanganto%2Fcertifybook-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanganto%2Fcertifybook-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanganto%2Fcertifybook-chain/lists"}