{"id":29029263,"url":"https://github.com/aionnetwork/block_signer","last_synced_at":"2025-06-26T08:06:41.855Z","repository":{"id":56450800,"uuid":"218558517","full_name":"aionnetwork/block_signer","owner":"aionnetwork","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-06T16:00:32.000Z","size":38346,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-04-13T08:13:06.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/aionnetwork.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}},"created_at":"2019-10-30T15:23:13.000Z","updated_at":"2020-11-06T16:00:36.000Z","dependencies_parsed_at":"2022-08-15T19:00:46.777Z","dependency_job_id":null,"html_url":"https://github.com/aionnetwork/block_signer","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/aionnetwork/block_signer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Fblock_signer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Fblock_signer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Fblock_signer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Fblock_signer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aionnetwork","download_url":"https://codeload.github.com/aionnetwork/block_signer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aionnetwork%2Fblock_signer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262026977,"owners_count":23246955,"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":"2025-06-26T08:06:40.602Z","updated_at":"2025-06-26T08:06:41.843Z","avatar_url":"https://github.com/aionnetwork.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Block Signer\n\nThis is a block signer designed to be used with Aion's Unity Hybrid Consensus Protocol. The signer can be used to interact with a Unity-enabled node over RPC.\n\nThe signer is largely built on top of the RPC functionality provided by the [Node Test Harness](https://github.com/aionnetwork/node_test_harness \"Node Test Harness\").\n\n# Launching the signer\n\nThe signer can be used directly from the terminal either by passing in the arguments directly or by using a config file.\n\n\n### Option 1: Command line options\n\n**Usage:**\n\n`java -jar block_signer.jar \u003csigningAddressPrivateKey\u003e \u003cidentityAddress\u003e \u003cnetworkName\u003e \u003cip\u003e \u003cport\u003e \u003cverboseLoggingEnabled\u003e`\n\nThe signer takes the following arguments when launched:\n\n1. **(required)** the private key of the signing address of the registered staker. \n\n2. **(required)** the identity address of the staker. \n\n3. **(required)** the network name. Only `amity` and `mainnet` are supported. \n\n4. *(optional)* the IP address of a Unity-enabled node accepting RPC requests. If this argument isn't provided, `127.0.0.1` is used as default.\n\n5. *(optional)* the port on which this node is accepting RPC requests. If this argument isn't provided, `8545` is used as default.\n\n6. *(optional)* enable or disable verbose logging level. If this argument isn't provided, verbose logging is disabled by default. \nIf verbose logging is enabled, rpc request and response messages are printed.\n\n### Option 2: Config file\n**Usage:**\n\n`java -jar block_signer.jar -config \u003cconfigFilePath\u003e`\n\nThe signer takes the following argument when launched:\n - **(required)** path to the config file. \n \n\n---\nNote that `java -jar block_signer.jar -h` will print the usage options.\n\n# Behaviour\n\nOnce launched, the signer repeatedly queries the node over RPC, and submits signed staking blocks. Note that it aggressively sends a signed block as soon as it produces it; the nodes must reject future blocks if they want to.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionnetwork%2Fblock_signer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faionnetwork%2Fblock_signer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionnetwork%2Fblock_signer/lists"}