{"id":18433214,"url":"https://github.com/yutasugimura/ethereum-poa","last_synced_at":"2026-04-25T23:32:40.621Z","repository":{"id":113924593,"uuid":"253417614","full_name":"YutaSugimura/ethereum-poa","owner":"YutaSugimura","description":null,"archived":false,"fork":false,"pushed_at":"2020-04-06T06:59:08.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T09:28:43.141Z","etag":null,"topics":["ethereum","parity","poa-network"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/YutaSugimura.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":"2020-04-06T06:49:48.000Z","updated_at":"2020-05-09T15:57:35.000Z","dependencies_parsed_at":"2023-05-29T21:45:27.286Z","dependency_job_id":null,"html_url":"https://github.com/YutaSugimura/ethereum-poa","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/YutaSugimura%2Fethereum-poa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutaSugimura%2Fethereum-poa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutaSugimura%2Fethereum-poa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutaSugimura%2Fethereum-poa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YutaSugimura","download_url":"https://codeload.github.com/YutaSugimura/ethereum-poa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248812274,"owners_count":21165399,"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":["ethereum","parity","poa-network"],"created_at":"2024-11-06T05:32:22.772Z","updated_at":"2026-04-25T23:32:35.600Z","avatar_url":"https://github.com/YutaSugimura.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Document \n   Link: \n   https://wiki.parity.io/JSONRPC \n\n# Setup\n\n   1. update \n\n   ``` zsh \n      sudo apt update -y \u0026\u0026 sudo apt install vim -y \u0026\u0026 sudo apt upgrade -y \n   ``` \n\n   2. parity install \n\n   ``` zsh \n      bash \u003c(curl https://get.parity.io -L) -r stable\n   ``` \n\n   3. git clone \n\n   ``` zsh \n      git clone https://github.com/YutaSugimura/ethereum-poa-parity.git \n      mv ethereum-poa-parity Parity \u0026\u0026 cd Parity \n   ``` \n\n   4. parity start \n\n   ``` zsh \n      parity \n      # startしたらすぐにctl + cで終了 \n      # ~/.local/share/io.parity.ethereum が生成される \n   ``` \n\n   5. start config PoA \n\n   ``` zsh \n      parity --config ./config/config.toml\n   ``` \n\n   6. create Validator Accounts \n\n   ``` zsh \n      # 別window\n      curl --data '{\"jsonrpc\":\"2.0\",\"method\":\"parity_newAccountFromPhrase\",\"params\":[\"$MNEMONIC\", \"$PASSWORD\"],\"id\":0}' -H \"Content-Type: application/json\" -X POST localhost:8545\n   ``` \n\n   7. stop config PoA \n\n   ``` zsh \n      # ctl + c \n      # 停止させる\n   ``` \n\n   8. create password-file \n   \n   ``` zsh \n      cd \u0026\u0026 mkdir .safe \n      echo '$PASSWORD' \u003e\u003e .safe/validator.pwd \n   ``` \n\n   9. setting systemctl \n\n   ``` zsh \n      cd Parity \n      sudo cp parity.service /etc/systemd/system \n      sudo chmod +x /etc/systemd/system/parity.service \n      sudo systemctl enable parity \n   ``` \n\n   10. start PoA \n\n   ``` zsh \n      sudo systemctl start parity \n      sudo systemctl status parity \n   ``` \n\n   11. cofirm peer enode \n\n   ``` zsh \n      curl --data '{\"jsonrpc\":\"2.0\",\"method\":\"parity_enode\",\"params\":[],\"id\":0}' -H \"Content-Type: application/json\" -X POST localhost:8545 \n\n      # result {\"jsonrpc\":\"2.0\",\"result\":\"enode://d4af2ed1b929c7a7a10aa11ba54349cac61cd4fb1b3e7e8fb11ebaccdb3175489980125952d2514c25260b5dc611afb937cf72d40a133ec4fde5719834a67d71@171.11.11.11:30300\",\"id\":0}\n   ``` \n\n   12. connect peer \n\n   ``` zsh \n      # 他peer \n      curl --data '{\"jsonrpc\":\"2.0\",\"method\":\"parity_addReservedPeer\",\"params\":[\"ENODE://\"],\"id\":0}' -H \"Content-Type: application/json\" -X POST localhost:8545 \n   ``` \n\n   13. unlock Accounts \n\n   ``` zsh \n      curl --data '{\"jsonrpc\":\"2.0\",\"method\":\"parity_newAccountFromPhrase\",\"params\":[\"$MNEMONIC\", \"$PASSWORD\"],\"id\":0}' -H \"Content-Type: application/json\" -X POST localhost:8545 \n\n      or \n\n      curl --data '{\"method\":\"parity_newAccountFromSecret\",\"params\":[\"$PRIVATEKEY\",\"$PASSWORD\"],\"id\":1,\"jsonrpc\":\"2.0\"}' -H \"Content-Type: application/json\" -X POST localhost:8545 \n\n      # result {\"jsonrpc\":\"2.0\",\"result\":\"0x001060e5c7eef4c637fb46e2f389e1d14a447ea8\",\"id\":0}\n   ```\n\n\n# 接続 \n\n   ``` js \n      // get web3\n      const provider = new Web3.providers.HttpProvider(\n         \"http://ip-address:8545\"\n      );\n      const web3 = new Web3(provider);\n   ```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutasugimura%2Fethereum-poa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyutasugimura%2Fethereum-poa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutasugimura%2Fethereum-poa/lists"}