{"id":21177274,"url":"https://github.com/codechain-io/foundry-keystore-js","last_synced_at":"2025-10-05T08:58:42.784Z","repository":{"id":57241086,"uuid":"241332564","full_name":"CodeChain-io/foundry-keystore-js","owner":"CodeChain-io","description":"A private key management library for Foundry","archived":false,"fork":false,"pushed_at":"2020-03-06T06:14:16.000Z","size":167,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-22T15:06:28.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeChain-io.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}},"created_at":"2020-02-18T10:25:47.000Z","updated_at":"2023-08-16T06:14:37.000Z","dependencies_parsed_at":"2022-09-08T00:40:49.429Z","dependency_job_id":null,"html_url":"https://github.com/CodeChain-io/foundry-keystore-js","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeChain-io/foundry-keystore-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeChain-io%2Ffoundry-keystore-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeChain-io%2Ffoundry-keystore-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeChain-io%2Ffoundry-keystore-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeChain-io%2Ffoundry-keystore-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeChain-io","download_url":"https://codeload.github.com/CodeChain-io/foundry-keystore-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeChain-io%2Ffoundry-keystore-js/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265151163,"owners_count":23719118,"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-11-20T17:15:22.678Z","updated_at":"2025-10-05T08:58:37.753Z","avatar_url":"https://github.com/CodeChain-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Foundry keystore [![Build Status](https://travis-ci.org/CodeChain-io/foundry-keystore-js.svg?branch=master)](https://travis-ci.org/CodeChain-io/foundry-keystore-js)\n===================\n\nFoundry keystore is a private key management library. It saves Foundry's account address safely in a disk. If you want to manage Foundry keys using nodejs, you should use this.\n\nExample\n-----------\n\n```js\nvar CCKey = require('foundry-keystore');\n\nasync function example() {\n  const cckey = await CCKey.create();\n  const savedKeys = await cckey.keystore.getKeys();\n  console.dir(savedKeys);\n  await cckey.keystore.createKey({ passphrase: \"my password\" });\n  const savedKeys_ = await cckey.keystore.getKeys();\n  console.dir(savedKeys_);\n\n  await cckey.close();\n};\nexample();\n\n```\n\nHow your private key is saved\n-------------------\n\nWe use a JSON file to save an encrypted private key. You can find the file in `./keystore.db`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodechain-io%2Ffoundry-keystore-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodechain-io%2Ffoundry-keystore-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodechain-io%2Ffoundry-keystore-js/lists"}