{"id":15888273,"url":"https://github.com/antoncoding/substrate-message","last_synced_at":"2025-10-07T21:15:25.042Z","repository":{"id":104220485,"uuid":"193362074","full_name":"antoncoding/substrate-message","owner":"antoncoding","description":"Playing around with substrate :) ","archived":false,"fork":false,"pushed_at":"2019-06-23T15:05:56.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T07:25:21.274Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"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/antoncoding.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}},"created_at":"2019-06-23T15:05:29.000Z","updated_at":"2019-06-23T15:05:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"98af2cd0-9b19-4c9b-b97f-d553704bf47d","html_url":"https://github.com/antoncoding/substrate-message","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fsubstrate-message","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fsubstrate-message/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fsubstrate-message/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antoncoding%2Fsubstrate-message/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antoncoding","download_url":"https://codeload.github.com/antoncoding/substrate-message/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246853411,"owners_count":20844575,"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-10-06T06:06:55.952Z","updated_at":"2025-10-07T21:15:20.021Z","avatar_url":"https://github.com/antoncoding.png","language":"Rust","readme":"# substrate-message\n\nA new SRML-based Substrate node, ready for hacking.\n\n# Building\n\nInstall Rust:\n\n```bash\ncurl https://sh.rustup.rs -sSf | sh\n```\n\nInstall required tools:\n\n```bash\n./scripts/init.sh\n```\n\nBuild the WebAssembly binary:\n\n```bash\n./scripts/build.sh\n```\n\nBuild all native code:\n\n```bash\ncargo build\n```\n\n# Run\n\nYou can start a development chain with:\n\n```bash\ncargo run -- --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\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. Give each node a name and expose them so they are listed on the Polkadot [telemetry site](https://telemetry.polkadot.io/#/Local%20Testnet). You'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 `QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN`, 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/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN \\\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fsubstrate-message","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantoncoding%2Fsubstrate-message","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantoncoding%2Fsubstrate-message/lists"}