{"id":20221230,"url":"https://github.com/bencalder/parity-sandbox","last_synced_at":"2026-05-13T20:34:05.887Z","repository":{"id":93309902,"uuid":"141335136","full_name":"bencalder/Parity-sandbox","owner":"bencalder","description":"Encrypting and decrypting messages with Parity","archived":false,"fork":false,"pushed_at":"2018-07-17T21:22:57.000Z","size":3221,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T12:15:22.673Z","etag":null,"topics":["ethereum","parity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/bencalder.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":"2018-07-17T19:37:14.000Z","updated_at":"2018-07-17T21:22:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac9393d6-02b6-47c7-86e3-d3d632073228","html_url":"https://github.com/bencalder/Parity-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bencalder/Parity-sandbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencalder%2FParity-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencalder%2FParity-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencalder%2FParity-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencalder%2FParity-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencalder","download_url":"https://codeload.github.com/bencalder/Parity-sandbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencalder%2FParity-sandbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32999471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"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":["ethereum","parity"],"created_at":"2024-11-14T06:52:30.561Z","updated_at":"2026-05-13T20:34:05.872Z","avatar_url":"https://github.com/bencalder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parity sandbox\n\n### Encrypting and decrypting messages with Parity\n\nThis script takes two string inputs (a password and a message) then makes calls to a Parity node to do the following:\n1. Generate a new mnemonic phrase\n2. Use the mnemonic phrase and password string to create a new account\n3. Add that account to the Parity node\n4. Encrypt the message string\n5. Unlock the account on the Parity node\n6. Decrypt the message string\n\n### Get Started\n\n`npm install`\n\n#### Install [Parity](https://github.com/paritytech/parity) locally and start it with this command \n`parity --light --jsonrpc-cors all --jsonrpc-apis=eth,personal,parity,parity_accounts`\n\n\n#### Use the following command to initiate the sequence of calls to Parity and view their results\n`node index.js launch '\u003cpassword\u003e' '\u003cmessage to encrypt\u003e'`\n\n\n#### Ex:\n`node index.js launch 'hunter2' 'Bens secret message'`\n\n#### Result:\n```\nGenerated new mnemonic: sternum dumping avenue math repacking halt scion jujitsu shopper habitual washtub recital\n\nGenerated new wallet: {\n\t\n\t\"secret\":\"0xb243fae0e84fdd0054fedd9ad3ea29bfb07904f3e2ded5d8578d0dd2bab4cbd5\",\n\t\n\t\"public\":\"0x947a8c1f2cd96dbb1ceb00502ce68c3f9121f34e4db4dadb8b489e7e7d3f21bc04e4e4139a9a5daa2f3bd686f040c0c047442dfa55005f74e25bd73d8b59b768\",\n\t\n\t\"address\":\"0x00d167c1231638103fc89fbb3c8f7b88c7a9d995\"\n}\n\nAdded new account: 0x00d167c1231638103fc89fbb3c8f7b88c7a9d995\n\nEncrypting message: Bens secret message\n\nEncrypted message: 0x042e1b6fb0af3925e1f4b28f2660ae6259395a3dbb46735f95d32ab947a6750b3f851dc03780d303494a6e534329fc67727cbd13aca353a45d2479b6d98cfff10d98104a84bfc2dd8beca34140d8a30eb929a7e7369333ed23924a4cb7113644a86fa58b3ce8f11a34015b0c151df7b07c363f245c32e99785845c2a6f17df3a29625828\n\nUnlocked account? true\n\nDecrypted message: Bens secret message\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencalder%2Fparity-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencalder%2Fparity-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencalder%2Fparity-sandbox/lists"}